From e6b4cb9f5816c6ee239233bc85f74ee446a161c2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 16:37:45 -0400 Subject: feat: shop system overhauled, gui conversation tree editor overhauled --- data/mobs/examples/tanner.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'data/mobs/examples/tanner.yaml') diff --git a/data/mobs/examples/tanner.yaml b/data/mobs/examples/tanner.yaml index 2e5d89a..4c1f38b 100644 --- a/data/mobs/examples/tanner.yaml +++ b/data/mobs/examples/tanner.yaml @@ -22,7 +22,8 @@ strength: 1 talk: nodes: start: - message: '"Bring me some cowhides and I''ll tan them for you. Leather is 10 credits, hard leather is 50."' + messages: + - '"Bring me some cowhides and I''ll tan them for you. Leather is 10 credits, hard leather is 50."' options: - condition: all_of: @@ -39,10 +40,11 @@ talk: - text: '"Never mind."' tan_hard_leather: action: - cost: 50 + credits: -50 give_item: hard_leather take_item: cowhide - message: The tanner takes your cowhide and subjects it to an intense curing process. "Here's your hard leather." + messages: + - The tanner takes your cowhide and subjects it to an intense curing process. "Here's your hard leather." options: - condition: has_item: cowhide @@ -51,10 +53,11 @@ talk: - text: '"Thanks."' tan_leather: action: - cost: 10 + credits: -10 give_item: leather take_item: cowhide - message: The tanner takes your cowhide and works it skillfully. "Here's your leather." + messages: + - The tanner takes your cowhide and works it skillfully. "Here's your leather." options: - condition: has_item: cowhide -- cgit v1.2.3