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

feat: sausage casings can be made with plastic and spawngroups #4520

Merged
merged 12 commits into from
Apr 26, 2024
4 changes: 4 additions & 0 deletions data/json/itemgroups/Food/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@
"charges-min": 1,
"charges-max": 9
},
{ "item": "sausage_casings", "prob": 5, "charges": [ 10, 50 ] },
{ "item": "sausage_casings_plastic", "prob": 5, "charges": [ 10, 50 ] },
{ "item": "dry_meat", "prob": 10 },
{ "item": "dry_fish", "prob": 10 },
{ "item": "dry_veggy", "prob": 10 },
Expand Down Expand Up @@ -869,6 +871,8 @@
"entries": [
{ "item": "beer", "prob": 15 },
{ "item": "meat", "prob": 65 },
{ "item": "sausage_casings", "prob": 5, "charges": [ 10, 50 ] },
{ "item": "sausage_casings_plastic", "prob": 5, "charges": [ 10, 50 ] },
{ "item": "glazed_tenderloin", "prob": 55 },
{ "item": "fish", "prob": 10 },
{ "item": "fish_smoked", "prob": 5 },
Expand Down
8 changes: 8 additions & 0 deletions data/json/items/comestibles/offal_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,14 @@
"material": "flesh",
"charges": 60
},
{
"id": "sausage_casings_plastic",
"copy-from": "sausage_casings",
"type": "COMESTIBLE",
"name": { "str": "artificial sausage casing" },
"description": "Sausage casings made from plastic. Ready to be used for forming meat products.",
"material": "plastic"
},
{
"type": "COMESTIBLE",
"id": "homemade_hotdogs",
Expand Down
37 changes: 26 additions & 11 deletions data/json/recipes/food/meat.json
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
[ "seasoning_salt", 4 ],
[ "pepper", 4 ]
],
[ [ "sausage_casings", 1 ], [ "stomach", 1 ], [ "stomach_large", 1 ] ]
[ [ "sausage_casings", 1 ], [ "sausage_casings_plastic", 1 ], [ "stomach", 1 ], [ "stomach_large", 1 ] ]
]
},
{
Expand Down Expand Up @@ -1545,7 +1545,7 @@
"tools": [ [ [ "char_smoker", 5 ] ] ],
"components": [
[ [ "offals_cooked", 2, "LIST" ], [ "meat_red_cooked", 1, "LIST" ], [ "meat_nofish_raw", 1, "LIST" ] ],
[ [ "sausage_casings", 1 ], [ "stomach", 1 ], [ "hstomach", 1 ] ],
[ [ "sausage_casings", 1 ], [ "sausage_casings_plastic", 1 ], [ "stomach", 1 ], [ "hstomach", 1 ] ],
[
[ "salt_water", 2 ],
[ "saline", 4 ],
Expand Down Expand Up @@ -1577,6 +1577,7 @@
[ [ "offals_cooked", 4, "LIST" ], [ "meat_red_cooked", 2, "LIST" ], [ "meat_nofish_raw", 2, "LIST" ] ],
[
[ "sausage_casings", 2 ],
[ "sausage_casings_plastic", 2 ],
[ "stomach", 2 ],
[ "stomach_large", 1 ],
[ "hstomach", 2 ],
Expand Down Expand Up @@ -1625,7 +1626,7 @@
"qualities": [ { "id": "CUT", "level": 1 }, { "id": "COOK", "level": 1 } ],
"components": [
[ [ "offals_cooked", 2, "LIST" ], [ "meat_red_cooked", 1, "LIST" ], [ "meat_nofish_raw", 1, "LIST" ] ],
[ [ "sausage_casings", 1 ], [ "stomach", 1 ], [ "hstomach", 1 ] ],
[ [ "sausage_casings", 1 ], [ "sausage_casings_plastic", 1 ], [ "stomach", 1 ], [ "hstomach", 1 ] ],
[
[ "salt_water", 2 ],
[ "saline", 4 ],
Expand Down Expand Up @@ -1656,6 +1657,7 @@
[ [ "offals_cooked", 4, "LIST" ], [ "meat_red_cooked", 2, "LIST" ], [ "meat_nofish_raw", 2, "LIST" ] ],
[
[ "sausage_casings", 2 ],
[ "sausage_casings_plastic", 2 ],
[ "stomach", 2 ],
[ "stomach_large", 1 ],
[ "hstomach", 2 ],
Expand Down Expand Up @@ -2552,20 +2554,33 @@
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "cooking",
"difficulty": 5,
"difficulty": 3,
"time": "50 m",
"batch_time_factors": [ 80, 5 ],
"charges": 20,
"autolearn": [ [ "cooking", 5 ] ],
"//": "Charcuterie: The Craft of Salting, Smoking, and Curing would be a good book for someone to use for further meat products recipes.",
"book_learn": [ [ "survival_book", 4 ], [ "family_cookbook", 4 ], [ "offalcooking", 3 ] ],
"book_learn": [ [ "survival_book", 3 ], [ "family_cookbook", 3 ], [ "offalcooking", 2 ] ],
"qualities": [ { "id": "COOK", "level": 2 }, { "id": "CUT_FINE", "level": 1 } ],
"tools": [ [ [ "funnel", -1 ] ] ],
"components": [
[ [ "stomach", 2 ], [ "stomach_large", 1 ] ],
[ [ "salt", 20 ] ],
[ [ "water", 2 ], [ "water_clean", 2 ] ],
[ [ "bag_plastic", 1 ] ]
]
"components": [ [ [ "stomach", 1 ], [ "stomach_large", 1 ] ], [ [ "salt", 20 ] ], [ [ "water", 2 ], [ "water_clean", 2 ] ] ]
},
{
"type": "recipe",
"result": "sausage_casings_plastic",
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "cooking",
"skills_required": [ "fabrication", 2 ],
"difficulty": 3,
"time": "30 m",
"batch_time_factors": [ 80, 5 ],
"charges": 20,
"autolearn": [ [ "cooking", 5 ], [ "fabrication", 2 ] ],
"book_learn": [ [ "survival_book", 3 ], [ "family_cookbook", 3 ], [ "offalcooking", 2 ] ],
"qualities": [ { "id": "COOK", "level": 2 }, { "id": "CUT_FINE", "level": 1 } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"components": [ [ [ "bag_plastic", 1 ] ] ]
},
{
"type": "recipe",
Expand Down
Loading