From 1a8b2cb467a5e4370bdb34d794558b74dd98be82 Mon Sep 17 00:00:00 2001 From: David Gay Date: Fri, 28 May 2021 11:35:45 -0400 Subject: Have locked items become unlocked items which you then open --- data/activities.yml | 19 ++++++++++++++++--- data/items.yml | 7 +++++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/data/activities.yml b/data/activities.yml index df93c62..33404b7 100644 --- a/data/activities.yml +++ b/data/activities.yml @@ -543,6 +543,22 @@ synthsever_rusted_lockbox: cost: - type: "item" gid: "rusted_lockbox" + results: + - type: "item" + gid: "unlocked_rusted_lockbox" + - type: "xp" + gid: "synthsever" + base: 25 +open_unlocked_rusted_lockbox: + name: "Open Unlocked Rusted Lockbox" + description: "Open an unlocked rusted lockbox." + innate: true + whatnot: + duration: + base: 5 + cost: + - type: "item" + gid: "unlocked_rusted_lockbox" results: - type: "item" chance: 1 @@ -569,6 +585,3 @@ synthsever_rusted_lockbox: score: 0.90 - gid: "granite_ring" score: 0.95 - - type: "xp" - gid: "synthsever" - base: 25 diff --git a/data/items.yml b/data/items.yml index 1e48293..4e8972b 100644 --- a/data/items.yml +++ b/data/items.yml @@ -142,6 +142,13 @@ rusted_lockbox: use_effects: - type: "activity" gid: "synthsever_rusted_lockbox" +unlocked_rusted_lockbox: + name: "unlocked rusted lockbox" + description: "A small, rusty, metal box that has been unlocked." + whatnot: + use_effects: + - type: "activity" + gid: "open_unlocked_rusted_lockbox" warm_diadem: name: "warm diadem" description: "A thin, blood-colored circlet giving off a faint warmth." -- cgit v1.2.3