Skip to content

Commit

Permalink
Realistic stock removal for smithing and related (CleverRaven#51698)
Browse files Browse the repository at this point in the history
* Realistic stock removal

This update expands mainly on recipes that require forging. Replaces chiseling on most recipes with grinding tools, adds grind qualities to some tools and adds new ones.

Co-authored-by: Tealc <45678006+TealcOneill@users.noreply.github.com>
  • Loading branch information
Elgrosito and TealcOneill authored Oct 3, 2021
1 parent d1e8b47 commit 3376047
Show file tree
Hide file tree
Showing 18 changed files with 251 additions and 144 deletions.
51 changes: 51 additions & 0 deletions data/json/items/tool/metalworking.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,5 +381,56 @@
"material": [ "clay", "wood" ],
"symbol": ";",
"color": "brown"
},
{
"id": "stone_polishing",
"type": "TOOL",
"name": { "str": "polishing stone" },
"description": "A large, natural stone with a flat surface to grind against.",
"weight": "8000 g",
"volume": "3 L",
"price": 400,
"price_postapoc": 15,
"to_hit": -2,
"bashing": 25,
"material": [ "stone" ],
"color": "dark_gray",
"symbol": ";",
"qualities": [ [ "GRIND", 2 ] ],
"flags": [ "DURABLE_MELEE" ]
},
{
"id": "pedal_grindstone",
"type": "TOOL",
"name": { "str": "pedal powered grindstone" },
"description": "A round, pedal-powered grindstone, useful for grinding metal.",
"weight": "15000g",
"volume": "4 L",
"price": 1500,
"price_postapoc": 35,
"to_hit": -5,
"bashing": 30,
"material": [ "stone", "wood", "steel" ],
"color": "dark_gray",
"symbol": ";",
"qualities": [ [ "GRIND", 2 ] ]
},
{
"id": "scraper_steel",
"type": "TOOL",
"name": { "str": "steel scraper" },
"description": "A hardened steel tool similar to a drawknife, but for metal.",
"weight": "500g",
"volume": "500 ml",
"price": 1200,
"price_postapoc": 20,
"to_hit": -1,
"bashing": 3,
"cutting": 4,
"material": [ "wood", "steel" ],
"color": "brown",
"symbol": ";",
"qualities": [ [ "GRIND", 2 ] ],
"flags": [ "DURABLE_MELEE" ]
}
]
3 changes: 2 additions & 1 deletion data/json/items/tool/workshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
"material": [ "steel" ],
"symbol": ";",
"color": "light_gray",
"qualities": [ [ "FILE", 2 ] ]
"qualities": [ [ "FILE", 2 ], [ "GRIND", 2 ] ]
},
{
"id": "metal_smoother",
Expand Down Expand Up @@ -784,6 +784,7 @@
"material": [ "steel", "plastic" ],
"symbol": ";",
"color": "light_gray",
"qualities": [ [ "GRIND", 2 ] ],
"ammo": [ "battery" ],
"flags": [ "TRADER_AVOID", "WATER_BREAK" ],
"pocket_data": [
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/other/materials.json
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 1 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 }, { "id": "FILE", "level": 1 } ],
"qualities": [ { "id": "FILE", "level": 1 } ],
"tools": [ [ [ "hotcut", -1 ] ], [ [ "nail", -1 ] ] ],
"components": [ [ [ "scrap", 1 ] ] ]
},
Expand Down
17 changes: 7 additions & 10 deletions data/json/recipes/other/parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 3 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "swage", -1 ] ] ],
"components": [ [ [ "scrap", 4 ] ] ]
},
Expand All @@ -70,7 +70,6 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_toolsmithing" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand Down Expand Up @@ -145,7 +144,6 @@
"book_learn": [ [ "manual_electronics", 1 ], [ "textbook_electronics", 1 ], [ "advanced_electronics", 1 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"using": [ [ "blacksmithing_standard", 1 ], [ "steel_tiny", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand Down Expand Up @@ -197,7 +195,7 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_bladesmith" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand All @@ -212,7 +210,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 32 ], [ "steel_standard", 8 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ], [ [ "hotcut", -1 ] ] ]
},
{
Expand All @@ -231,7 +228,7 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_toolsmithing" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand All @@ -250,7 +247,7 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_bladesmith" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "hotcut", -1 ] ] ]
},
{
Expand All @@ -277,7 +274,7 @@
"time": "300 m",
"autolearn": true,
"using": [ [ "forging_standard", 5 ], [ "steel_standard", 6 ] ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 } ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ]
},
Expand Down Expand Up @@ -311,7 +308,7 @@
"time": "180 m",
"autolearn": true,
"using": [ [ "forging_standard", 1 ], [ "steel_tiny", 1 ] ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 } ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ]
},
Expand Down Expand Up @@ -430,7 +427,7 @@
"time": "10 m",
"autolearn": true,
"charges": 1,
"qualities": [ { "id": "ANVIL", "level": 1 }, { "id": "HAMMER", "level": 2 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 1 }, { "id": "HAMMER", "level": 2 } ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_redsmithing" } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "swage", -1 ] ], [ [ "forge", 10 ], [ "oxy_torch", 10 ] ] ],
"components": [ [ [ "copper_scrap_equivalent", 2, "LIST" ] ] ]
Expand Down
8 changes: 2 additions & 6 deletions data/json/recipes/other/parts_construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 1 ], [ "steel_tiny", 1 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "hotcut", -1 ] ] ]
},
{
Expand Down Expand Up @@ -156,7 +155,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 2 ], [ "steel_tiny", 2 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "hotcut", -1 ] ] ]
},
{
Expand All @@ -171,7 +169,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 1 ], [ "steel_tiny", 1 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "hotcut", -1 ] ] ]
},
{
Expand All @@ -185,7 +182,7 @@
"time": "210 m",
"autolearn": true,
"using": [ [ "forging_standard", 1 ], [ "steel_tiny", 1 ] ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 } ],
"proficiencies": [
{ "proficiency": "prof_metalworking" },
{ "proficiency": "prof_blacksmithing" },
Expand Down Expand Up @@ -290,7 +287,6 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_toolsmithing" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand All @@ -303,7 +299,7 @@
"difficulty": 5,
"time": "1 h 30 m",
"autolearn": true,
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 } ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_redsmithing" } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "hotcut", -1 ] ], [ [ "forge", 50 ], [ "oxy_torch", 10 ] ] ],
"components": [ [ [ "copper_scrap_equivalent", 8, "LIST" ] ] ]
Expand Down
4 changes: 0 additions & 4 deletions data/json/recipes/other/power_supplies.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@
"time": "45 m",
"book_learn": [ [ "adv_chemistry", 4 ] ],
"using": [ [ "blacksmithing_standard", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ],
"components": [
[ [ "chem_manganese_dioxide", 29 ] ],
Expand All @@ -585,7 +584,6 @@
"time": "1 h",
"book_learn": [ [ "adv_chemistry", 4 ] ],
"using": [ [ "blacksmithing_standard", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ],
"components": [
[ [ "chem_manganese_dioxide", 87 ] ],
Expand All @@ -607,7 +605,6 @@
"time": "1 h 20 m",
"book_learn": [ [ "adv_chemistry", 4 ] ],
"using": [ [ "blacksmithing_standard", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ],
"components": [
[ [ "chem_manganese_dioxide", 348 ] ],
Expand All @@ -629,7 +626,6 @@
"time": "1 h 45 m",
"book_learn": [ [ "adv_chemistry", 4 ] ],
"using": [ [ "blacksmithing_standard", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ],
"components": [
[ [ "chem_manganese_dioxide", 725 ] ],
Expand Down
4 changes: 1 addition & 3 deletions data/json/recipes/recipe_ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,7 @@
"difficulty": 2,
"time": "100 m",
"autolearn": true,
"using": [ [ "blacksmithing_standard", 16 ], [ "steel_standard", 4 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ]
"using": [ [ "blacksmithing_standard", 16 ], [ "steel_standard", 4 ] ]
},
{
"type": "recipe",
Expand All @@ -693,7 +692,6 @@
"time": "180 m",
"autolearn": true,
"using": [ [ "blacksmithing_standard", 1 ], [ "steel_tiny", 1 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand Down
12 changes: 6 additions & 6 deletions data/json/recipes/recipe_companion.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"autolearn": false,
"never_learn": true,
"using": [ [ "forging_standard", 1 ], [ "steel_standard", 6 ] ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ]
},
{
Expand All @@ -42,7 +42,7 @@
"autolearn": false,
"never_learn": true,
"using": [ [ "forging_standard", 1 ], [ "steel_standard", 8 ] ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "swage", -1 ] ] ]
},
{
Expand All @@ -57,7 +57,7 @@
"time": "18 m",
"autolearn": false,
"never_learn": true,
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "swage", -1 ] ], [ [ "forge", 5 ], [ "oxy_torch", 1 ] ] ],
"components": [ [ [ "steel_chunk", 1 ], [ "scrap", 3 ] ] ]
},
Expand All @@ -73,7 +73,7 @@
"time": "3 m",
"autolearn": false,
"never_learn": true,
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "forge", 10 ], [ "oxy_torch", 2 ] ] ],
"components": [ [ [ "scrap", 1 ] ] ]
},
Expand All @@ -89,7 +89,7 @@
"time": "12 m",
"autolearn": false,
"never_learn": true,
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "swage", -1 ] ], [ [ "forge", 10 ], [ "oxy_torch", 2 ] ] ],
"components": [ [ [ "scrap", 7 ] ] ]
},
Expand All @@ -105,7 +105,7 @@
"time": "9 m",
"autolearn": false,
"never_learn": true,
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 }, { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 5 } ],
"tools": [ [ [ "tongs", -1 ] ], [ [ "swage", -1 ] ], [ [ "forge", 10 ], [ "oxy_torch", 2 ] ] ],
"components": [ [ [ "scrap", 3 ] ] ]
},
Expand Down
4 changes: 1 addition & 3 deletions data/json/recipes/recipe_others.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 2 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"components": [ [ [ "scrap", 1 ] ] ]
},
{
Expand Down Expand Up @@ -1114,7 +1113,6 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_toolsmithing" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand All @@ -1133,7 +1131,7 @@
{ "proficiency": "prof_blacksmithing" },
{ "proficiency": "prof_toolsmithing" }
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand Down
1 change: 0 additions & 1 deletion data/json/recipes/recipe_traps.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"autolearn": true,
"using": [ [ "blacksmithing_standard", 1 ], [ "steel_tiny", 1 ] ],
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "swage", -1 ] ] ]
},
{
Expand Down
1 change: 0 additions & 1 deletion data/json/recipes/recipe_vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,6 @@
"time": "3 h",
"autolearn": true,
"using": [ [ "blacksmithing_standard", 20 ], [ "steel_standard", 5 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "crucible", -1 ], [ "crucible_clay", -1 ] ] ]
},
{
Expand Down
Loading

0 comments on commit 3376047

Please sign in to comment.