From 346173fe16bb85d91c0feb1fa3838b2f9872b7fa Mon Sep 17 00:00:00 2001 From: VissValdyr <167661460+VissValdyr@users.noreply.github.com> Date: Fri, 26 Apr 2024 23:58:33 +0700 Subject: [PATCH] feat: sausage casings can be made with plastic and spawngroups (#4520) * Update meat.json * Update food.json * Update offal_dishes.json * style(autofix.ci): automated formatting * Update meat.json * Update offal_dishes.json * style(autofix.ci): automated formatting * Add files via upload * Add files via upload * Update offal_dishes.json * style(autofix.ci): automated formatting * Update meat.json --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- data/json/itemgroups/Food/food.json | 4 ++ data/json/items/comestibles/offal_dishes.json | 8 ++++ data/json/recipes/food/meat.json | 37 +++++++++++++------ 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/data/json/itemgroups/Food/food.json b/data/json/itemgroups/Food/food.json index fe9393edf2a7..dc73d4bf0aba 100644 --- a/data/json/itemgroups/Food/food.json +++ b/data/json/itemgroups/Food/food.json @@ -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 }, @@ -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 }, diff --git a/data/json/items/comestibles/offal_dishes.json b/data/json/items/comestibles/offal_dishes.json index b1d34ba8e103..fbfffb66d66c 100644 --- a/data/json/items/comestibles/offal_dishes.json +++ b/data/json/items/comestibles/offal_dishes.json @@ -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", diff --git a/data/json/recipes/food/meat.json b/data/json/recipes/food/meat.json index 35889ed142e0..8db6af7e4455 100644 --- a/data/json/recipes/food/meat.json +++ b/data/json/recipes/food/meat.json @@ -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 ] ] ] }, { @@ -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 ], @@ -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 ], @@ -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 ], @@ -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 ], @@ -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",