Skip to content

Commit

Permalink
add earthworms and their delicacies (#71804)
Browse files Browse the repository at this point in the history
* initial

* Added various cooking stages of earthworms. Permitted their use as 'meat' and added to dirt spawn.

* fixed single/plural use.

* introduced handfuls of earthworms

* added to fishbait
  • Loading branch information
juur authored Feb 22, 2024
1 parent 736241d commit dca0920
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -6861,7 +6861,7 @@
"pre_flags": [ "DIGGABLE", "FLAT" ],
"pre_special": "check_empty",
"post_terrain": "t_pit_shallow",
"byproducts": [ { "group": "digging_soil_loam_50L", "count": 5 } ],
"byproducts": [ { "group": "digging_soil_loam_50L", "count": 4 }, { "group": "digging_topsoil_loam_50L", "count": 1 } ],
"activity_level": "EXTRA_EXERCISE",
"do_turn_special": "do_turn_shovel"
},
Expand Down
11 changes: 11 additions & 0 deletions data/json/itemgroups/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,17 @@
{ "item": "pebble", "count": [ 1, 4 ], "prob": 15 }
]
},
{
"id": "digging_topsoil_loam_50L",
"type": "item_group",
"subtype": "collection",
"items": [
{ "group": "digging_soil_loam_50L", "count": 1 },
{ "item": "earthworm", "count": [ 0, 10 ], "prob": 75 },
{ "item": "earthworm_handful", "count": [ 0, 3 ], "prob": 60 },
{ "item": "earthworm_handful", "count": [ 1, 2 ], "prob": 20 }
]
},
{
"id": "mining_rock",
"type": "item_group",
Expand Down
75 changes: 75 additions & 0 deletions data/json/items/comestibles/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,81 @@
"material": [ "veggy", "blood" ],
"primary_material": "veggy"
},
{
"type": "COMESTIBLE",
"comestible_type": "FOOD",
"id": "earthworm",
"name": { "str": "earthworm" },
"description": "A common earthworm.",
"weight": "2 g",
"volume": "5 ml",
"price": 0,
"price_postapoc": 0,
"to_hit": -5,
"material": [ "flesh" ],
"symbol": "c",
"color": "brown",
"spoils_in": "2 days",
"quench": 1,
"fun": -10,
"//0": "DW 0.2g protein 0.04 fat 0.04 carb... 0.2*4+0.04*4+0.04*9 = 1.326kcal",
"calories": 1.3,
"parasites": 10,
"flags": [ "FREEZERBURN", "RAW", "NO_AUTO_CONSUME", "BIRD", "NUTRIENT_OVERRIDE" ],
"//1": "1 earthworm has such a small amount of vitamins, i'm not sure it's possible to model them.",
"vitamins": [ [ "calcium", 0.3 ], [ "iron", 0.8 ] ]
},
{
"type": "COMESTIBLE",
"id": "earthworm_handful",
"copy-from": "earthworm",
"name": { "str": "handful of earthworms", "str_pl": "handfuls of earthworms" },
"description": "A handful of earthworms.",
"weight": "20 g",
"volume": "20 ml",
"quench": 10,
"fun": -20,
"calories": 13.2,
"parasites": 20,
"vitamins": [ [ "calcium", 3 ], [ "iron", 8 ] ]
},
{
"type": "COMESTIBLE",
"id": "earthworm_dried",
"copy-from": "earthworm_boiled",
"name": { "str_sp": "dried earthworms" },
"description": "Dried, cooked and ground earthworms.",
"spoils_in": "100 days",
"symbol": "%",
"quench": -1,
"fun": -1,
"flags": [ "SMOKED", "NUTRIENT_OVERRIDE" ],
"//": "Dried weight is about 15% of normal",
"weight": "3 g",
"volume": "3 ml"
},
{
"type": "COMESTIBLE",
"id": "earthworm_fried",
"copy-from": "earthworm_boiled",
"name": { "str_sp": "fried earthworms" },
"description": "A handful of fried earthworms, cooked in salt.",
"flags": [ "NUTRIENT_OVERRIDE" ],
"fun": 0
},
{
"type": "COMESTIBLE",
"id": "earthworm_boiled",
"copy-from": "earthworm_handful",
"name": { "str_sp": "boiled earthworms" },
"description": "A handful of common earthworms, boiled to remove impurities.",
"spoils_in": "5 days",
"fun": -5,
"//": "10 earthworms triple-boiled",
"parasites": 0,
"flags": [ "FREEZERBURN", "SMOKABLE", "NUTRIENT_OVERRIDE" ],
"smoking_result": "earthworm_dried"
},
{
"type": "COMESTIBLE",
"id": "snail_garden",
Expand Down
4 changes: 3 additions & 1 deletion data/json/recipes/other/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
[ "wastebread", 1 ],
[ "cornbread", 1 ],
[ "macaroni_raw", 1 ],
[ "spaghetti_raw", 1 ]
[ "spaghetti_raw", 1 ],
[ "earthworm", 10 ],
[ "earthworm_handful", 1 ]
]
]
},
Expand Down
33 changes: 33 additions & 0 deletions data/json/recipes/recipe_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,39 @@
"proficiencies": [ { "proficiency": "prof_food_prep" } ],
"components": [ [ [ "gastropod_purged", 1 ] ] ]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"result": "earthworm_boiled",
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "cooking",
"time": "10 m",
"charges": 1,
"autolearn": true,
"batch_time_factors": [ 85, 2 ],
"qualities": [ { "id": "BOIL", "level": 1 } ],
"tools": [ [ [ "water_boiling_heat", 2, "LIST" ] ] ],
"proficiencies": [ { "proficiency": "prof_food_prep" } ],
"components": [ [ [ "earthworm", 10 ], [ "earthworm_handful", 1 ] ], [ [ "water", 1 ], [ "water_clean", 1 ], [ "salt_water", 1 ] ] ]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"result": "earthworm_fried",
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "cooking",
"time": "10 m",
"charges": 1,
"difficulty": 2,
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"qualities": [ { "id": "COOK", "level": 1 } ],
"tools": [ [ [ "surface_heat", 1, "LIST" ] ] ],
"proficiencies": [ { "proficiency": "prof_food_prep" }, { "proficiency": "prof_frying" } ],
"components": [ [ [ "earthworm_boiled", 1 ] ], [ [ "salt", 1 ] ], [ [ "any_butter_or_oil", 1, "LIST" ] ] ]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
Expand Down
2 changes: 2 additions & 0 deletions data/json/requirements/cooking_components.json
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@
[ "demihuman_cooked", 1 ],
[ "meat_pickled", 1 ],
[ "meat_smoked", 1 ],
[ "earthworm_dried", 10 ],
[ "meat_salted", 1 ],
[ "dry_meat", 1 ],
[ "rehydrated_meat", 1 ],
Expand Down Expand Up @@ -802,6 +803,7 @@
[ "dry_meat", 1 ],
[ "jerky", 1 ],
[ "meat_smoked", 1 ],
[ "earthworm_dried", 10 ],
[ "meat_salted", 1 ],
[ "meat_fried", 1 ],
[ "fish", 1 ],
Expand Down

0 comments on commit dca0920

Please sign in to comment.