Skip to content

Commit

Permalink
feat(balance): Constructable furniture consistency updates (#3649)
Browse files Browse the repository at this point in the history
* Constructible furniture consistency updates

* Blueprint fix

Hell ye
  • Loading branch information
chaosvolt authored Nov 15, 2023
1 parent 91175cb commit 34eadb9
Show file tree
Hide file tree
Showing 32 changed files with 166 additions and 140 deletions.
2 changes: 1 addition & 1 deletion data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@
"required_skills": [ [ "fabrication", 2 ] ],
"time": "25 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 4 ] ], [ [ "nail", 8 ] ] ],
"components": [ [ [ "2x4", 3 ] ], [ [ "nail", 6 ] ] ],
"pre_special": "check_empty",
"post_furniture": "f_stool"
},
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
"crafting_pseudo_item": "fake_oven",
"flags": [ "PLACE_ITEM", "TRANSPARENT", "FIRE_CONTAINER", "CONTAINER", "BLOCKSDOOR", "MOUNTABLE" ],
"examine_action": "fireplace",
"deconstruct": { "items": [ { "item": "kitchen_unit", "count": 1 }, { "item": "cable", "charges": [ 1, 3 ] } ] },
"deconstruct": { "items": [ { "item": "kitchen_unit", "count": 1 }, { "item": "cable", "charges": 5 } ] },
"max_volume": "25 L",
"bash": {
"str_min": 8,
Expand Down
5 changes: 4 additions & 1 deletion data/json/furniture_and_terrain/furniture-decorative.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,17 @@
"move_cost_mod": -1,
"required_str": 10,
"flags": [ "BLOCKSDOOR", "PLACE_ITEM", "EASY_DECONSTRUCT" ],
"deconstruct": {
"items": [ { "item": "stick", "count": 4 }, { "item": "nail", "charges": 20 }, { "item": "pine_bough", "count": 8 } ]
},
"bash": {
"str_min": 20,
"str_max": 40,
"sound": "smash!",
"sound_fail": "thump.",
"items": [
{ "item": "pine_bough", "count": [ 4, 6 ] },
{ "item": "nail", "count": [ 5, 14 ] },
{ "item": "nail", "charges": [ 5, 14 ] },
{ "item": "stick", "count": [ 1, 3 ] }
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
"flags": [ "TRANSPARENT", "PLANTABLE", "FLAT", "MOUNTABLE" ],
"deconstruct": {
"items": [
{ "item": "2x4", "count": [ 11, 12 ] },
{ "item": "nail", "charges": [ 30, 36 ] },
{ "item": "pebble", "charges": [ 180, 200 ] },
{ "item": "material_soil", "count": [ 70, 75 ] }
{ "item": "2x4", "count": 12 },
{ "item": "nail", "charges": 36 },
{ "item": "pebble", "charges": 200 },
{ "item": "material_soil", "count": 75 }
]
},
"bash": {
Expand Down
14 changes: 5 additions & 9 deletions data/json/furniture_and_terrain/furniture-seats.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bonus_fire_warmth_feet": 1000,
"required_str": 8,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "CAN_SIT" ],
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "nail", "charges": [ 6, 10 ] } ] },
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "nail", "charges": 10 } ] },
"bash": {
"str_min": 12,
"str_max": 40,
Expand All @@ -35,9 +35,7 @@
"floor_bedding_warmth": 500,
"bonus_fire_warmth_feet": 1000,
"required_str": 7,
"deconstruct": {
"items": [ { "item": "2x4", "count": 10 }, { "item": "rag", "count": [ 30, 33 ] }, { "item": "nail", "charges": [ 6, 8 ] } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 10 }, { "item": "rag", "count": 35 }, { "item": "nail", "charges": 8 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "CAN_SIT" ],
"bash": {
"str_min": 12,
Expand Down Expand Up @@ -96,7 +94,7 @@
"bonus_fire_warmth_feet": 1000,
"required_str": 4,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "CAN_SIT" ],
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "nail", "charges": [ 6, 8 ] } ] },
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "nail", "charges": 8 } ] },
"bash": {
"str_min": 6,
"str_max": 20,
Expand All @@ -117,9 +115,7 @@
"comfort": 4,
"floor_bedding_warmth": 500,
"required_str": 10,
"deconstruct": {
"items": [ { "item": "2x4", "count": 12 }, { "item": "rag", "count": [ 30, 33 ] }, { "item": "nail", "charges": [ 8, 10 ] } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 12 }, { "item": "rag", "count": 12 }, { "item": "nail", "charges": 10 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "BLOCKSDOOR", "MOUNTABLE", "CAN_SIT" ],
"bash": {
"str_min": 12,
Expand Down Expand Up @@ -147,7 +143,7 @@
"bonus_fire_warmth_feet": 1000,
"required_str": 3,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "CAN_SIT" ],
"deconstruct": { "items": [ { "item": "2x4", "count": 3 }, { "item": "nail", "charges": [ 2, 6 ] } ] },
"deconstruct": { "items": [ { "item": "2x4", "count": 3 }, { "item": "nail", "charges": 6 } ] },
"max_volume": "875 L",
"bash": {
"str_min": 6,
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-signs.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"coverage": 35,
"required_str": -1,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SIGN" ],
"deconstruct": { "items": [ { "item": "2x4", "count": 3 }, { "item": "nail", "charges": [ 2, 5 ] } ] },
"deconstruct": { "items": [ { "item": "2x4", "count": 3 }, { "item": "nail", "charges": 6 } ] },
"bash": {
"str_min": 6,
"str_max": 40,
Expand Down
12 changes: 4 additions & 8 deletions data/json/furniture_and_terrain/furniture-sleep.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"comfort": 5,
"floor_bedding_warmth": 1000,
"required_str": -1,
"deconstruct": {
"items": [ { "item": "mattress", "count": 2 }, { "item": "2x4", "count": 28 }, { "item": "nail", "charges": [ 20, 30 ] } ]
},
"deconstruct": { "items": [ { "item": "mattress", "count": 2 }, { "item": "2x4", "count": 30 }, { "item": "nail", "charges": 30 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "CAN_SIT" ],
"bash": {
"str_min": 12,
Expand All @@ -68,7 +66,7 @@
"move_cost_mod": 4,
"coverage": 40,
"required_str": 5,
"deconstruct": { "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": [ 8, 10 ] } ] },
"deconstruct": { "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 10 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "PLACE_ITEM", "ORGANIC", "MOUNTABLE", "CAN_SIT" ],
"bash": {
"str_min": 10,
Expand Down Expand Up @@ -146,9 +144,7 @@
"comfort": 4,
"floor_bedding_warmth": 500,
"required_str": 10,
"deconstruct": {
"items": [ { "item": "2x4", "count": 4 }, { "item": "rag", "count": [ 30, 35 ] }, { "item": "nail", "charges": [ 4, 6 ] } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "rag", "count": 35 }, { "item": "nail", "charges": 6 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT" ],
"bash": {
"str_min": 8,
Expand All @@ -175,7 +171,7 @@
"comfort": 2,
"floor_bedding_warmth": 200,
"required_str": -1,
"deconstruct": { "items": [ { "item": "stick", "count": 4 }, { "item": "straw_pile", "count": [ 7, 8 ] } ] },
"deconstruct": { "items": [ { "item": "stick", "count": 4 }, { "item": "straw_pile", "count": 8 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "EASY_DECONSTRUCT" ],
"bash": {
"str_min": 6,
Expand Down
62 changes: 25 additions & 37 deletions data/json/furniture_and_terrain/furniture-storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@
"coverage": 80,
"required_str": 9,
"flags": [ "FLAMMABLE", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR" ],
"deconstruct": {
"items": [
{ "item": "2x4", "count": 12 },
{ "item": "wood_panel", "count": [ 0, 1 ] },
{ "item": "nail", "charges": [ 12, 16 ] }
]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 6 }, { "item": "wood_panel", "count": 2 }, { "item": "nail", "charges": 16 } ] },
"max_volume": "2000 L",
"bash": {
"str_min": 6,
"str_max": 40,
"sound": "smash!",
"sound_fail": "whump.",
"items": [ { "item": "2x4", "count": [ 2, 6 ] }, { "item": "nail", "charges": [ 4, 12 ] }, { "item": "splinter", "count": 1 } ]
"items": [
{ "item": "2x4", "count": [ 2, 6 ] },
{ "item": "nail", "charges": [ 4, 12 ] },
{ "item": "splinter", "count": [ 5, 10 ] }
]
}
},
{
Expand All @@ -38,9 +36,7 @@
"coverage": 80,
"required_str": 10,
"flags": [ "FLAMMABLE", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR" ],
"deconstruct": {
"items": [ { "item": "2x4", "count": 14 }, { "item": "wood_panel", "count": 2 }, { "item": "nail", "charges": [ 12, 20 ] } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 14 }, { "item": "wood_panel", "count": 2 }, { "item": "nail", "charges": 20 } ] },
"max_volume": "2000 L",
"bash": {
"str_min": 6,
Expand Down Expand Up @@ -251,16 +247,18 @@
"coverage": 70,
"required_str": 8,
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR", "MOUNTABLE" ],
"deconstruct": {
"items": [ { "item": "2x4", "count": 6 }, { "item": "wood_panel", "count": [ 0, 1 ] }, { "item": "nail", "charges": [ 6, 8 ] } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "wood_panel", "count": 1 }, { "item": "nail", "charges": 8 } ] },
"max_volume": "2000 L",
"bash": {
"str_min": 12,
"str_max": 40,
"sound": "smash!",
"sound_fail": "whump.",
"items": [ { "item": "2x4", "count": [ 2, 6 ] }, { "item": "nail", "charges": [ 4, 8 ] }, { "item": "splinter", "count": 1 } ]
"items": [
{ "item": "2x4", "count": [ 2, 4 ] },
{ "item": "nail", "charges": [ 4, 8 ] },
{ "item": "splinter", "count": [ 5, 10 ] }
]
}
},
{
Expand Down Expand Up @@ -465,9 +463,7 @@
"move_cost_mod": 1,
"required_str": -1,
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "CONTAINER", "PLACE_ITEM", "MOUNTABLE" ],
"deconstruct": {
"items": [ { "item": "2x4", "count": 2 }, { "item": "nail", "charges": [ 2, 5 ] }, { "item": "sheet_metal", "count": 1 } ]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 2 }, { "item": "nail", "charges": 5 }, { "item": "sheet_metal", "count": 1 } ] },
"max_volume": "10 L",
"bash": {
"str_min": 12,
Expand Down Expand Up @@ -556,13 +552,7 @@
"required_str": 7,
"looks_like": "f_bookcase",
"flags": [ "FLAMMABLE", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR", "TRANSPARENT" ],
"deconstruct": {
"items": [
{ "item": "2x4", "count": 12 },
{ "item": "wood_panel", "count": [ 1, 2 ] },
{ "item": "nail", "charges": [ 32, 40 ] }
]
},
"deconstruct": { "items": [ { "item": "2x4", "count": 6 }, { "item": "wood_panel", "count": 4 }, { "item": "nail", "charges": 40 } ] },
"max_volume": "1500 L",
"bash": {
"str_min": 6,
Expand All @@ -583,7 +573,7 @@
"coverage": 30,
"required_str": 4,
"flags": [ "TRANSPARENT", "FLAMMABLE", "PLACE_ITEM", "BLOCKSDOOR", "MOUNTABLE" ],
"deconstruct": { "items": [ { "item": "nail", "charges": [ 2, 6 ] }, { "item": "2x4", "count": 2 } ] },
"deconstruct": { "items": [ { "item": "nail", "charges": 8 }, { "item": "2x4", "count": 3 } ] },
"max_volume": "30 L",
"bash": {
"str_min": 6,
Expand Down Expand Up @@ -724,7 +714,12 @@
"required_str": 9,
"flags": [ "CONTAINER", "FLAMMABLE", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR", "MOUNTABLE" ],
"deconstruct": {
"items": [ { "item": "2x4", "count": 20 }, { "item": "nail", "charges": [ 16, 24 ] }, { "item": "pipe", "count": 2 } ]
"items": [
{ "item": "2x4", "count": 10 },
{ "item": "wood_panel", "count": 2 },
{ "item": "nail", "charges": 24 },
{ "item": "pipe", "count": 2 }
]
},
"max_volume": "500 L",
"bash": {
Expand Down Expand Up @@ -814,13 +809,7 @@
"coverage": 95,
"required_str": 10,
"flags": [ "FLAMMABLE_HARD", "PLACE_ITEM", "BLOCKSDOOR" ],
"deconstruct": {
"items": [
{ "item": "pipe", "count": [ 6, 12 ] },
{ "item": "sheet_metal", "count": [ 4, 8 ] },
{ "item": "sheet_metal_small", "count": [ 0, 4 ] }
]
},
"deconstruct": { "items": [ { "item": "pipe", "count": 12 }, { "item": "sheet_metal", "count": 8 } ] },
"max_volume": "3500 L",
"bash": {
"str_min": 8,
Expand Down Expand Up @@ -853,10 +842,9 @@
"deconstruct": {
"items": [
{ "item": "2x4", "count": 18 },
{ "item": "nail", "charges": [ 7, 14 ] },
{ "item": "nail", "charges": 14 },
{ "item": "water_faucet", "count": 1 },
{ "item": "sheet_metal_small", "count": [ 12, 20 ] },
{ "item": "scrap", "count": [ 5, 10 ] }
{ "item": "sheet_metal", "count": 1 }
]
},
"bash": {
Expand Down
Loading

0 comments on commit 34eadb9

Please sign in to comment.