Skip to content

Commit

Permalink
Updates to repairing straw and wood items, repair with medical tape t…
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt authored May 26, 2023
1 parent b9c9aa0 commit 4120937
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@
"material": "plastic",
"volume": "250 ml",
"weight": "3 g",
"ammo_type": "components",
"ammo_type": "tape",
"count": 35
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/armor/boots.json
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@
"price": 2000,
"price_postapoc": 50,
"to_hit": -2,
"material": [ "paper" ],
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "leathersandals",
"color": "light_gray",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/armor/hats.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
"volume": "750 ml",
"price": 300,
"price_postapoc": 100,
"material": [ "paper" ],
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "cowboy_hat",
"color": "dark_gray",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/armor/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@
"price": 200,
"price_postapoc": 50,
"to_hit": -1,
"material": [ "paper" ],
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "plastic_shopping_bag",
"color": "light_gray",
Expand Down
8 changes: 4 additions & 4 deletions data/json/items/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@
"color": "light_gray",
"name": { "str": "withered plant" },
"description": "A dead plant. Good for starting fires or making a pile of leaves to sleep on.",
"material": "paper",
"material": "dry_plant",
"weight": "20 g",
"volume": "250 ml",
"to_hit": -2,
"flags": [ "TRADER_AVOID" ]
"flags": [ "TRADER_AVOID", "NO_SALVAGE" ]
},
{
"type": "GENERIC",
Expand Down Expand Up @@ -2227,7 +2227,7 @@
"name": { "str": "pile of straw", "str_pl": "piles of straw" },
"category": "spare_parts",
"description": "A pile of dry grass. Can be used to craft a straw bed if there is nothing else to sleep on.",
"material": [ "paper" ],
"material": [ "dry_plant" ],
"flags": [ "TRADER_AVOID" ],
"weight": "20 g",
"volume": "250 ml",
Expand All @@ -2242,7 +2242,7 @@
"description": "Old straw doll. Represents a woman in a dress.",
"price": 100,
"price_postapoc": 0,
"material": [ "paper" ],
"material": [ "dry_plant" ],
"weight": "80 g",
"volume": "500 ml"
},
Expand Down
3 changes: 2 additions & 1 deletion data/json/items/generic/string.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"healthy": -20,
"volume": "1 L",
"stack_size": 10,
"weight": "80 g"
"weight": "80 g",
"flags": [ "NO_SALVAGE" ]
}
]
2 changes: 1 addition & 1 deletion data/json/items/tool/workshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@
{
"type": "repair_item",
"item_action_type": "repair_metal",
"materials": [ "acidchitin", "bone", "chitin", "paper", "cardboard", "wood", "kevlar_rigid" ],
"materials": [ "acidchitin", "bone", "chitin", "paper", "dry_plant", "cardboard", "wood", "kevlar_rigid" ],
"skill": "fabrication",
"tool_quality": 5,
"cost_scaling": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/tool_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@
"description": "Straw fedora hat, comfortable and stylish. Its brim helps keep the sun out of your eyes.",
"price": 5000,
"price_postapoc": 50,
"material": [ "paper" ],
"material": [ "dry_plant" ],
"volume": "1250 ml",
"warmth": 5,
"environmental_protection": 3,
Expand Down
5 changes: 4 additions & 1 deletion data/json/materials.json
Original file line number Diff line number Diff line change
Expand Up @@ -1050,13 +1050,16 @@
"specific_heat_liquid": 1.34,
"specific_heat_solid": 1.34,
"latent_heat": 333,
"reinforces": true,
"bash_resist": 1,
"cut_resist": 1,
"bullet_resist": 1,
"acid_resist": 1,
"fire_resist": 0,
"elec_resist": 2,
"chip_resist": 0,
"repaired_with": "withered",
"salvaged_into": "withered",
"dmg_adj": [ "ripped", "torn", "shredded", "tattered" ],
"bash_dmg_verb": "ripped",
"cut_dmg_verb": "cut",
Expand Down Expand Up @@ -1600,7 +1603,7 @@
"fire_resist": 1,
"elec_resist": 2,
"chip_resist": 10,
"repaired_with": "2x4",
"repaired_with": "splinter",
"salvaged_into": "splinter",
"dmg_adj": [ "scratched", "chipped", "cracked", "splintered" ],
"bash_dmg_verb": "splintered",
Expand Down
3 changes: 2 additions & 1 deletion data/json/requirements/materials.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "adhesive",
"type": "requirement",
"//": "Materials used for joining (typically non-metallic) parts",
"components": [ [ [ "duct_tape", 25 ], [ "superglue", 1 ], [ "bone_glue", 1 ] ] ]
"components": [ [ [ "duct_tape", 25 ], [ "medical_tape", 25 ], [ "superglue", 1 ], [ "bone_glue", 1 ] ] ]
},
{
"id": "ammo_bullet",
Expand Down Expand Up @@ -157,6 +157,7 @@
[
[ "feather", 10 ],
[ "duct_tape", 40 ],
[ "medical_tape", 40 ],
[ "cardboard", 10 ],
[ "bag_plastic", 1 ],
[ "bottle_plastic_small", 1 ],
Expand Down

0 comments on commit 4120937

Please sign in to comment.