From 7b5ed92e003d8a4bf9bdc69d43b7354eb2260dfa Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 5 Jul 2026 19:18:50 -0400 Subject: feat: duplicate items/obj/mobs from sidebar. item inputs fields changed to search fields --- data/.admin_history.json | 2 +- data/items/000_test_item.yaml | 40 +++++++++++++++++++++++++++++++++++++++ data/objects/000_test_object.yaml | 4 ++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 data/items/000_test_item.yaml create mode 100644 data/objects/000_test_object.yaml (limited to 'data') diff --git a/data/.admin_history.json b/data/.admin_history.json index 65e86d6..aef303b 100644 --- a/data/.admin_history.json +++ b/data/.admin_history.json @@ -1 +1 @@ -{"history":[{"time":"2026-07-05T18:39:14-04:00","description":"move objects adamantite_rock3.yaml to root","file_path":"data/objects/test4/adamantite_rock3.yaml","new_file_path":"data/objects/adamantite_rock3.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:39:14-04:00","description":"delete directory objects/test4","file_path":"data/objects/test4","old_content":"","new_content":"","is_delete":true,"is_create":false},{"time":"2026-07-05T18:39:15-04:00","description":"move objects adamantite_rock3.yaml to root","file_path":"data/objects/test3/adamantite_rock3.yaml","new_file_path":"data/objects/adamantite_rock3.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:39:15-04:00","description":"delete directory objects/test3","file_path":"data/objects/test3","old_content":"","new_content":"","is_delete":true,"is_create":false},{"time":"2026-07-05T18:40:55-04:00","description":"rename objects adamantite_rock3 to adamantite_rock4","file_path":"data/objects/adamantite_rock3.yaml","new_file_path":"data/objects/adamantite_rock4.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:41:13-04:00","description":"move objects adamantite_rock4 to test2/","file_path":"data/objects/adamantite_rock4.yaml","new_file_path":"data/objects/test2/adamantite_rock4.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:41:15-04:00","description":"move objects adamantite_rock4 to test3/","file_path":"data/objects/test2/adamantite_rock4.yaml","new_file_path":"data/objects/test3/adamantite_rock4.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:41:36-04:00","description":"move objects adamantite_rock4.yaml to root","file_path":"data/objects/test3/adamantite_rock4.yaml","new_file_path":"data/objects/adamantite_rock4.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:41:36-04:00","description":"delete directory objects/test3","file_path":"data/objects/test3","old_content":"","new_content":"","is_delete":true,"is_create":false},{"time":"2026-07-05T18:41:37-04:00","description":"delete directory objects/test2","file_path":"data/objects/test2","old_content":"","new_content":"","is_delete":true,"is_create":false},{"time":"2026-07-05T18:42:04-04:00","description":"Create object adamantite_rock4_copy","file_path":"data/objects/adamantite_rock4_copy.yaml","old_content":"","new_content":"id: adamantite_rock4_copy\n","is_delete":false,"is_create":true},{"time":"2026-07-05T18:42:04-04:00","description":"Update object adamantite_rock4_copy","file_path":"data/objects/adamantite_rock4_copy.yaml","old_content":"id: adamantite_rock4_copy\n","new_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock4_copy\nname: adamantite rock\n","is_delete":false,"is_create":false},{"time":"2026-07-05T18:42:31-04:00","description":"Delete object adamantite_rock4","file_path":"data/objects/adamantite_rock4.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock_copy\nname: adamantite rock\n","new_content":"","is_delete":true,"is_create":false},{"time":"2026-07-05T18:42:33-04:00","description":"Delete object adamantite_rock4_copy","file_path":"data/objects/adamantite_rock4_copy.yaml","old_content":"color: \"78\"\ndescription: \"\"\ngather:\n bait: \"\"\n deplete_timer: \"\"\n depleted_message: \"\"\n drops:\n - depletes: true\n item_id: adamantite_ore\n level: 70\n message: \"\"\n quantity: 0\n table: \"\"\n weight: 100\n xp: 95\n exhausted_message: \"\"\n fail_message: You chip away but get nothing useful.\n gather_message: You swing your pickaxe at the adamantite rock...\n nest_chance: \"\"\n respawn_broadcast: A green glint of adamantite catches your eye from some {name}.\n respawn_timer: \"\"\n skill: mining\n success:\n base: 0.15\n cap: 0.85\n per_level: 0.01\n tools:\n - pickaxe\nhidden: false\nid: adamantite_rock4_copy\nname: adamantite rock\n","new_content":"","is_delete":true,"is_create":false}],"redo":null} \ No newline at end of file +{"history":[{"time":"2026-07-05T19:16:10-04:00","description":"move items 000_test_item to root","file_path":"data/items/ammo/000_test_item.yaml","new_file_path":"data/items/000_test_item.yaml","old_content":"color: \"78\"\ncraft:\n - end_message: \"\"\n fail: \"\"\n ingredients:\n - items:\n - headless_arrow\n quantity: 15\n - items:\n - adamant_arrowtips\n quantity: 15\n level: 60\n output_qty: 15\n start_message: \"\"\n station: []\n subtype: \"\"\n success_message: \"\"\n ticks_per_cycle: 2\n tool: \"\"\n type: fletching\n xp: 10\ndescription: An adamant-tipped arrow.\nequipment:\n other:\n ranged_strength: 31\n slot: ammo\n type: ammo\nfarm_harvest_xp: 0\nfarm_level: 0\nfarm_max_yield: 0\nfarm_min_yield: 0\nfarm_patch_type: herb\nfarm_plant_xp: 0\nfarm_stages: 0\nid: 000_test_item\nmax_quality: 0\nname: adamant arrow\nrecoverable: true\nstackable: true\nvalue: 20\n","new_content":"color: \"78\"\ncraft:\n - end_message: \"\"\n fail: \"\"\n ingredients:\n - items:\n - headless_arrow\n quantity: 15\n - items:\n - adamant_arrowtips\n quantity: 15\n level: 60\n output_qty: 15\n start_message: \"\"\n station: []\n subtype: \"\"\n success_message: \"\"\n ticks_per_cycle: 2\n tool: \"\"\n type: fletching\n xp: 10\ndescription: An adamant-tipped arrow.\nequipment:\n other:\n ranged_strength: 31\n slot: ammo\n type: ammo\nfarm_harvest_xp: 0\nfarm_level: 0\nfarm_max_yield: 0\nfarm_min_yield: 0\nfarm_patch_type: herb\nfarm_plant_xp: 0\nfarm_stages: 0\nid: 000_test_item\nmax_quality: 0\nname: adamant arrow\nrecoverable: true\nstackable: true\nvalue: 20\n","is_delete":false,"is_create":false},{"time":"2026-07-05T19:17:20-04:00","description":"Create object bio_altar_copy","file_path":"data/objects/bio_altar_copy.yaml","old_content":"","new_content":"id: bio_altar_copy\n","is_delete":false,"is_create":true},{"time":"2026-07-05T19:17:20-04:00","description":"Update object bio_altar_copy","file_path":"data/objects/bio_altar_copy.yaml","old_content":"id: bio_altar_copy\n","new_content":"color: C4\ndescription: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin.\nid: bio_altar_copy\nname: bio altar\n","is_delete":false,"is_create":false},{"time":"2026-07-05T19:17:25-04:00","description":"rename objects bio_altar_copy to 000_test_object","file_path":"data/objects/bio_altar_copy.yaml","new_file_path":"data/objects/000_test_object.yaml","old_content":"color: C4\ndescription: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin.\nid: bio_altar_copy\nname: bio altar\n","new_content":"color: C4\ndescription: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin.\nid: bio_altar_copy\nname: bio altar\n","is_delete":false,"is_create":false}],"redo":null} \ No newline at end of file diff --git a/data/items/000_test_item.yaml b/data/items/000_test_item.yaml new file mode 100644 index 0000000..e6609d8 --- /dev/null +++ b/data/items/000_test_item.yaml @@ -0,0 +1,40 @@ +color: "78" +craft: + - end_message: "" + fail: "" + ingredients: + - items: + - headless_arrow + quantity: 15 + - items: + - adamant_arrowtips + quantity: 15 + level: 60 + output_qty: 15 + start_message: "" + station: [] + subtype: "" + success_message: "" + ticks_per_cycle: 2 + tool: "" + type: fletching + xp: 10 +description: An adamant-tipped arrow. +equipment: + other: + ranged_strength: 31 + slot: ammo + type: ammo +farm_harvest_xp: 0 +farm_level: 0 +farm_max_yield: 0 +farm_min_yield: 0 +farm_patch_type: herb +farm_plant_xp: 0 +farm_stages: 0 +id: 000_test_item +max_quality: 0 +name: adamant arrow +recoverable: true +stackable: true +value: 20 diff --git a/data/objects/000_test_object.yaml b/data/objects/000_test_object.yaml new file mode 100644 index 0000000..afaee11 --- /dev/null +++ b/data/objects/000_test_object.yaml @@ -0,0 +1,4 @@ +color: C4 +description: A sinister altar of red biological interfaces. Place scrap here with a bio identifier to produce biojunk. Type 'id' to begin. +id: bio_altar_copy +name: bio altar -- cgit v1.2.3