{ "assemblages": { "portal": { "arguments": {"destination": null, "destpos": ""}, "components": [ ["RoomExit", {"destination": {"$arg": "destination"}, "dest_pos": {"$arg": "destpos"}}] ], "flags": ["Floor"] }, "_homeportal": { "arguments": {"allowed": []}, "extract": {"allowed": ["Whitelist", "allowed"]}, "components": [ ["RoomExit", {"destination": "_home+{player}", "dest_pos": ""}], ["Interactable", {"typ": "visit", "arg": "_home+{player}"}], ["Whitelist", {"allowed": {"$arg": "allowed"}}] ], "flags": ["Floor"] }, "builtwall": { "arguments": {"health": 100}, "components": [ ["Health", {"health": {"$arg": "health"}, "maxhealth": 100}], ["Loot", {"loot": [[{"$template": "stone"}, 1.0]]}] ], "sprite": "builtwall", "height": 2, "extract": {"health": ["Health", "health"]}, "flags": ["Blocking"] }, "spiketrap": { "components": [["Trap", {"damage": 8}]], "sprite": "spikes", "height": 0.8 }, "dummy": { "arguments": {"health": 20}, "sprite": "dummy", "height": 1, "components": [ ["Health", {"health": {"$arg": "health"}, "maxhealth": 20}] ] }, "wound": { "sprite": "wound", "height": 0.25, "components": [["Timer", {"delay": 3, "spread": 0.0, "trigger": "remove", "target_time": []}]], "save": false }, "spawner": { "arguments": {"template": null, "amount": 1, "delay": 0, "clan": "", "initial_spawn": true, "radius": 0}, "components": [ ["Timer", { "delay": {"$arg": "delay"}, "spread": 0.1, "trigger": "spawn", "target_time": {"$if": [{"$arg": "initial_spawn"}, 0, []]} }], ["Spawner", { "template": {"$arg": "template"}, "amount": {"$arg": "amount"}, "clan": {"$arg": "clan"}, "radius": {"$arg": "radius"} }] ] }, "singleton": { "arguments": {"ent": null, "clan": ""}, "components": [ ["Spawner", { "template": {"$arg": "ent"}, "amount": 1, "clan": {"$arg": "clan"}, "radius": 0 }], ["Timer", { "delay": 999999999, "spread": 0.0, "trigger": "spawn", "target_time": 0 }] ] }, "closeddoor": { "sprite": "closeddoor", "height": 2, "flags": ["Blocking"], "components": [ ["Interactable", {"typ": "trigger", "arg": "change"}], ["Build", {"obj": {"$template": "opendoor", "__save__": false}}] ] }, "opendoor": { "sprite": "opendoor", "height": 0.8, "flags": ["Occupied"], "components": [ ["Interactable", {"typ": "trigger", "arg": "change"}], ["Build", {"obj": {"$template": "closeddoor", "__save__": false}}] ] }, "sign": { "sprite": "sign", "height": 1, "flags": ["Occupied"], "components": [ ["Interactable", {"typ": "say", "arg": "Good morning there, World"}] ] }, "quarry": { "sprite": "quarry", "height": 2, "components": [ ["Interactable", {"typ": "mine", "arg": "mining"}], ["Minable", {"total": 20, "trigger": "loot"}], ["Loot", {"loot": [[{"$template": "stone"}, 1.0]]}] ] }, "spinningwheel": { "sprite": "spinningwheel", "height": 1.0, "components": [ ["Interactable", {"typ": "exchange", "arg": ["spin ", [ ["cotton yarn", ["cotton", "cotton"], ["cottonyarn"]] ]]}] ] }, "loom": { "sprite": "loom", "height": 1.0, "components": [ ["Interactable", {"typ": "exchange", "arg": ["weave ", [ ["cotton cloth", ["cottonyarn", "cottonyarn", "cottonyarn", "cottonyarn", "cottonyarn"], ["cottoncloth"]] ]]}] ] }, "sewingtable": { "sprite": "sewingtable", "height": 1.0, "components": [ ["Interactable", {"typ": "exchange", "arg": ["sew ", [ ["cape", ["cottoncloth", "cottoncloth", "cottoncloth", "cottonyarn", "cottonyarn"], ["cape"]] ]]}] ] }, "tub": { "sprite": "tub", "height": 1.0, "components": [ ["Interactable", {"typ": "exchange", "arg": ["dye ", [ ["red cape", ["cape", "reddye"], ["redcape"]], ["green cape", ["cape", "greendye"], ["greencape"]], ["blue cape", ["cape", "bluedye"], ["bluecape"]] ]]}] ] }, "densegrass": { "sprite": "densegrass", "height": 0.5, "components": [ ["Interactable", {"typ": "mine", "arg": "gathering"}], ["Minable", {"total": 1, "trigger": "die"}], ["Loot", {"loot": [ [{"$template": "radishseed"}, 0.3], [{"$template": "carrotseed"}, 0.1], [{"$template": "cottonseed"}, 0.04] ]}], ["Requirements", {"required_flags": ["Floor", "Soil"], "blocking_flags": ["Occupied", "Blocking"]}] ] } }, "items": { "pebble": {}, "stone": {"action": {"build": ["builtwall", ["Floor", "Build"], ["Blocking"]]}}, "sword": {"action": {"equip": { "slot": "hand", "stats": {"strength": 5} }}}, "eldritch_sword": { "sprite": "sword", "name": "eldritch sword", "action": {"equip": { "slot": "hand", "stats": {"strength": 500} }} }, "club": {"action": {"equip": { "slot": "hand", "stats": {"strength": 3} }}}, "armour": { "sprite": "armour", "action": {"equip": { "slot": "body", "stats": {"defence": 3} }} }, "pickaxe": { "sprite": "sword", "action": {"equip": { "slot": "hand", "stats": {"mining": 5} }} }, "reddye": {"sprite": "bag"}, "greendye": {"sprite": "bag"}, "bluedye": {"sprite": "bag"}, "cape": { "sprite": "armour", "action": {"equip": { "slot": "back", "stats": {}, "sprite": "grayplayer" }} }, "redcape": { "sprite": "armour", "action": {"equip": { "slot": "back", "stats": {}, "sprite": "redplayer" }} }, "greencape": { "sprite": "armour", "action": {"equip": { "slot": "back", "stats": {}, "sprite": "greenplayer" }} }, "bluecape": { "sprite": "armour", "action": {"equip": { "slot": "back", "stats": {}, "sprite": "blueplayer" }} } }, "templates": { "homeportal": ["singleton", {"ent": {":template": "_homeportal"}}] } }