From c55d0e4150b23f2c5c9f96bbc3d4dc2fc6dbaa36 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 19:37:20 -0400 Subject: feat: yaml conversation trees more robust --- data/mobs/examples/solar_panel_frame.yaml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 data/mobs/examples/solar_panel_frame.yaml (limited to 'data/mobs/examples/solar_panel_frame.yaml') diff --git a/data/mobs/examples/solar_panel_frame.yaml b/data/mobs/examples/solar_panel_frame.yaml new file mode 100644 index 0000000..90269f2 --- /dev/null +++ b/data/mobs/examples/solar_panel_frame.yaml @@ -0,0 +1,33 @@ +name: solar panel frame +description: "A half-assembled photovoltaic array on a steel frame. Panels, brackets and cabling are laid out, waiting to be fitted. This is work, not a fight — fix the panels into place to complete the array." +kind: task +verb: assemble +progress_noun: assembly +complete_message: "You bolt the final panel into place and the solar array hums to life!" +hp: 40 +defense: 10 +speed: 5 +aggressive: false +respawn_ticks: 40 +attack_type: crush +crush_defense: 0 +stab_defense: 40 +slash_defense: 40 +ranged_defense: 10 +science_defense: 10 +idle_descriptions: + - "stands half-assembled, panels waiting to be fitted" + - "has loose cabling dangling from an open junction box" + - "catches the light on its few mounted panels" +size: medium +drops: + loot: + - item_id: credits + weight: 70 + quantity: 40 + - item_id: credits + weight: 25 + quantity: 90 + - item_id: coal + weight: 5 + quantity: 1 -- cgit v1.2.3