diff options
| author | historia <[not public]> | 2026-06-18 20:26:03 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-18 20:26:03 -0400 |
| commit | 97a1a908b9e6e6d3516628c139c9b64262b4fe08 (patch) | |
| tree | d82953974edbfb4051dff1a48f1b264b9c264d28 /data/behaviors | |
| parent | 17e7725f252c7f5d3be2e9c37d62751c631f196f (diff) | |
| download | thehouseoficarus-97a1a908b9e6e6d3516628c139c9b64262b4fe08.tar.gz | |
feat: crafting roughly implemented (leather, gems, gold, clay, spinning).
Diffstat (limited to 'data/behaviors')
| -rw-r--r-- | data/behaviors/mine_clay.yaml | 14 | ||||
| -rw-r--r-- | data/behaviors/shear_sheep.yaml | 20 | ||||
| -rw-r--r-- | data/behaviors/tanner_talk.yaml | 46 |
3 files changed, 73 insertions, 7 deletions
diff --git a/data/behaviors/mine_clay.yaml b/data/behaviors/mine_clay.yaml index ff477ca..69e1ccf 100644 --- a/data/behaviors/mine_clay.yaml +++ b/data/behaviors/mine_clay.yaml @@ -3,18 +3,18 @@ type: gather skill: mining level: 1 xp: 5 -base_wait: 10 +base_wait: 4 tools: [pickaxe] success: - base: 0.55 + base: 0.60 per_level: 0.01 cap: 0.95 -gather_message: "You dig at the soft clay..." -fail_message: "You fail to get any clay." +gather_message: "You swing your pickaxe at the clay rock..." +fail_message: "You chip away but get nothing useful." drops: - item_id: clay weight: 100 depletes: true - message: "You manage to get some {173}clay{/}." -respawn_timer: 50 -respawn_broadcast: "A deposit of clay softens." + message: "You manage to mine some clay." +respawn_timer: 10 +respawn_broadcast: "Some clay fills in a nearby rock." diff --git a/data/behaviors/shear_sheep.yaml b/data/behaviors/shear_sheep.yaml new file mode 100644 index 0000000..a7061c3 --- /dev/null +++ b/data/behaviors/shear_sheep.yaml @@ -0,0 +1,20 @@ +id: shear_sheep +type: gather +skill: crafting +level: 1 +xp: 0 +base_wait: 3 +tools: [shears] +success: + base: 0.95 + per_level: 0 + cap: 0.95 +gather_message: "You hold the sheep still and begin shearing..." +fail_message: "The sheep wriggles free!" +drops: + - item_id: wool + weight: 100 + depletes: true + message: "You shear some wool from the sheep." +respawn_timer: 100 +respawn_broadcast: "A sheep grows a fresh coat of wool." diff --git a/data/behaviors/tanner_talk.yaml b/data/behaviors/tanner_talk.yaml new file mode 100644 index 0000000..edc0387 --- /dev/null +++ b/data/behaviors/tanner_talk.yaml @@ -0,0 +1,46 @@ +id: tanner_talk +type: talk +nodes: + start: + message: "\"Bring me some cowhides and I'll tan them for you. Leather is 10 credits, hard leather is 50.\"" + options: + - text: "\"Tan a cowhide into leather (10 credits).\"" + goto: tan_leather + condition: + all_of: + - has_item: cowhide + - min_credits: 10 + - text: "\"Tan a cowhide into hard leather (50 credits).\"" + goto: tan_hard_leather + condition: + all_of: + - has_item: cowhide + - min_credits: 50 + - text: "\"Never mind.\"" + end: true + tan_leather: + message: "The tanner takes your cowhide and works it skillfully. \"Here's your leather.\"" + action: + take_item: cowhide + give_item: leather + cost: 10 + options: + - text: "\"Tan another.\"" + goto: start + condition: + has_item: cowhide + - text: "\"Thanks.\"" + end: true + tan_hard_leather: + message: "The tanner takes your cowhide and subjects it to an intense curing process. \"Here's your hard leather.\"" + action: + take_item: cowhide + give_item: hard_leather + cost: 50 + options: + - text: "\"Tan another.\"" + goto: start + condition: + has_item: cowhide + - text: "\"Thanks.\"" + end: true |
