diff options
Diffstat (limited to 'data/objects')
| -rw-r--r-- | data/objects/000_test_object.yaml | 20 | ||||
| -rw-r--r-- | data/objects/anvil.yaml | 20 | ||||
| -rw-r--r-- | data/objects/aps_tower.yaml | 14 | ||||
| -rw-r--r-- | data/objects/iron_gate.yaml | 22 | ||||
| -rw-r--r-- | data/objects/tutorial_lever.yaml | 44 |
5 files changed, 67 insertions, 53 deletions
diff --git a/data/objects/000_test_object.yaml b/data/objects/000_test_object.yaml index e465048..2f1ed41 100644 --- a/data/objects/000_test_object.yaml +++ b/data/objects/000_test_object.yaml @@ -1,28 +1,28 @@ color: C4 -description: -- text: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin. +description: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin. gather: - bait: "" - depleted_message: "" - exhausted_message: "" - fail_message: "" - gather_message: "" - respawn_broadcast: "" skill: mining success: base: 0 cap: 1 per_level: 0 tools: - - axe + - axe hidden: false id: 000_test_object name: 000 test object +on_use: + - action: + messages: + - delay: 5 + message: asdfdfs + - delay: 3 + message: sadfdfsadfs safespot: decay_chance: 0 decay_ticks: 0 - max_block_size: "" max_occupants: 1 + respawn_on_hide: false respawn_ticks: 0 tier: 1 unsafe_chance: 0 diff --git a/data/objects/anvil.yaml b/data/objects/anvil.yaml index 4c8bc40..efcb8f2 100644 --- a/data/objects/anvil.yaml +++ b/data/objects/anvil.yaml @@ -1,9 +1,15 @@ -name: anvil -color: "FA" +color: FA description: - - text: "A heavy iron anvil for hammering metal into shape." + - text: A heavy iron anvil for hammering metal into shape. +name: anvil on_use: - - item_id: silver_bar - message: "You should use this with a mold at a furnace." - - item_id: gold_bar - message: "You should use this with a mold at a furnace." + - action: + messages: + - delay: 0 + message: You should use this with a mold at a furnace. + item_id: silver_bar + - action: + messages: + - delay: 0 + message: You should use this with a mold at a furnace. + item_id: gold_bar diff --git a/data/objects/aps_tower.yaml b/data/objects/aps_tower.yaml index 7919a5b..4b54d9d 100644 --- a/data/objects/aps_tower.yaml +++ b/data/objects/aps_tower.yaml @@ -1,9 +1,11 @@ -name: APS Tower color: "21" description: - - text: "A tall, skeletal metal tower with a pulsing cyan beacon at its apex. A datapad sync panel glows softly at the base." -inroom_description: "An APS Tower looms here, its beacon pulsing steadily." + - text: A tall, skeletal metal tower with a pulsing cyan beacon at its apex. A datapad sync panel glows softly at the base. +inroom_description: An APS Tower looms here, its beacon pulsing steadily. +name: APS Tower on_use: - - message: "You connect your datapad to the APS Tower. Coordinates triangulated and stored." - action: - aps_node: true + - action: + aps_node: true + messages: + - delay: 0 + message: You connect your datapad to the APS Tower. Coordinates triangulated and stored. diff --git a/data/objects/iron_gate.yaml b/data/objects/iron_gate.yaml index 5d6d53e..c61eebd 100644 --- a/data/objects/iron_gate.yaml +++ b/data/objects/iron_gate.yaml @@ -1,14 +1,16 @@ -color: "FA" +color: FA description: -- text: A heavy iron gate. It looks like it can be pushed open. + - text: A heavy iron gate. It looks like it can be pushed open. hidden: true name: iron gate on_use: -- condition: - global_flag: gate_open - not: true - value: true - message: You push the heavy iron gate open. - action: - set_global_flags: - gate_open: true + - action: + messages: + - delay: 0 + message: You push the heavy iron gate open. + set_global_flags: + gate_open: true + condition: + global_flag: gate_open + not: true + value: true diff --git a/data/objects/tutorial_lever.yaml b/data/objects/tutorial_lever.yaml index 9c105ba..371e70b 100644 --- a/data/objects/tutorial_lever.yaml +++ b/data/objects/tutorial_lever.yaml @@ -1,22 +1,26 @@ -name: stone lever -color: "FA" -hidden: true -inroom_description: "A stone lever protrudes from the base of the rock formation." +color: FA description: - - text: "A weathered stone lever set into a metal bracket. It looks like it can be pulled." + - text: A weathered stone lever set into a metal bracket. It looks like it can be pulled. +hidden: true +inroom_description: A stone lever protrudes from the base of the rock formation. +name: stone lever on_use: - - condition: - player_flag: unlocked_rock_cover - value: 1 - not: true - message: "You pull the stone lever down. A mechanism clicks into place somewhere in the glade." - action: - set_player_flags: - unlocked_rock_cover: 1 - - condition: - player_flag: unlocked_rock_cover - value: 1 - message: "You push the stone lever back up. The mechanism disengages with a soft clunk." - action: - set_player_flags: - unlocked_rock_cover: 0 + - action: + messages: + - delay: 0 + message: You pull the stone lever down. A mechanism clicks into place somewhere in the glade. + set_player_flags: + unlocked_rock_cover: 1 + condition: + not: true + player_flag: unlocked_rock_cover + value: 1 + - action: + messages: + - delay: 0 + message: You push the stone lever back up. The mechanism disengages with a soft clunk. + set_player_flags: + unlocked_rock_cover: 0 + condition: + player_flag: unlocked_rock_cover + value: 1 |
