From a226d72e51eecb768b13600303f73483118d9104 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 10 Jun 2026 01:48:28 -0400 Subject: feat: implemented janky object interaction model --- data/mobs/guard.yaml | 18 ++++++++++++++++++ data/mobs/man.yaml | 5 ++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 data/mobs/guard.yaml (limited to 'data/mobs') diff --git a/data/mobs/guard.yaml b/data/mobs/guard.yaml new file mode 100644 index 0000000..3203ec1 --- /dev/null +++ b/data/mobs/guard.yaml @@ -0,0 +1,18 @@ +id: "guard" +name: "Guard" +description: "A stern-looking guard in weathered armor." +behavior: guard_talk +unique: true +protected: true +attack: 5 +strength: 5 +defense: 5 +hp: 30 +speed: 5 +aggressive: false +respawn_ticks: 60 +idle_descriptions: + - "scans the area with a watchful eye" + - "adjusts the grip on his weapon" + - "nods curtly at passersby" + - "leans against the gate, arms folded" diff --git a/data/mobs/man.yaml b/data/mobs/man.yaml index 79de657..30a3105 100644 --- a/data/mobs/man.yaml +++ b/data/mobs/man.yaml @@ -21,9 +21,8 @@ hp: 7 speed: 5 aggressive: false respawn_ticks: 30 -wander: 3 -wander_tick: 10 -wander_chance: 0.25 +wander_rooms: [1, 2, 3] +wander_interval: 10 drops: remains: "bones" loot: -- cgit v1.2.3