From 9edc568e16741d443b67fbd23b0d91790085ced9 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 9 Jun 2026 17:15:13 -0400 Subject: combat, mobs, parsing, toggles, hard disconnect handling --- data/mobs/man.yaml | 17 +++++++++++++++++ data/mobs/newbie_trainer.yaml | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 data/mobs/newbie_trainer.yaml (limited to 'data/mobs') diff --git a/data/mobs/man.yaml b/data/mobs/man.yaml index 074e1f9..79de657 100644 --- a/data/mobs/man.yaml +++ b/data/mobs/man.yaml @@ -1,5 +1,19 @@ id: "man" name: "man" +description: "A shabby-looking man loitering in the town square." +combat_descriptions: + - "is engaged in a fight to the death with %s" + - "is getting pummelled by %s" + - "is locked in combat with %s" + - "trades blows with %s" + - "circles warily around %s" +idle_descriptions: + - "scribbles something in a small notebook" + - "gazes skyward at the clouds" + - "leans against a wall, looking bored" + - "scratches his head thoughtfully" + - "stares off into the distance" + - "adjusts his tunic and stretches" attack: 1 strength: 1 defense: 1 @@ -7,6 +21,9 @@ hp: 7 speed: 5 aggressive: false respawn_ticks: 30 +wander: 3 +wander_tick: 10 +wander_chance: 0.25 drops: remains: "bones" loot: diff --git a/data/mobs/newbie_trainer.yaml b/data/mobs/newbie_trainer.yaml new file mode 100644 index 0000000..c518d42 --- /dev/null +++ b/data/mobs/newbie_trainer.yaml @@ -0,0 +1,20 @@ +id: "newbie_trainer" +name: "Newbie Trainer" +aliases: ["trainer", "newbie", "instructor"] +description: "A friendly-looking instructor ready to help new adventurers." +unique: true +protected: true +attack: 1 +strength: 1 +defense: 1 +hp: 50 +speed: 5 +aggressive: false +respawn_ticks: 30 +idle_descriptions: + - "reviews a training manual" + - "adjusts a practice dummy" + - "demonstrates a sword stance to no one in particular" + - "offers a friendly nod to passersby" + - "polishes a wooden shield" + - "checks a stopwatch and jots something down" -- cgit v1.2.3