-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Added Gelatin and Several Gelatin Based Recipes #47080
Merged
Merged
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f666ed1
added gelatin items and recipes to craft them, added 4 flavors of gel…
grawprog 25c6d57
merged files
grawprog 76e0195
Finished recipes for gelatin and gummy candies. Added Vegan variants …
grawprog 4c45d8b
added agar as alternative in aspic recipe
grawprog d115108
fixed mistake
grawprog fc57134
Update data/json/recipes/food/other.json
grawprog 8da8420
Update data/json/recipes/food/other.json
grawprog 1225269
Update data/json/recipes/food/other.json
grawprog f2391d2
Update data/json/recipes/food/other.json
grawprog f1a7fa1
Update data/json/recipes/food/other.json
grawprog 1b26b42
Update data/json/recipes/food/other.json
grawprog db471be
Update data/json/recipes/food/other.json
grawprog 0929bb8
Update data/json/recipes/food/other.json
grawprog 984dc6b
Update data/json/requirements/cooking_components.json
grawprog 55376e9
Update data/json/recipes/food/other.json
grawprog 152be2a
Update data/json/recipes/food/other.json
grawprog 33334a0
Update data/json/recipes/food/other.json
BrettDong 1ce4cd0
Merge https://github.com/CleverRaven/Cataclysm-DDA
grawprog c0a9e95
Tried using snippets to condense the flavours. This ended up leading…
grawprog add5285
Fixed grammar errors in descriptions.
grawprog ba4fb32
adjusted recipes to not use thousands of calories worth of ingredients.
grawprog 1ccae02
Merge https://github.com/CleverRaven/Cataclysm-DDA
grawprog 5a8b406
fixed errors with calories in recipes.
grawprog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -316,6 +316,48 @@ | |
"charges": 3, | ||
"fun": 3 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "candy4", | ||
"name": { "str_sp": "gummy candy" }, | ||
"weight": "46 g", | ||
"color": "yellow", | ||
"spoils_in": "360 days", | ||
"container": "bag_plastic", | ||
"comestible_type": "FOOD", | ||
"symbol": "%", | ||
"healthy": -1, | ||
"calories": 85, | ||
"description": "A handful of colorful fruit and soda pop flavored gummy candies.", | ||
"price": 180, | ||
"price_postapoc": 200, | ||
"material": [ "junk", "flesh" ], | ||
"volume": "90 ml", | ||
"flags": [ "EDIBLE_FROZEN" ], | ||
"charges": 3, | ||
"fun": 5 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "candy5", | ||
"name": { "str_sp": "gummy candy" }, | ||
"weight": "46 g", | ||
"color": "light_green", | ||
"spoils_in": "360 days", | ||
"container": "bag_plastic", | ||
"comestible_type": "FOOD", | ||
"symbol": "%", | ||
"healthy": -1, | ||
"calories": 85, | ||
"description": "A handful of colorful fruit and soda pop flavored vegan gummy candies made from agar. They have kind of a strange texture, but they're still tasty.", | ||
"price": 180, | ||
"price_postapoc": 200, | ||
"material": [ "junk", "veggy" ], | ||
"volume": "90 ml", | ||
"flags": [ "EDIBLE_FROZEN" ], | ||
"charges": 3, | ||
"fun": 4 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "candy3gator", | ||
|
@@ -1288,5 +1330,152 @@ | |
"flags": [ "EATEN_HOT" ], | ||
"vitamins": [ [ "vitA", 3 ], [ "iron", 10 ] ], | ||
"fun": 4 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_powder_base", | ||
"name": "gelatin dessert powder", | ||
"weight": "175 g", | ||
"color": "white", | ||
"spoils_in": "1461 days", | ||
"container": "box_small", | ||
"comestible_type": "FOOD", | ||
"symbol": "%", | ||
"quench": -8, | ||
"calories": 20, | ||
"description": "A small box of gelatin dessert powder. Just add water and set. Comes in a variety of flavors.", | ||
"price": 5, | ||
"price_postapoc": 10, | ||
"material": [ "flesh", "junk" ], | ||
"volume": "250ml", | ||
"flags": [ "EATEN_COLD" ], | ||
"fun": -2 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_powder_cherry", | ||
"name": "cherry gelatin dessert powder", | ||
"color": "red", | ||
"description": "A small box of cherry gelatin dessert powder. Just add water and set.", | ||
"copy-from": "gelatin_dessert_powder_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_powder_lime", | ||
"name": "lime gelatin dessert powder", | ||
"color": "light_green", | ||
"description": "A small box of lime gelatin dessert powder. Just add water and set.", | ||
"copy-from": "gelatin_dessert_powder_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_powder_grape", | ||
"name": "grape gelatin dessert powder", | ||
"color": "magenta", | ||
"description": "A small box of grape gelatin dessert powder. Just add water and set.", | ||
"copy-from": "gelatin_dessert_powder_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_powder_raspberry", | ||
"name": "blue raspberry gelatin dessert powder", | ||
"color": "cyan", | ||
"description": "A small box of blue raspberry gelatin dessert powder. Just add water and set.", | ||
"copy-from": "gelatin_dessert_powder_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_base", | ||
"name": "unflavored gelatin dessert", | ||
"weight": "232 g", | ||
"color": "white", | ||
"spoils_in": "7 days 12 hours", | ||
"container": "cup_plastic", | ||
"comestible_type": "FOOD", | ||
"symbol": "%", | ||
"calories": 100, | ||
"description": "An unflavored jiggly, sugary treat made from gelatin and sugar. This would taste better with some flavor.", | ||
"price": 210, | ||
"price_postapoc": 250, | ||
"material": [ "flesh", "junk" ], | ||
"volume": "250 ml", | ||
"phase": "solid", | ||
"fun": 5 | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_cherry", | ||
"name": "cherry gelatin dessert", | ||
"color": "red", | ||
"description": "A cherry flavored jiggly, sugary treat made from gelatin and sugar. A kid favorite pre-Cataclysm.", | ||
"fun": 20, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This and the other flavored gelatins compressed into snippets for one flavored version in addition to an unflavored, as well. |
||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_lime", | ||
"name": "lime gelatin dessert", | ||
"color": "light_green", | ||
"description": "A lime flavored jiggly, sugary treat made from gelatin and sugar. A kid favorite pre-Cataclysm.", | ||
"fun": 20, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_grape", | ||
"name": "grape gelatin dessert", | ||
"color": "magenta", | ||
"description": "A grape flavored jiggly, sugary treat made from gelatin and sugar. A kid favorite pre-Cataclysm.", | ||
"fun": 20, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_raspberry", | ||
"name": "blue raspberry gelatin dessert", | ||
"color": "cyan", | ||
"description": "A blue raspberry flavored jiggly, sugary treat made from gelatin and sugar. A kid favorite pre-Cataclysm.", | ||
"fun": 20, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_homemade", | ||
"name": "homemade gelatin dessert", | ||
"color": "light_red", | ||
"description": "A homemade jiggly, sugary treat made from gelatin and sugar flavored with fruit juice. A kid favorite pre-Cataclysm.", | ||
"fun": 25, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_fruit", | ||
"name": "fruit filled gelatin dessert", | ||
"color": "light_red", | ||
"description": "A jiggly, sugary treat made from gelatin and sugar flavored with fruit juice and set with fruit. A kid favorite pre-Cataclysm and a healthy treat", | ||
"fun": 20, | ||
"healthy": 1, | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_vegan", | ||
"name": "vegan gelatin dessert", | ||
"color": "light_green", | ||
"description": "A vegan friendly homemade jiggly, sugary treat made from agar and sugar flavored with fruit juice. A kid favorite pre-Cataclysm. They'll never know the difference.", | ||
"fun": 20, | ||
"material": [ "veggy", "junk" ], | ||
"copy-from": "gelatin_dessert_base" | ||
}, | ||
{ | ||
"type": "COMESTIBLE", | ||
"id": "gelatin_dessert_vegan_fruit", | ||
"name": "fruit filled vegan gelatin dessert", | ||
"color": "light_green", | ||
"description": "A vegan friendly jiggly, sugary treat made from agar and sugar flavored with fruit juice and set with fruit. A kid favorite pre-Cataclysm and a healthy treat", | ||
"fun": 15, | ||
"material": [ "veggy", "junk" ], | ||
"healthy": 1, | ||
"copy-from": "gelatin_dessert_base" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the other flavors should be compressed into snippets for a single gelatin dessert powder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be happy to change that. I'm not entirely sure how snippets work though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does snippets work with recipes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a reference, check out cooked mutant meat. Basically you have a generic decription in the item and an added
"snippet_category"
field, and you define a set of snippets with an id separately. A random snippet will be shown after the generic description and if you set the id up right it will persist between viewing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data/json/items/comestibles/carnivore.json
has some examples of comestibles with snippets. For example,"mutant_meat"
has snippet category"mutant_meat_desc"
. But I don't think that will add the correct snippet based on components used in crafting. It also does not change the item's name.Conditional names can be used to change the item's name based on its components, but that currently does not change the description. And I don't think you can spawn items with specified components at the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I'll have a look through those sections and see what I can do to clean up and compress the different flavours after work today.