From 49233f10b2443c15ace2f4e861ddd58d80895aa8 Mon Sep 17 00:00:00 2001 From: cakepie Date: Wed, 18 Jan 2023 17:42:37 +0800 Subject: [PATCH] f_metal_trashcan construct/bash/disassy --- data/json/construction.json | 6 ++++-- .../furniture_and_terrain/furniture-storage.json | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/data/json/construction.json b/data/json/construction.json index 5ebe7f65ca768..d9a7fa965c88b 100644 --- a/data/json/construction.json +++ b/data/json/construction.json @@ -2626,11 +2626,13 @@ "type": "construction", "id": "constr_metal_trashcan", "group": "build_metal_trashcan", - "category": "CONSTRUCT", + "category": "FURN", "required_skills": [ [ "fabrication", 2 ] ], "time": "30 m", "qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 2 } ] ], - "components": [ [ [ "sheet_metal", 2 ] ] ], + "//": "wastebasket, no lid, 20 qt capacity, truncated rectangular pyramid base 10in×7.5in, top 11in×8.5in, height 13.5in", + "components": [ [ [ "sheet_metal", 1 ] ] ], + "byproducts": [ { "item": "sheet_metal_small", "count": 4 }, { "item": "scrap", "count": [ 4, 6 ] } ], "pre_special": "check_empty", "post_terrain": "f_metal_trashcan" }, diff --git a/data/json/furniture_and_terrain/furniture-storage.json b/data/json/furniture_and_terrain/furniture-storage.json index 0faa0652aeac6..ae28b4d5033b1 100644 --- a/data/json/furniture_and_terrain/furniture-storage.json +++ b/data/json/furniture_and_terrain/furniture-storage.json @@ -799,13 +799,23 @@ "required_str": 5, "max_volume": "20 L", "flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "MOUNTABLE", "SHORT" ], - "deconstruct": { "items": [ { "item": "sheet_metal", "count": 2 } ] }, + "deconstruct": { + "items": [ + { "item": "sheet_metal_small", "count": [ 10, 14 ] }, + { "item": "steel_chunk", "count": [ 1, 2 ] }, + { "item": "scrap", "count": [ 6, 12 ] } + ] + }, "bash": { "str_min": 9, "str_max": 30, "sound": "metal screeching!", "sound_fail": "clang!", - "items": [ { "item": "sheet_metal", "count": [ 1, 2 ] } ] + "items": [ + { "item": "sheet_metal_small", "count": [ 3, 6 ] }, + { "item": "steel_chunk", "count": [ 6, 8 ] }, + { "item": "scrap", "count": [ 8, 16 ] } + ] } }, {