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/scrap_bot.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 data/mobs/examples/scrap_bot.yaml (limited to 'data/mobs/examples/scrap_bot.yaml') diff --git a/data/mobs/examples/scrap_bot.yaml b/data/mobs/examples/scrap_bot.yaml new file mode 100644 index 0000000..a8b34d8 --- /dev/null +++ b/data/mobs/examples/scrap_bot.yaml @@ -0,0 +1,39 @@ +name: scrap bot +description: "A malfunctioning maintenance robot that has gone rogue. Its chassis is covered in dents and rust, and one optical sensor flickers erratically." +attack: 15 +strength: 15 +defense: 14 +hp: 30 +speed: 5 +aggressive: true +respawn_ticks: 30 +attack_type: crush +attack_bonus: 10 +strength_bonus: 8 +stab_defense: 20 +slash_defense: 15 +crush_defense: 25 +science_defense: -5 +ranged_defense: 10 +idle_descriptions: + - "beeps erratically and twitches" + - "bumps into a wall and reverses" + - "emits a burst of static" + - "scans the floor with a flickering beam" +combat_descriptions: + - "rams %s with its chassis" + - "swings a broken manipulator arm at %s" + - "discharges a spark at %s" +size: medium +drops: + remains: scrap + loot: + - item_id: credits + weight: 60 + quantity: 40 + - item_id: scrap + weight: 30 + quantity: 2 + - item_id: credits + weight: 10 + quantity: 100 -- cgit v1.2.3