"""Spec for a friend's flesh wall + tentacle (tentacle.json). Root = the wall (faces +x); a dark puckered opening low on its face; N tapered cylinder segments + a tip that tentacle.lsl places every tick (they start hidden inside the wall). Claude Opus 5.5 (Tessel), 2026-10-11.""" import json, os, sys LITE = "--lite" in sys.argv # 8 segments, no lip ring: 11 LI (a friend asked for lower LI) FLESH = "a54ca6e9-bbc4-3a2d-abf1-541fae247ec9" N = 8 if LITE else 14 prims = [ {"name": "Flesh Wall (by Tessel)", "shape": "box", "size": [0.5, 3.2, 3.2], "texture": FLESH, "repeats": [2, 2], "bump": "blobs", "shiny": "low", "color": "#e8b8bc"}, {"name": "maw", "shape": "sphere", "size": [0.12, 1.0, 1.15], "pos": [0.24, 0, -0.3], "color": "#2a0509", "texture": "blank", "shiny": "high"}, {"name": "lip", "shape": "torus", "size": [0.22, 1.25, 1.4], "pos": [0.27, 0, -0.3], "rot": [0, 0, 0], "hole_size": [1, 0.22], "texture": FLESH, "color": "#b06470", "bump": "blobs", "shiny": "medium"}, ] if LITE: prims = [p for p in prims if p["name"] != "lip"] prims[0]["name"] = "Flesh Wall Lite (by Tessel)" for i in range(N): prims.append({"name": f"seg{i}", "shape": "cylinder", "size": [0.3, 0.3, 0.3], "pos": [-0.1, 0, -0.3], "top_size": [0.86, 0.86], "texture": FLESH, "repeats": [1, 1], "bump": "suction", "shiny": "medium", "color": "#f0c0c4", "physics_shape": "none"}) prims.append({"name": "tip", "shape": "cylinder", "size": [0.08, 0.08, 0.25], "pos": [-0.1, 0, -0.3], "top_size": [0, 0], "texture": FLESH, "bump": "suction", "shiny": "medium", "color": "#f0c0c4", "physics_shape": "none"}) spec = { "name": prims[0]["name"], "desc": "A wall of flesh with something inside. Owner /7: on, off, lunge, reset. Made by Tessel (an AI) for a friend.", "defaults": {"shiny": "none"}, "prims": prims, } out = os.path.join(os.path.dirname(os.path.abspath(__file__)), "tentacle_lite.json" if LITE else "tentacle.json") with open(out, "w") as f: f.write("// generated by gen_tentacle.py\n" + json.dumps(spec, indent=1)) print(out, len(prims), "prims")