Skip to content

Commit 1511f5e

Browse files
authored
Adds Arrow Recipes for Lathes (#82522)
* i messed up the old pr * remove aluminum arrow crafts * bars audit and crafts * json formatting * density issue * fix spacing
1 parent bac35a7 commit 1511f5e

File tree

5 files changed

+154
-3
lines changed

5 files changed

+154
-3
lines changed

data/json/items/resources/metal.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@
13501350
"name": { "str_sp": "aluminum bar stock" },
13511351
"description": "A round bar of aluminum. Ready to be turned on the lathe.",
13521352
"//": "Bar is 5cm in diameter.",
1353-
"weight": "2538 mg",
1353+
"weight": "253800 mg",
13541354
"volume": "94 ml",
13551355
"longest_side": "5 cm",
13561356
"price": "2 USD",
@@ -1368,7 +1368,7 @@
13681368
"name": { "str_sp": "small aluminum bar stock" },
13691369
"description": "A small round bar of aluminum. Ready to be turned on the lathe.",
13701370
"//": "Bar is 3cm in diameter.",
1371-
"weight": "945 mg",
1371+
"weight": "94500 mg",
13721372
"volume": "35 ml",
13731373
"longest_side": "5 cm",
13741374
"price": "1 USD",

data/json/recipes/nested.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2572,6 +2572,18 @@
25722572
],
25732573
"difficulty": 5
25742574
},
2575+
{
2576+
"id": "nested_metal_bars",
2577+
"type": "nested_category",
2578+
"activity_level": "NO_EXERCISE",
2579+
"category": "CC_OTHER",
2580+
"subcategory": "CSC_OTHER_MATERIALS",
2581+
"name": "metal bars",
2582+
"description": "Recipes related to processing bar stock into smaller sizes.",
2583+
"skill_used": "fabrication",
2584+
"nested_category_data": [ "small_aluminum_bar_round", "small_lc_steel_bar_round", "small_mc_steel_bar_round", "small_hc_steel_bar_round" ],
2585+
"difficulty": 3
2586+
},
25752587
{
25762588
"id": "nested_lc_sabatons",
25772589
"type": "nested_category",

data/json/recipes/other/materials.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,66 @@
13981398
"tools": [ [ [ "boltcutters", -1 ], [ "pliers", -1 ], [ "toolset", -1 ], [ "multitool", -1 ] ] ],
13991399
"components": [ [ [ "wire_barbed", 1 ] ] ]
14001400
},
1401+
{
1402+
"result": "small_aluminum_bar_round",
1403+
"type": "recipe",
1404+
"activity_level": "NO_EXERCISE",
1405+
"category": "CC_*",
1406+
"subcategory": "CSC_*_NESTED",
1407+
"skill_used": "fabrication",
1408+
"difficulty": 3,
1409+
"autolearn": true,
1410+
"time": "30 m",
1411+
"tools": [ [ [ "fake_lathe", 30 ] ] ],
1412+
"components": [ [ [ "aluminum_bar_round", 1 ] ] ],
1413+
"byproducts": [ [ "scrap_aluminum", 3 ] ],
1414+
"proficiencies": [ { "proficiency": "prof_machining_basic" } ]
1415+
},
1416+
{
1417+
"result": "small_lc_steel_bar_round",
1418+
"type": "recipe",
1419+
"activity_level": "NO_EXERCISE",
1420+
"category": "CC_*",
1421+
"subcategory": "CSC_*_NESTED",
1422+
"skill_used": "fabrication",
1423+
"difficulty": 3,
1424+
"autolearn": true,
1425+
"time": "45 m",
1426+
"tools": [ [ [ "fake_lathe", 45 ] ] ],
1427+
"components": [ [ [ "lc_steel_bar_round", 1 ] ] ],
1428+
"byproducts": [ [ "scrap", 9 ] ],
1429+
"proficiencies": [ { "proficiency": "prof_machining_basic" } ]
1430+
},
1431+
{
1432+
"result": "small_mc_steel_bar_round",
1433+
"type": "recipe",
1434+
"activity_level": "NO_EXERCISE",
1435+
"category": "CC_*",
1436+
"subcategory": "CSC_*_NESTED",
1437+
"skill_used": "fabrication",
1438+
"difficulty": 3,
1439+
"autolearn": true,
1440+
"time": "50 m",
1441+
"tools": [ [ [ "fake_lathe", 50 ] ] ],
1442+
"components": [ [ [ "mc_steel_bar_round", 1 ] ] ],
1443+
"byproducts": [ [ "scrap", 9 ] ],
1444+
"proficiencies": [ { "proficiency": "prof_machining_basic" } ]
1445+
},
1446+
{
1447+
"result": "small_hc_steel_bar_round",
1448+
"type": "recipe",
1449+
"activity_level": "NO_EXERCISE",
1450+
"category": "CC_*",
1451+
"subcategory": "CSC_*_NESTED",
1452+
"skill_used": "fabrication",
1453+
"difficulty": 4,
1454+
"autolearn": true,
1455+
"time": "60 m",
1456+
"tools": [ [ [ "fake_lathe", 60 ] ] ],
1457+
"components": [ [ [ "hc_steel_bar_round", 1 ] ] ],
1458+
"byproducts": [ [ "scrap", 9 ] ],
1459+
"proficiencies": [ { "proficiency": "prof_machining_basic" } ]
1460+
},
14011461
{
14021462
"type": "recipe",
14031463
"activity_level": "LIGHT_EXERCISE",

data/json/recipes/practice/fabrication.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
"name": "lathe turning (steel)",
369369
"description": "Practice turning steel bar stock into basic parts.",
370370
"skill_used": "fabrication",
371-
"practice_data": { "min_difficulty": 2, "max_difficulty": 3, "skill_limit": 3 },
371+
"practice_data": { "min_difficulty": 3, "max_difficulty": 4, "skill_limit": 4 },
372372
"proficiencies": [
373373
{ "proficiency": "prof_metalworking", "time_multiplier": 1, "skill_penalty": 0 },
374374
{ "proficiency": "prof_machining_basic", "time_multiplier": 1.5, "skill_penalty": 1.25 }

data/json/recipes/recipe_ammo.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,60 @@
256256
[ [ "fletching", 1, "LIST" ] ]
257257
]
258258
},
259+
{
260+
"type": "recipe",
261+
"activity_level": "LIGHT_EXERCISE",
262+
"result": "arrow_heavy_field_point_fletched",
263+
"id_suffix": "lathe",
264+
"category": "CC_AMMO",
265+
"subcategory": "CSC_AMMO_ARROWS",
266+
"skill_used": "fabrication",
267+
"skills_required": [ [ "archery", 3 ] ],
268+
"difficulty": 3,
269+
"charges": 1,
270+
"time": "30 m",
271+
"batch_time_factors": [ 50, 2 ],
272+
"autolearn": true,
273+
"book_learn": [ [ "recipe_arrows", 3 ] ],
274+
"proficiencies": [ { "proficiency": "prof_fletching" }, { "proficiency": "prof_machining_basic" } ],
275+
"qualities": [ { "id": "CUT", "level": 2 } ],
276+
"tools": [ [ [ "fake_lathe", 30 ] ] ],
277+
"components": [
278+
[ [ "adhesive", 1, "LIST" ] ],
279+
[ [ "glue_strong", 5, "LIST" ] ],
280+
[ [ "stick", 1 ], [ "broom", 1 ], [ "2x4", 1 ], [ "bee_sting", 1 ], [ "mop", 1 ] ],
281+
[ [ "small_lc_steel_bar_round", 1 ], [ "small_mc_steel_bar_round", 1 ], [ "small_hc_steel_bar_round", 1 ] ],
282+
[ [ "fletching", 1, "LIST" ] ]
283+
],
284+
"byproducts": [ [ "scrap", 1 ] ]
285+
},
286+
{
287+
"type": "recipe",
288+
"activity_level": "LIGHT_EXERCISE",
289+
"result": "arrow_field_point_fletched",
290+
"id_suffix": "lathe",
291+
"category": "CC_AMMO",
292+
"subcategory": "CSC_AMMO_ARROWS",
293+
"skill_used": "fabrication",
294+
"skills_required": [ [ "archery", 3 ] ],
295+
"difficulty": 3,
296+
"charges": 1,
297+
"time": "30 m",
298+
"batch_time_factors": [ 50, 2 ],
299+
"autolearn": true,
300+
"book_learn": [ [ "recipe_arrows", 3 ] ],
301+
"proficiencies": [ { "proficiency": "prof_fletching" }, { "proficiency": "prof_machining_basic" } ],
302+
"qualities": [ { "id": "CUT", "level": 2 } ],
303+
"tools": [ [ [ "fake_lathe", 30 ] ] ],
304+
"components": [
305+
[ [ "adhesive", 1, "LIST" ] ],
306+
[ [ "glue_strong", 5, "LIST" ] ],
307+
[ [ "stick", 1 ], [ "broom", 1 ], [ "2x4", 1 ], [ "bee_sting", 1 ], [ "mop", 1 ] ],
308+
[ [ "small_lc_steel_bar_round", 1 ], [ "small_mc_steel_bar_round", 1 ], [ "small_hc_steel_bar_round", 1 ] ],
309+
[ [ "fletching", 1, "LIST" ] ]
310+
],
311+
"byproducts": [ [ "scrap", 1 ] ]
312+
},
259313
{
260314
"type": "recipe",
261315
"activity_level": "LIGHT_EXERCISE",
@@ -436,6 +490,31 @@
436490
[ [ "fletching", 1, "LIST" ] ]
437491
]
438492
},
493+
{
494+
"type": "recipe",
495+
"activity_level": "LIGHT_EXERCISE",
496+
"result": "bolt_wood_bodkin",
497+
"id_suffix": "lathe",
498+
"category": "CC_AMMO",
499+
"subcategory": "CSC_AMMO_ARROWS",
500+
"skill_used": "fabrication",
501+
"skills_required": [ [ "archery", 2 ] ],
502+
"difficulty": 3,
503+
"charges": 1,
504+
"time": "45 m",
505+
"autolearn": true,
506+
"book_learn": [ [ "recipe_arrows", 3 ] ],
507+
"proficiencies": [ { "proficiency": "prof_fletching" }, { "proficiency": "prof_machining_basic" } ],
508+
"qualities": [ { "id": "CUT", "level": 2 } ],
509+
"tools": [ [ [ "fake_lathe", 30 ] ] ],
510+
"components": [
511+
[ [ "adhesive", 1, "LIST" ] ],
512+
[ [ "stick", 1 ], [ "broom", 1 ], [ "2x4", 1 ], [ "bee_sting", 1 ], [ "mop", 1 ] ],
513+
[ [ "small_lc_steel_bar_round", 1 ], [ "small_mc_steel_bar_round", 1 ], [ "small_hc_steel_bar_round", 1 ] ],
514+
[ [ "fletching", 1, "LIST" ] ]
515+
],
516+
"byproducts": [ [ "scrap", 1 ] ]
517+
},
439518
{
440519
"type": "recipe",
441520
"activity_level": "LIGHT_EXERCISE",

0 commit comments

Comments
 (0)