From fee376102192dc6f24297a7b11324636ace3a07d Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 30 Jun 2026 19:27:37 -0400 Subject: feat: admin gui object CRUD is much nicer --- data/objects/adamantite_rock.yaml | 5 ++- data/objects/anglerfish_spot.yaml | 2 -- data/objects/bait_fishing_spot.yaml | 2 -- data/objects/cage_fishing_spot.yaml | 2 -- data/objects/clay_rock.yaml | 5 ++- data/objects/coal_rock.yaml | 5 ++- data/objects/copper_rock.yaml | 65 +++++++++++++++++++++------------- data/objects/fly_fishing_spot.yaml | 2 -- data/objects/gold_rock.yaml | 5 ++- data/objects/harpoon_fishing_spot.yaml | 2 -- data/objects/iron_rock.yaml | 5 ++- data/objects/magic_tree.yaml | 5 ++- data/objects/mahogany_tree.yaml | 5 ++- data/objects/maple_tree.yaml | 5 ++- data/objects/mithril_rock.yaml | 5 ++- data/objects/net_fishing_spot.yaml | 2 -- data/objects/oak_tree.yaml | 5 ++- data/objects/redwood_tree.yaml | 5 ++- data/objects/runite_rock.yaml | 5 ++- data/objects/sacred_eel_spot.yaml | 2 -- data/objects/scrap_pile.yaml | 5 ++- data/objects/sheep.yaml | 5 ++- data/objects/silver_rock.yaml | 5 ++- data/objects/swamp_fishing_spot.yaml | 2 -- data/objects/teak_tree.yaml | 5 ++- data/objects/tin_rock.yaml | 5 ++- data/objects/tree.yaml | 5 ++- data/objects/willow_tree.yaml | 5 ++- data/objects/yew_tree.yaml | 5 ++- 29 files changed, 80 insertions(+), 101 deletions(-) (limited to 'data/objects') diff --git a/data/objects/adamantite_rock.yaml b/data/objects/adamantite_rock.yaml index 75f898e..6fa88b8 100644 --- a/data/objects/adamantite_rock.yaml +++ b/data/objects/adamantite_rock.yaml @@ -1,14 +1,14 @@ color: "78" gather: - base_wait: 10 drops: - depletes: true item_id: adamantite_ore + level: 70 message: You manage to mine some {78}adamantite ore{/}. weight: 100 + xp: 95 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the adamantite rock... - level: 70 respawn_broadcast: A green glint of adamantite catches your eye from some {name}. respawn_timer: 140 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 95 name: adamantite rock diff --git a/data/objects/anglerfish_spot.yaml b/data/objects/anglerfish_spot.yaml index 5201828..def90ea 100644 --- a/data/objects/anglerfish_spot.yaml +++ b/data/objects/anglerfish_spot.yaml @@ -2,7 +2,6 @@ color: "51" description: A faint glow emanates from the depths. Use a fishing rod with bait here. gather: bait: fishing_bait - base_wait: 6 drops: - item_id: raw_anglerfish level: 82 @@ -11,7 +10,6 @@ gather: xp: 120 fail_message: Nothing seems to bite. gather_message: You cast your line into the deep water... - level: 1 skill: fishing success: base: 0.3 diff --git a/data/objects/bait_fishing_spot.yaml b/data/objects/bait_fishing_spot.yaml index 1e965bb..f687016 100644 --- a/data/objects/bait_fishing_spot.yaml +++ b/data/objects/bait_fishing_spot.yaml @@ -2,7 +2,6 @@ color: "4B" description: Small fish ripple the surface. Use a fishing rod with bait here. gather: bait: fishing_bait - base_wait: 5 drops: - item_id: raw_sardine level: 5 @@ -21,7 +20,6 @@ gather: xp: 60 fail_message: Nothing seems to bite. gather_message: You cast your line into the water... - level: 1 skill: fishing success: base: 0.5 diff --git a/data/objects/cage_fishing_spot.yaml b/data/objects/cage_fishing_spot.yaml index 6da5c4a..051f1aa 100644 --- a/data/objects/cage_fishing_spot.yaml +++ b/data/objects/cage_fishing_spot.yaml @@ -1,7 +1,6 @@ color: "4B" description: A rocky underwater shelf. Use a lobster pot here. gather: - base_wait: 6 drops: - item_id: raw_lobster level: 40 @@ -10,7 +9,6 @@ gather: xp: 90 fail_message: The pot comes up empty. gather_message: You lower your lobster pot into the water... - level: 1 skill: fishing success: base: 0.45 diff --git a/data/objects/clay_rock.yaml b/data/objects/clay_rock.yaml index 81b072e..2bf4169 100644 --- a/data/objects/clay_rock.yaml +++ b/data/objects/clay_rock.yaml @@ -1,15 +1,15 @@ color: "AD" description: A soft rock of clay. gather: - base_wait: 4 drops: - depletes: true item_id: clay + level: 1 message: You manage to mine some clay. weight: 100 + xp: 5 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the clay rock... - level: 1 respawn_broadcast: Some clay fills in a nearby rock. respawn_timer: 10 skill: mining @@ -19,5 +19,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 5 name: clay rock diff --git a/data/objects/coal_rock.yaml b/data/objects/coal_rock.yaml index c22b2f7..40bf4d6 100644 --- a/data/objects/coal_rock.yaml +++ b/data/objects/coal_rock.yaml @@ -1,14 +1,14 @@ color: "F0" gather: - base_wait: 10 drops: - depletes: true item_id: coal + level: 30 message: You manage to mine some {F0}coal{/}. weight: 100 + xp: 50 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the coal rock... - level: 30 respawn_broadcast: A dark vein of coal is visible in some {name}. respawn_timer: 80 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 50 name: coal rock diff --git a/data/objects/copper_rock.yaml b/data/objects/copper_rock.yaml index de305e6..9694d1f 100644 --- a/data/objects/copper_rock.yaml +++ b/data/objects/copper_rock.yaml @@ -1,27 +1,42 @@ -color: "B2" +aliases: [] +color: B2 +description: "" gather: - base_wait: 10 - depleted_message: You don't see any ore in this rock. - drops: - - depletes: true - item_id: copper_ore - message: You manage to mine some {B2}copper ore{/}. - weight: 90 - - depletes: false - message: You spot a glint of something valuable! - table: gem_table - weight: 10 - fail_message: You chip away but get nothing useful. - gather_message: You swing your pickaxe at the rock... - level: 1 - respawn_broadcast: A glint of copper catches your eye from some {name}. - respawn_timer: 50 - skill: mining - success: - base: 0.5 - cap: 0.95 - per_level: 0.01 - tools: - - pickaxe - xp: 17 + bait: "" + deplete_timer: 0 + depleted_message: You don't see any ore in this rock. + drops: + - depletes: true + item_id: copper_ore + level: 1 + message: You manage to mine some {B2}copper ore{/}. + quantity: 0 + table: "" + weight: 90 + xp: 17 + - depletes: false + item_id: "" + level: 0 + message: You spot a glint of something valuable! + quantity: 0 + table: gem_table + weight: 10 + xp: 0 + exhausted_message: "" + fail_message: You chip away but get nothing useful. + gather_message: You swing your pickaxe at the rock... + nest_chance: 0 + respawn_broadcast: A glint of copper catches your eye from some {name}. + respawn_timer: 50 + skill: mining + success: + base: 0.5 + cap: 0.95 + per_level: 0.01 + tools: + - pickaxe +hidden: false +id: copper_rock +inroom_description: "" name: copper rock +removal_item: "" diff --git a/data/objects/fly_fishing_spot.yaml b/data/objects/fly_fishing_spot.yaml index c120466..e3bf342 100644 --- a/data/objects/fly_fishing_spot.yaml +++ b/data/objects/fly_fishing_spot.yaml @@ -2,7 +2,6 @@ color: "4B" description: Insects dance above the water. Use a fly fishing rod with feathers here. gather: bait: feather - base_wait: 5 drops: - item_id: raw_trout level: 20 @@ -21,7 +20,6 @@ gather: xp: 80 fail_message: Nothing seems to bite. gather_message: You cast your fly into the water... - level: 1 skill: fishing success: base: 0.5 diff --git a/data/objects/gold_rock.yaml b/data/objects/gold_rock.yaml index 277370b..a6228a4 100644 --- a/data/objects/gold_rock.yaml +++ b/data/objects/gold_rock.yaml @@ -1,14 +1,14 @@ color: "DC" gather: - base_wait: 10 drops: - depletes: true item_id: gold_ore + level: 40 message: You manage to mine some {DC}gold ore{/}. weight: 100 + xp: 65 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the gold rock... - level: 40 respawn_broadcast: A golden glint catches your eye from some {name}. respawn_timer: 90 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 65 name: gold rock diff --git a/data/objects/harpoon_fishing_spot.yaml b/data/objects/harpoon_fishing_spot.yaml index d1d88c5..ca377b2 100644 --- a/data/objects/harpoon_fishing_spot.yaml +++ b/data/objects/harpoon_fishing_spot.yaml @@ -1,7 +1,6 @@ color: "4B" description: Large shadows move beneath the waves. Use a harpoon here. gather: - base_wait: 6 drops: - item_id: raw_tuna level: 35 @@ -20,7 +19,6 @@ gather: xp: 110 fail_message: You fail to spear anything. gather_message: You ready your harpoon... - level: 1 skill: fishing success: base: 0.4 diff --git a/data/objects/iron_rock.yaml b/data/objects/iron_rock.yaml index a9b609b..70eafe6 100644 --- a/data/objects/iron_rock.yaml +++ b/data/objects/iron_rock.yaml @@ -1,14 +1,14 @@ color: "FA" gather: - base_wait: 10 drops: - depletes: true item_id: iron_ore + level: 15 message: You manage to mine some {FA}iron ore{/}. weight: 100 + xp: 35 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the iron rock... - level: 15 respawn_broadcast: A glint of iron catches your eye from some {name}. respawn_timer: 60 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 35 name: iron rock diff --git a/data/objects/magic_tree.yaml b/data/objects/magic_tree.yaml index 1a78d2e..9016853 100644 --- a/data/objects/magic_tree.yaml +++ b/data/objects/magic_tree.yaml @@ -1,15 +1,15 @@ color: "87" gather: - base_wait: 12 deplete_timer: 390 drops: - depletes: false item_id: magic_logs + level: 75 message: You get some {87}magic logs{/}. weight: 100 + xp: 250 fail_message: You swing but get no logs. gather_message: You swing your axe at the magic tree... - level: 75 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 199 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 250 name: magic tree diff --git a/data/objects/mahogany_tree.yaml b/data/objects/mahogany_tree.yaml index 91a34bb..bb5077b 100644 --- a/data/objects/mahogany_tree.yaml +++ b/data/objects/mahogany_tree.yaml @@ -1,15 +1,15 @@ color: "83" gather: - base_wait: 8 deplete_timer: 100 drops: - depletes: false item_id: mahogany_logs + level: 50 message: You get some {83}mahogany logs{/}. weight: 100 + xp: 125 fail_message: You swing but get no logs. gather_message: You swing your axe at the mahogany tree... - level: 50 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 14 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 125 name: mahogany tree diff --git a/data/objects/maple_tree.yaml b/data/objects/maple_tree.yaml index a13982e..3bf4005 100644 --- a/data/objects/maple_tree.yaml +++ b/data/objects/maple_tree.yaml @@ -1,15 +1,15 @@ color: "AD" gather: - base_wait: 8 deplete_timer: 100 drops: - depletes: false item_id: maple_logs + level: 45 message: You get some {AD}maple logs{/}. weight: 100 + xp: 100 fail_message: You swing but get no logs. gather_message: You swing your axe at the maple tree... - level: 45 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 59 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 100 name: maple tree diff --git a/data/objects/mithril_rock.yaml b/data/objects/mithril_rock.yaml index b5e1c96..b561c97 100644 --- a/data/objects/mithril_rock.yaml +++ b/data/objects/mithril_rock.yaml @@ -1,14 +1,14 @@ color: "4B" gather: - base_wait: 10 drops: - depletes: true item_id: mithril_ore + level: 55 message: You manage to mine some {4B}mithril ore{/}. weight: 100 + xp: 80 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the mithril rock... - level: 55 respawn_broadcast: A blue glint of mithril catches your eye from some {name}. respawn_timer: 110 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 80 name: mithril rock diff --git a/data/objects/net_fishing_spot.yaml b/data/objects/net_fishing_spot.yaml index 6f703f0..7acfcce 100644 --- a/data/objects/net_fishing_spot.yaml +++ b/data/objects/net_fishing_spot.yaml @@ -1,7 +1,6 @@ color: "4B" description: Bubbles break the surface. Use a small or big fishing net here. gather: - base_wait: 5 depleted_message: You don't see any fish swimming here. drops: - item_id: raw_shrimps @@ -31,7 +30,6 @@ gather: xp: 50 fail_message: You catch nothing. gather_message: You cast your net into the water... - level: 1 skill: fishing success: base: 0.5 diff --git a/data/objects/oak_tree.yaml b/data/objects/oak_tree.yaml index 961dffd..98c35b8 100644 --- a/data/objects/oak_tree.yaml +++ b/data/objects/oak_tree.yaml @@ -1,15 +1,15 @@ color: "71" gather: - base_wait: 6 deplete_timer: 45 drops: - depletes: false item_id: oak_logs + level: 15 message: You get some {71}oak logs{/}. weight: 100 + xp: 37 fail_message: You swing but get no logs. gather_message: You swing your axe at the oak tree... - level: 15 nest_chance: 256 respawn_broadcast: An {name} grows back. respawn_timer: 14 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 37 name: oak tree diff --git a/data/objects/redwood_tree.yaml b/data/objects/redwood_tree.yaml index 3693fc1..9eee250 100644 --- a/data/objects/redwood_tree.yaml +++ b/data/objects/redwood_tree.yaml @@ -1,15 +1,15 @@ color: "83" gather: - base_wait: 14 deplete_timer: 440 drops: - depletes: false item_id: redwood_logs + level: 90 message: You get some {83}redwood logs{/}. weight: 100 + xp: 380 fail_message: You swing but get no logs. gather_message: You swing your axe at the redwood tree... - level: 90 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 199 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 380 name: redwood tree diff --git a/data/objects/runite_rock.yaml b/data/objects/runite_rock.yaml index d96785f..7bc3681 100644 --- a/data/objects/runite_rock.yaml +++ b/data/objects/runite_rock.yaml @@ -1,14 +1,14 @@ color: "57" gather: - base_wait: 10 drops: - depletes: true item_id: runite_ore + level: 85 message: You manage to mine some {57}runite ore{/}. weight: 100 + xp: 125 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the runite rock... - level: 85 respawn_broadcast: A pale blue glint of runite catches your eye from some {name}. respawn_timer: 180 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 125 name: runite rock diff --git a/data/objects/sacred_eel_spot.yaml b/data/objects/sacred_eel_spot.yaml index ab32d68..3c05576 100644 --- a/data/objects/sacred_eel_spot.yaml +++ b/data/objects/sacred_eel_spot.yaml @@ -2,7 +2,6 @@ color: "B1" description: Waters shimmer with an otherworldly light. Use a fishing rod with bait here. gather: bait: fishing_bait - base_wait: 6 drops: - item_id: sacred_eel level: 87 @@ -11,7 +10,6 @@ gather: xp: 125 fail_message: Nothing seems to bite. gather_message: You cast your line near the sacred waters... - level: 1 skill: fishing success: base: 0.25 diff --git a/data/objects/scrap_pile.yaml b/data/objects/scrap_pile.yaml index 98e09e6..f85815b 100644 --- a/data/objects/scrap_pile.yaml +++ b/data/objects/scrap_pile.yaml @@ -1,18 +1,17 @@ color: "F3" gather: - base_wait: 10 drops: - depletes: false item_id: scrap + level: 1 message: You salvage some {F3}scrap{/}. weight: 100 + xp: 5 gather_message: You swing your pickaxe at the scrap pile... - level: 1 skill: mining success: base: 1.0 cap: 1.0 tools: - pickaxe - xp: 5 name: scrap pile diff --git a/data/objects/sheep.yaml b/data/objects/sheep.yaml index 24f70c6..234714b 100644 --- a/data/objects/sheep.yaml +++ b/data/objects/sheep.yaml @@ -1,15 +1,15 @@ color: "FF" description: A fluffy sheep, ready to be shorn. gather: - base_wait: 3 drops: - depletes: true item_id: wool + level: 1 message: You shear some wool from the sheep. weight: 100 + xp: 0 fail_message: The sheep wriggles free! gather_message: You hold the sheep still and begin shearing... - level: 1 respawn_broadcast: A sheep grows a fresh coat of wool. respawn_timer: 100 skill: crafting @@ -19,6 +19,5 @@ gather: per_level: 0 tools: - shears - xp: 0 inroom_description: A fluffy sheep is wandering around here. name: sheep diff --git a/data/objects/silver_rock.yaml b/data/objects/silver_rock.yaml index fefc2b4..c9b436f 100644 --- a/data/objects/silver_rock.yaml +++ b/data/objects/silver_rock.yaml @@ -1,14 +1,14 @@ color: "FD" gather: - base_wait: 10 drops: - depletes: true item_id: silver_ore + level: 20 message: You manage to mine some {FD}silver ore{/}. weight: 100 + xp: 40 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the silver rock... - level: 20 respawn_broadcast: A silvery glint catches your eye from some {name}. respawn_timer: 70 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 40 name: silver rock diff --git a/data/objects/swamp_fishing_spot.yaml b/data/objects/swamp_fishing_spot.yaml index 87020ec..8bca2bd 100644 --- a/data/objects/swamp_fishing_spot.yaml +++ b/data/objects/swamp_fishing_spot.yaml @@ -2,7 +2,6 @@ color: "6C" description: Murky water bubbles ominously. Use a fishing rod with bait here. gather: bait: fishing_bait - base_wait: 5 drops: - item_id: raw_slimy_eel level: 28 @@ -16,7 +15,6 @@ gather: xp: 80 fail_message: Nothing seems to bite. gather_message: You cast your line into the murky swamp... - level: 1 skill: fishing success: base: 0.45 diff --git a/data/objects/teak_tree.yaml b/data/objects/teak_tree.yaml index e372c66..5e47900 100644 --- a/data/objects/teak_tree.yaml +++ b/data/objects/teak_tree.yaml @@ -1,15 +1,15 @@ color: "B3" gather: - base_wait: 6 deplete_timer: 50 drops: - depletes: false item_id: teak_logs + level: 35 message: You get some {B3}teak logs{/}. weight: 100 + xp: 85 fail_message: You swing but get no logs. gather_message: You swing your axe at the teak tree... - level: 35 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 15 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 85 name: teak tree diff --git a/data/objects/tin_rock.yaml b/data/objects/tin_rock.yaml index e30ceb4..20b2f21 100644 --- a/data/objects/tin_rock.yaml +++ b/data/objects/tin_rock.yaml @@ -1,14 +1,14 @@ color: "FD" gather: - base_wait: 10 drops: - depletes: true item_id: tin_ore + level: 1 message: You manage to mine some {FD}tin ore{/}. weight: 100 + xp: 17 fail_message: You chip away but get nothing useful. gather_message: You swing your pickaxe at the rock... - level: 1 respawn_broadcast: A glint of tin catches your eye from some {name}. respawn_timer: 50 skill: mining @@ -18,5 +18,4 @@ gather: per_level: 0.01 tools: - pickaxe - xp: 17 name: tin rock diff --git a/data/objects/tree.yaml b/data/objects/tree.yaml index 199b548..4bd4ab0 100644 --- a/data/objects/tree.yaml +++ b/data/objects/tree.yaml @@ -1,16 +1,16 @@ color: "6B" gather: - base_wait: 4 depleted_message: You don't see any usable wood in this tree. drops: - depletes: true item_id: logs + level: 1 message: You get some {6B}logs{/}. weight: 100 + xp: 25 exhausted_message: The tree comes crashing down! fail_message: You swing but get no logs. gather_message: You swing your axe at the tree... - level: 1 respawn_broadcast: A {name} grows back. respawn_timer: 80 skill: woodcutting @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 25 name: tree diff --git a/data/objects/willow_tree.yaml b/data/objects/willow_tree.yaml index 7b2208b..1b7645e 100644 --- a/data/objects/willow_tree.yaml +++ b/data/objects/willow_tree.yaml @@ -1,15 +1,15 @@ color: "72" gather: - base_wait: 6 deplete_timer: 50 drops: - depletes: false item_id: willow_logs + level: 30 message: You get some {72}willow logs{/}. weight: 100 + xp: 67 fail_message: You swing but get no logs. gather_message: You swing your axe at the willow tree... - level: 30 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 14 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 67 name: willow tree diff --git a/data/objects/yew_tree.yaml b/data/objects/yew_tree.yaml index e49d6fc..a9313ea 100644 --- a/data/objects/yew_tree.yaml +++ b/data/objects/yew_tree.yaml @@ -1,15 +1,15 @@ color: "6C" gather: - base_wait: 10 deplete_timer: 190 drops: - depletes: false item_id: yew_logs + level: 60 message: You get some {6C}yew logs{/}. weight: 100 + xp: 175 fail_message: You swing but get no logs. gather_message: You swing your axe at the yew tree... - level: 60 nest_chance: 256 respawn_broadcast: A {name} grows back. respawn_timer: 99 @@ -20,5 +20,4 @@ gather: per_level: 0.01 tools: - axe - xp: 175 name: yew tree -- cgit v1.2.3