Skip to content

Commit

Permalink
Craftable mech power cells, related recipe availability changes (#2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt committed May 19, 2023
1 parent c49d4dd commit 7f25f2c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 72 deletions.
2 changes: 1 addition & 1 deletion data/json/recipes/electronic/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"time": "1 h 25 m",
"reversible": true,
"decomp_learn": 4,
"book_learn": [ [ "recipe_lab_elec", 7 ] ],
"book_learn": [ [ "recipe_lab_elec", 7 ], [ "textbook_atomic_lab", 8 ] ],
"using": [ [ "soldering_standard", 24 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "power_supply", 6 ] ], [ [ "amplifier", 5 ] ], [ [ "scrap", 4 ] ], [ [ "cable", 14 ] ], [ [ "plut_cell", 2 ] ] ]
Expand Down
4 changes: 2 additions & 2 deletions data/json/recipes/electronic/lighting.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"difficulty": 2,
"time": "20 m",
"reversible": true,
"book_learn": [ [ "textbook_electronics", 3 ], [ "advanced_electronics", 3 ], [ "recipe_caseless", 2 ] ],
"book_learn": [ [ "textbook_electronics", 3 ], [ "advanced_electronics", 3 ], [ "recipe_caseless", 2 ], [ "textbook_atomic_lab", 4 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 1 ] ],
Expand All @@ -179,7 +179,7 @@
"difficulty": 3,
"time": "30 m",
"reversible": true,
"book_learn": [ [ "textbook_electronics", 4 ], [ "advanced_electronics", 4 ], [ "recipe_caseless", 3 ] ],
"book_learn": [ [ "textbook_electronics", 4 ], [ "advanced_electronics", 4 ], [ "recipe_caseless", 3 ], [ "textbook_atomic_lab", 5 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 2 ] ],
Expand Down
26 changes: 18 additions & 8 deletions data/json/recipes/electronic/parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,7 @@
"difficulty": 6,
"skills_required": [ "fabrication", 6 ],
"time": "60 m",
"decomp_learn": 4,
"book_learn": [ [ "recipe_atomic_battery", 6 ] ],
"book_learn": [ [ "recipe_atomic_battery", 6 ], [ "textbook_atomic_lab", 7 ] ],
"using": [ [ "soldering_standard", 10 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 6 ] ], [ [ "cable", 4 ] ], [ [ "plut_cell", 1 ] ] ]
Expand All @@ -639,8 +638,7 @@
"difficulty": 6,
"skills_required": [ "fabrication", 6 ],
"time": "60 m",
"decomp_learn": 4,
"book_learn": [ [ "recipe_atomic_battery", 6 ] ],
"book_learn": [ [ "recipe_atomic_battery", 6 ], [ "textbook_atomic_lab", 7 ] ],
"using": [ [ "soldering_standard", 10 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 6 ] ], [ [ "cable", 4 ] ], [ [ "plut_cell", 2 ] ] ]
Expand All @@ -654,8 +652,7 @@
"difficulty": 6,
"skills_required": [ "fabrication", 6 ],
"time": "60 m",
"decomp_learn": 4,
"book_learn": [ [ "recipe_atomic_battery", 6 ] ],
"book_learn": [ [ "recipe_atomic_battery", 6 ], [ "textbook_atomic_lab", 7 ] ],
"using": [ [ "soldering_standard", 10 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 6 ] ], [ [ "cable", 4 ] ], [ [ "plut_cell", 10 ] ] ]
Expand All @@ -669,12 +666,25 @@
"difficulty": 6,
"skills_required": [ "fabrication", 6 ],
"time": "60 m",
"decomp_learn": 4,
"book_learn": [ [ "recipe_atomic_battery", 6 ] ],
"book_learn": [ [ "recipe_atomic_battery", 6 ], [ "textbook_atomic_lab", 7 ] ],
"using": [ [ "soldering_standard", 10 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "scrap", 6 ] ], [ [ "cable", 4 ] ], [ [ "plut_cell", 20 ] ] ]
},
{
"result": "huge_atomic_battery_cell",
"type": "recipe",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_PARTS",
"skill_used": "electronics",
"difficulty": 8,
"skills_required": [ "fabrication", 8 ],
"time": "90 m",
"book_learn": [ [ "recipe_atomic_battery", 8 ], [ "textbook_atomic_lab", 9 ] ],
"using": [ [ "welding_standard", 50 ], [ "steel_standard", 5 ] ],
"qualities": [ { "id": "SCREW", "level": 1 }, { "id": "SAW_M", "level": 1 } ],
"components": [ [ [ "cable", 20 ] ], [ [ "plut_cell", 200 ] ] ]
},
{
"result": "solder_wire",
"type": "recipe",
Expand Down
2 changes: 1 addition & 1 deletion data/json/recipes/electronic/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
"difficulty": 6,
"time": "1h 30 m",
"reversible": true,
"book_learn": [ [ "recipe_caseless", 8 ] ],
"book_learn": [ [ "recipe_caseless", 8 ], [ "textbook_atomic_lab", 9 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 5 ] ],
Expand Down
60 changes: 0 additions & 60 deletions data/mods/Aftershock/recipes/recipe_overrides.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,4 @@
[
{
"type": "recipe",
"result": "atomic_coffeepot",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_TOOLS",
"skill_used": "electronics",
"difficulty": 4,
"time": 3000,
"reversible": true,
"book_learn": [ [ "recipe_caseless", 8 ], [ "textbook_atomic_lab", 3 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 5 ] ],
[ [ "adhesive", 1, "LIST" ] ],
[ [ "power_supply", 1 ] ],
[ [ "element", 1 ] ],
[ [ "scrap", 2 ] ],
[ [ "plut_cell", 1 ] ]
]
},
{
"type": "recipe",
"result": "atomic_light",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_LIGHTING",
"skill_used": "electronics",
"difficulty": 3,
"time": 20000,
"reversible": true,
"book_learn": [ [ "recipe_caseless", 6 ], [ "textbook_atomic_lab", 3 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 1 ] ],
[ [ "adhesive", 1, "LIST" ] ],
[ [ "power_supply", 1 ] ],
[ [ "cable", 1 ] ],
[ [ "lightstrip_inactive", 1 ], [ "e_scrap", 1 ] ],
[ [ "plut_cell", 1 ] ]
]
},
{
"type": "recipe",
"result": "atomic_lamp",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_LIGHTING",
"skill_used": "electronics",
"difficulty": 3,
"time": 30000,
"reversible": true,
"book_learn": [ [ "recipe_caseless", 6 ], [ "textbook_atomic_lab", 3 ] ],
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [
[ [ "plastic_chunk", 2 ] ],
[ [ "adhesive", 1, "LIST" ] ],
[ [ "power_supply", 1 ] ],
[ [ "cable", 2 ] ],
[ [ "lightstrip_inactive", 1 ], [ "e_scrap", 1 ] ],
[ [ "plut_cell", 2 ] ]
]
},
{
"type": "recipe",
"result": "wearable_atomic_light",
Expand Down

0 comments on commit 7f25f2c

Please sign in to comment.