{ "assemblages": { "wall": { "sprite": "wall", "height": 2, "flags": ["Blocking"] }, "rock": { "sprite": "rock", "height": 10, "flags": ["Blocking"] }, "tree": { "sprite": "tree", "height": 3, "flags": ["Blocking"] }, "fence": { "sprite": "fence", "height": 1, "flags": ["Blocking"] }, "grass": { "components": [ ["Visible", { "sprite": ["random", [ ["string", "grass1"], ["string", "grass2"], ["string", "grass3"], ["string", "grass1"], ["string", "grass2"], ["string", "grass3"], ["string", "ground"] ]], "height": ["float", 0.1], "name": ["string", "grass"] }] ], "flags": ["Floor", "Soil"] }, "greengrass": { "components": [ ["Visible", { "sprite": ["random", [ ["string", "grass1"], ["string", "grass2"], ["string", "grass3"] ]], "height": ["float", 0.1], "name": ["string", "grass"] }] ], "flags": ["Floor", "Soil"] }, "ground": { "sprite": "ground", "height": 0.1, "flags": ["Floor", "Soil"] }, "floor": { "sprite": "floor", "height": 0.1, "flags": ["Floor"] }, "bridge": { "sprite": "bridge", "height": 0.1, "flags": ["Floor"] }, "water": { "components": [], "sprite": "water", "height": 0.1 }, "portal": { "arguments": [["destination", "string"], ["dest_pos", "string", ""]], "components": [ ["RoomExit", {"destination": ["arg", "destination"], "dest_pos": ["arg", "dest_pos"]}] ], "flags": ["Floor"] }, "builtwall": { "arguments": [["health", "int", 100]], "components": [ ["Health", {"health": ["arg", "health"], "maxhealth": ["int", 100]}], "Mortal" ], "sprite": "wall", "height": 2, "extract": {"health": ["Health", "health"]}, "flags": ["Blocking"] }, "spiketrap": { "components": [["Trap", {"damage": ["int", 8]}]], "sprite": "spikes", "height": 0.8 }, "dummy": { "arguments": [["health", "int", 20]], "sprite": "dummy", "height": 1, "components": [ ["Health", {"health": ["arg", "health"], "maxhealth": ["int", 20]}], "Mortal" ] }, "wound": { "sprite": "wound", "height": 0.25, "components": [["Volatile", {"delay": ["int", 4]}]], "save": false }, "rat": { "sprite": "rat", "height": 1, "components": [ ["MonsterAI", { "view_distance": ["int", 3], "move_chance": ["float", 0.08], "homesickness": ["float", 0.1] }], ["Health", {"health": ["int", 8], "maxhealth": ["int", 8]}], ["Fighter", {"damage": ["int", 2], "cooldown": ["int", 6]}], ["Movable", {"cooldown": ["int", 3]}], "Mortal", ["Faction", {"faction": ["string", "evil"]}] ] }, "spawner": { "arguments": [["template", "template"], ["amount", "int", 1], ["delay", "int", 0], ["clan", "string", ""], ["initial_spawn", "bool", true]], "components": [ ["Spawner", { "template": ["arg", "template"], "amount": ["arg", "amount"], "delay": ["arg", "delay"], "clan": ["arg", "clan"], "initial_spawn": ["arg", "initial_spawn"] }] ] }, "letter": { "arguments": [["char", "string"]], "components": [["Visible", { "name": ["concat", [["string", "letter_"], ["arg", "char"]]], "sprite": ["concat", [["string", "emptyletter-"], ["arg", "char"]]], "height": ["float", 1.0] }]] }, "radishplant": { "sprite": "smallplant", "name": "radishplant", "height": 0.5, "components": [ ["Interactable", {"action": ["interaction", "harvest"]}], "Mortal", ["Loot", {"loot": ["list", [ ["list", [{"type": "radishseed"}, 0.92]], ["list", [{"type": "radishseed"}, 0.20]], ["list", [{"type": "radish"}, 0.8]], ["list", [{"type": "radish"}, 0.4]] ]]}] ], "flags": ["Occupied"] }, "plantedradishseed": { "arguments": [["target_time", "int", 0]], "sprite": "seed", "height": 0.05, "name": "seed", "components": [ ["Grow", { "delay": ["int", 600], "target_time": ["arg", "target_time"], "into": ["template", "radishseedling"] }] ], "extract": { "target_time": ["Grow", "target_time"] }, "flags": ["Occupied"] }, "radishseedling": { "arguments": [["target_time", "int", 0]], "sprite": "seedling", "height": 0.05, "name": "seedling", "components": [ ["Grow", { "delay": ["int", 600], "target_time": ["arg", "target_time"], "into": ["template", "radishplant"] }] ], "extract": { "target_time": ["Grow", "target_time"] }, "flags": ["Occupied"] }, "closeddoor": { "sprite": "closeddoor", "height": 2, "flags": ["Blocking"], "components": [ ["Interactable", {"action": ["interaction", ["change", {"type": "opendoor", "save": false}]]}] ] }, "opendoor": { "sprite": "opendoor", "height": 0.8, "flags": ["Occupied"], "components": [ ["Interactable", {"action": ["interaction", ["change", {"type": "closeddoor", "save": false}]]}] ] }, "sign": { "sprite": "sign", "height": 1, "flags": ["Occupied"], "components": [ ["Interactable", {"action": ["interaction", ["say", "Good morning there, World"]]}] ] }, "dude": { "sprite": "human", "height": 1.5, "flags": ["Occupied"], "components": [ ["Interactable", {"action": ["interaction", ["reply", "did you say '{}'?"]]}] ] } }, "items": { "pebble": {}, "stone": {"action": ["build", ["builtwall", ["Floor"], ["Blocking"]]]}, "radishseed": {"action": ["build", ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]]}, "radish": {"action": ["eat", 3]}, "sword": {"action": ["equip", { "slot": "hand", "stats": {"strength": 50} }]} } }