Skip to content

Commit

Permalink
[Magiclysm] Fix meat component (#76407)
Browse files Browse the repository at this point in the history
* Update cooking_components.json

* add into meat_red_raw

* Update comestibles.json

* Update comestibles.json

* Update comestibles.json

* Update comestibles.json

* Update comestibles.json

* Update comestibles.json

* It still need the delete

* Update comestibles.json

* make impure meat able to pass autocheck

* It might need more

* a small test

* a small test

* remove the right one
  • Loading branch information
Naadn authored Sep 16, 2024
1 parent ddb528c commit 83ecacd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions data/mods/Magiclysm/items/comestibles.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,18 @@
"extend": { "flags": [ "NUTRIENT_OVERRIDE" ] },
"name": { "str_sp": "purified meat" },
"description": "Indistinguishable from pre-Cataclysm lab grown beef. It should be excellent but somehow it's just edible.",
"calories": 402,
"price": "4 USD"
},
{
"id": "impure_meat",
"type": "COMESTIBLE",
"copy-from": "mutant_meat",
"extend": { "flags": [ "NUTRIENT_OVERRIDE" ] },
"name": { "str_sp": "impure meat" },
"description": "Not as tainted as previously and tastes like the real thing. You do not want to cook this for your friends, though if you do they won't know the difference for a while.",
"price": "1 USD"
"delete": { "proportional": { "price": 0.2, "calories": 0.5 } },
"calories": 201,
"price": "1 USD",
"extend": { "flags": [ "NUTRIENT_OVERRIDE" ] }
}
]
7 changes: 6 additions & 1 deletion data/mods/Magiclysm/requirements/cooking_components.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[
{
"id": "meat_raw_steak",
"id": "meat_red_raw_steak",
"type": "requirement",
"extend": { "components": [ [ [ "purified_meat", 1 ], [ "impure_meat", 1 ] ] ] }
},
{
"id": "meat_red_raw",
"type": "requirement",
"extend": { "components": [ [ [ "purified_meat", 1 ] ] ] }
}
]

0 comments on commit 83ecacd

Please sign in to comment.