Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconfigures 'plastic_molding' recipes to be more accurate #74080

Merged
merged 15 commits into from
Jun 3, 2024
Merged
2 changes: 1 addition & 1 deletion data/json/items/tool/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
"type": "TOOL",
"name": { "str": "retractable telescope" },
"description": "A homemade collapsible telescope, perfect for a pirate. Too large and inaccurate to use as a weapon scope, but carrying it in your inventory will double the distance that is mapped around you during your travels.",
"weight": "500 g",
"weight": "330 g",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"volume": "250 ml",
"price": "6 USD",
"price_postapoc": "7 USD 50 cent",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/tool/science.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"type": "TOOL",
"name": { "str": "ketene lamp" },
"description": "A section of glass pipe with a bulb in the middle, which contains an electrical heating element. It is used for producing ketene via pyrolysis of acetone or 1,3-butadiene from cyclohexane, for use in other chemical reactions. Due to the instability of ketene, it can't be stored and must be used immediately.",
"weight": "3 kg",
"weight": "1800 g",
"volume": "2 L",
"price": "200 USD",
"price_postapoc": "10 USD",
Expand Down
3 changes: 2 additions & 1 deletion data/json/recipes/armor/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@
"time": " 2 h",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"using": [ [ "plastic_molding", 10 ] ]
"using": [ [ "plastic_molding", 5 ] ],
"components": [ [ [ "plastic_chunk", 7 ] ] ]
},
{
"result": "hat_hard_hooded",
Expand Down
4 changes: 2 additions & 2 deletions data/json/recipes/electronics/parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"time": "30 m",
"decomp_learn": 2,
"book_learn": [ [ "manual_electronics", 2 ], [ "mag_electronics", 2 ], [ "manual_mechanics", 3 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 50 ], [ "plastic_molding", 20 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 20 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 4 ] ], [ [ "lead", 2400 ] ], [ [ "chem_sulphuric_acid", 13 ] ] ]
Expand All @@ -28,7 +28,7 @@
"time": "30 m",
"decomp_learn": 2,
"book_learn": [ [ "manual_electronics", 2 ], [ "mag_electronics", 2 ], [ "manual_mechanics", 3 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 4 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 1 ] ], [ [ "lead", 360 ] ], [ [ "chem_sulphuric_acid", 3 ] ] ]
Expand Down
3 changes: 1 addition & 2 deletions data/json/recipes/recipe_ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,8 @@
"book_learn": [ [ "plastics_book", 4 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"using": [ [ "plastic_molding", 1 ] ],
"tools": [ [ [ "surface_heat", 15, "LIST" ] ] ],
"components": [
[ [ "plastic_chunk", 3 ] ],
[ [ "plastic_chunk", 1 ] ],
[ [ "stick", 1 ], [ "broom", 1 ], [ "2x4", 1 ], [ "bee_sting", 1 ], [ "mop", 1 ] ],
[ [ "fletching", 1, "LIST" ] ]
]
Expand Down
7 changes: 3 additions & 4 deletions data/json/recipes/recipe_others.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"time": "20 m",
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"book_learn": [ [ "recipe_bullets", 6 ], [ "textbook_fabrication", 7 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"tools": [ [ [ "swage", -1 ] ] ],
"components": [ [ [ "plastic_chunk", 5 ] ], [ [ "scrap", 1 ] ] ]
},
Expand Down Expand Up @@ -1351,7 +1351,7 @@
"time": "10 m",
"book_learn": [ [ "plastics_book", 3 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 3 ] ],
"components": [ [ [ "plastic_chunk", 4 ] ], [ [ "lens", 1 ] ], [ [ "lens", 1 ], [ "lens_small", 1 ] ], [ [ "spring", 1 ] ] ]
},
{
Expand Down Expand Up @@ -2071,8 +2071,7 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"using": [ [ "plastic_molding", 2 ] ],
"components": [ [ [ "plastic_chunk", 3 ] ] ]
},
{
Expand Down
9 changes: 4 additions & 5 deletions data/json/recipes/recipe_vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@
"time": "90 m",
"autolearn": true,
"//": "20cm weld",
"using": [ [ "welding_standard", 20 ], [ "steel_tiny", 4 ], [ "plastic_molding", 1 ] ],
"using": [ [ "welding_standard", 20 ], [ "steel_tiny", 4 ], [ "plastic_molding", 3 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"qualities": [ { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 }, { "id": "SAW_M_FINE", "level": 1 } ],
"components": [ [ [ "plastic_chunk", 4 ] ] ]
Expand All @@ -654,7 +654,7 @@
"time": "90 m",
"autolearn": true,
"//": "22cm weld",
"using": [ [ "welding_standard", 22 ], [ "steel_tiny", 5 ], [ "plastic_molding", 1 ] ],
"using": [ [ "welding_standard", 22 ], [ "steel_tiny", 5 ], [ "plastic_molding", 6 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"qualities": [ { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 }, { "id": "SAW_M_FINE", "level": 1 } ],
"components": [ [ [ "plastic_chunk", 12 ] ] ]
Expand Down Expand Up @@ -715,9 +715,8 @@
"time": "1 h",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 50, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 50 ] ] ]
"using": [ [ "plastic_molding", 21 ] ],
"components": [ [ [ "plastic_chunk", 18 ] ] ]
},
{
"type": "recipe",
Expand Down
1 change: 0 additions & 1 deletion data/json/recipes/recipes_holiday.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"qualities": [ { "id": "CUT", "level": 2 } ],
"book_learn": [ [ "plastics_book", 1 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"using": [ [ "plastic_molding", 2 ] ],
"components": [
[ [ "plastic_bottles_4l", 1, "LIST" ] ],
Expand Down
23 changes: 8 additions & 15 deletions data/json/recipes/tools/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,8 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 2 ] ] ]
"components": [ [ [ "plastic_chunk", 1 ] ] ]
},
{
"type": "recipe",
Expand All @@ -177,7 +176,6 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 2 ] ] ]
},
Expand All @@ -193,7 +191,6 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 3, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 1 ] ] ]
},
Expand All @@ -209,9 +206,8 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 8 ] ] ]
"using": [ [ "plastic_molding", 2 ] ],
"components": [ [ [ "plastic_chunk", 3 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -392,7 +388,7 @@
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"using": [ [ "plastic_molding", 98 ] ],
"components": [ [ [ "plastic_chunk", 136 ] ] ]
"components": [ [ [ "plastic_chunk", 77 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -670,9 +666,8 @@
"autolearn": true,
"book_learn": [ [ "plastics_book", 2 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 4, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 4 ] ] ]
"using": [ [ "plastic_molding", 2 ] ],
"components": [ [ [ "plastic_chunk", 3 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -747,8 +742,7 @@
"using": [ [ "sewing_standard", 4 ], [ "plastic_molding", 2 ] ],
"book_learn": [ [ "plastics_book", 3 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"components": [ [ [ "plastic_chunk", 6 ] ], [ [ "cotton_patchwork", 3 ], [ "leather", 3 ], [ "fur", 3 ] ] ]
"components": [ [ [ "plastic_chunk", 3 ] ], [ [ "cotton_patchwork", 3 ], [ "leather", 3 ], [ "fur", 3 ] ] ]
},
{
"type": "recipe",
Expand All @@ -763,8 +757,7 @@
"using": [ [ "sewing_standard", 4 ], [ "plastic_molding", 2 ] ],
"book_learn": [ [ "plastics_book", 3 ] ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"tools": [ [ [ "surface_heat", 15, "LIST" ] ] ],
"components": [ [ [ "plastic_chunk", 10 ] ], [ [ "cotton_patchwork", 3 ], [ "leather", 3 ], [ "fur", 3 ] ] ]
"components": [ [ [ "plastic_chunk", 3 ] ], [ [ "cotton_patchwork", 3 ], [ "leather", 3 ], [ "fur", 3 ] ] ]
},
{
"type": "recipe",
Expand Down
6 changes: 3 additions & 3 deletions data/json/recipes/tools/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
],
"qualities": [ { "id": "GRIND", "level": 2 } ],
"tools": [ [ [ "hotcut_any", 1, "LIST" ] ] ],
"components": [ [ [ "scrap", 2 ] ] ]
"components": [ [ [ "scrap", 2 ] ], [ [ "plastic_chunk", 1 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -1447,7 +1447,7 @@
[ "textbook_electronics", 4 ],
[ "textbook_carpentry", 5 ]
],
"using": [ [ "surface_heat", 10 ], [ "soldering_standard", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"proficiencies": [
{ "proficiency": "prof_elec_soldering" },
{ "proficiency": "prof_plasticworking", "required": false, "time_multiplier": 1.5 }
Expand Down Expand Up @@ -1524,7 +1524,7 @@
"time": "5 m",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 3 ] ],
"components": [ [ [ "plastic_chunk", 4 ] ], [ [ "lens", 1 ] ], [ [ "wire", 1 ] ] ]
},
{
Expand Down
21 changes: 13 additions & 8 deletions data/json/recipes/tools/tools_electronic.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
{ "proficiency": "prof_elec_soldering" },
{ "proficiency": "prof_elec_circuits" }
],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 6 ] ],
Expand Down Expand Up @@ -328,7 +328,7 @@
{ "proficiency": "prof_elec_soldering" },
{ "proficiency": "prof_elec_circuits" }
],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "antenna", 1 ], [ "screwdriver", 1 ], [ "xacto", 1 ], [ "knife_butter", 1 ] ],
Expand Down Expand Up @@ -356,7 +356,7 @@
{ "proficiency": "prof_elec_soldering" },
{ "proficiency": "prof_elec_circuits" }
],
"using": [ [ "soldering_standard", 12 ], [ "surface_heat", 12 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 12 ], [ "plastic_molding", 4 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 6 ] ],
Expand Down Expand Up @@ -384,7 +384,7 @@
{ "proficiency": "prof_elec_soldering" },
{ "proficiency": "prof_elec_circuits" }
],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 4 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 6 ] ],
Expand Down Expand Up @@ -744,7 +744,7 @@
[ "textbook_fabrication", 3 ],
[ "manual_fabrication", 4 ]
],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 1 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"proficiencies": [
{ "proficiency": "prof_plasticworking", "time_multiplier": 1.5 },
Expand Down Expand Up @@ -804,7 +804,7 @@
"time": "8 h 45 m",
"decomp_learn": 5,
"book_learn": [ [ "textbook_electronics", 7 ], [ "textbook_robots", 6 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 20 ], [ "plastic_molding", 3 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 8 ] ],
"qualities": [ { "id": "SCREW", "level": 1 }, { "id": "SAW_M", "level": 1 }, { "id": "CUT", "level": 2 } ],
"proficiencies": [
{ "proficiency": "prof_plasticworking", "time_multiplier": 1.5 },
Expand Down Expand Up @@ -837,15 +837,20 @@
"time": "3 h",
"book_learn": [ [ "adv_chemistry", 5 ], [ "textbook_chemistry", 6 ], [ "recipe_labchem", 5 ], [ "atomic_survival", 5 ] ],
"proficiencies": [ { "proficiency": "prof_glassblowing" }, { "proficiency": "prof_plasticworking" } ],
"using": [ [ "plastic_molding", 2 ], [ "soldering_standard", 5 ] ],
"using": [ [ "plastic_molding", 7 ], [ "soldering_standard", 5 ] ],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [
[ [ "metalworking_tongs_any", 1, "LIST" ] ],
[ [ "pipe", -1 ] ],
[ [ "crucible", -1 ], [ "crucible_clay", -1 ] ],
[ [ "forge", 150 ] ]
],
"components": [ [ [ "glass_shard", 8 ] ], [ [ "element", 1 ], [ "crude_heating_element", 1 ] ], [ [ "cable", 10 ] ] ]
"components": [
[ [ "glass_shard", 8 ] ],
[ [ "plastic_chunk", 10 ] ],
[ [ "element", 1 ], [ "crude_heating_element", 1 ] ],
[ [ "cable", 10 ] ]
]
},
{
"type": "recipe",
Expand Down
9 changes: 4 additions & 5 deletions data/json/recipes/weapon/bashing.json
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,8 @@
"time": "1 h",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_plasticworking", "skill_penalty": 4 } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 10 ] ] ]
"using": [ [ "plastic_molding", 6 ] ],
"components": [ [ [ "plastic_chunk", 8 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -1020,15 +1019,15 @@
"difficulty": 6,
"time": "2 h",
"book_learn": [ [ "recipe_melee", 5 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 1 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 6 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"proficiencies": [
{ "proficiency": "prof_elec_soldering", "skill_penalty": 0.5 },
{ "proficiency": "prof_shock_weapons" },
{ "proficiency": "prof_plasticworking", "skill_penalty": 0.5 }
],
"components": [
[ [ "plastic_chunk", 10 ] ],
[ [ "plastic_chunk", 8 ] ],
[ [ "amplifier", 2 ] ],
[ [ "power_supply", 1 ] ],
[ [ "scrap", 2 ] ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/weapon/mods.json
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@
"time": "15 m",
"decomp_learn": 3,
"book_learn": [ [ "manual_rifle", 2 ], [ "manual_fabrication", 3 ], [ "textbook_fabrication", 3 ] ],
"using": [ [ "soldering_standard", 10 ], [ "surface_heat", 10 ], [ "plastic_molding", 2 ] ],
"using": [ [ "soldering_standard", 10 ], [ "plastic_molding", 1 ] ],
"qualities": [ { "id": "SCREW_FINE", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_plasticworking" } ],
"components": [
Expand Down
7 changes: 3 additions & 4 deletions data/json/recipes/weapon/ranged.json
Original file line number Diff line number Diff line change
Expand Up @@ -1105,9 +1105,8 @@
"autolearn": true,
"qualities": [ { "id": "HAMMER", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_plasticworking", "time_multiplier": 3 } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"using": [ [ "plastic_molding", 1 ] ],
"components": [ [ [ "plastic_chunk", 4 ] ], [ [ "scrap", 2 ] ] ]
"using": [ [ "plastic_molding", 2 ] ],
"components": [ [ [ "plastic_chunk", 2 ] ], [ [ "scrap", 1 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -1254,7 +1253,7 @@
"difficulty": 5,
"time": "8 h",
"book_learn": [ [ "advanced_electronics", 5 ], [ "textbook_electronics", 5 ], [ "textbook_anarch", 6 ] ],
"using": [ [ "soldering_standard", 20 ], [ "surface_heat", 10 ], [ "plastic_molding", 3 ] ],
"using": [ [ "soldering_standard", 20 ], [ "plastic_molding", 7 ] ],
"qualities": [ { "id": "SAW_M_FINE", "level": 1 }, { "id": "SCREW", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ],
"proficiencies": [
{ "proficiency": "prof_elec_soldering" },
Expand Down
Loading
Loading