Skip to content

Commit

Permalink
Merge pull request #38085 from snipercup/Comestible-name-to-object-4
Browse files Browse the repository at this point in the history
Comestible name to object
  • Loading branch information
ZhilkinSerg authored Feb 17, 2020
2 parents 2562909 + 0204d87 commit b69839c
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 42 deletions.
6 changes: 2 additions & 4 deletions data/json/items/comestibles/brewing.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@
{
"type": "COMESTIBLE",
"id": "brew_moonshine",
"name": "moonshine mash",
"name_plural": "moonshine mashes",
"name": { "str": "moonshine mash", "str_pl": "moonshine mashes" },
"description": "Unfermented moonshine. Just some water, sugar and corn, like good ol' aunt's recipe.",
"weight": "50 g",
"color": "brown",
Expand All @@ -324,8 +323,7 @@
{
"type": "COMESTIBLE",
"id": "wash_moonshine",
"name": "moonshine wash",
"name_plural": "moonshine washes",
"name": { "str": "moonshine wash", "str_pl": "moonshine washes" },
"description": "Fermented, but not distilled moonshine. Contains all the contaminants you don't want in your moonshine.",
"weight": "50 g",
"color": "brown",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@
"id": "jerky",
"copy-from": "flesh",
"type": "COMESTIBLE",
"name": "meat jerky",
"name_plural": "meat jerky",
"name": { "str": "meat jerky", "str_pl": "meat jerky" },
"conditional_names": [
{ "type": "FLAG", "condition": "CANNIBALISM", "name": { "str": "jerk jerky", "str_pl": "jerk jerky" } },
{ "type": "COMPONENT_ID", "condition": "mutant", "name": { "str": "monster jerky", "str_pl": "monster jerky" } }
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/drink.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,7 @@
{
"type": "COMESTIBLE",
"id": "milk",
"name": "milk",
"name_plural": "milk",
"name": { "str": "milk", "str_pl": "milk" },
"weight": "258 g",
"color": "white",
"spoils_in": "1 d",
Expand Down Expand Up @@ -946,8 +945,7 @@
"id": "water_mineral",
"copy-from": "water",
"type": "COMESTIBLE",
"name": "mineral water",
"name_plural": "mineral water",
"name": { "str": "mineral water", "str_pl": "mineral water" },
"description": "Fancy mineral water, so fancy it makes you feel fancy just holding it.",
"container": "bottle_plastic",
"proportional": { "quench": 1.2 },
Expand Down
9 changes: 3 additions & 6 deletions data/json/items/comestibles/drink_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"type": "COMESTIBLE",
"symbol": "~",
"color": "light_cyan",
"name": "maple sap",
"name_plural": "maple sap",
"name": { "str": "maple sap", "str_pl": "maple sap" },
"copy-from": "syrup",
"description": "A water and sugar solution that has been extracted from a maple tree.",
"price": 50,
Expand All @@ -51,8 +50,7 @@
"type": "COMESTIBLE",
"symbol": "~",
"color": "white",
"name": "mayonnaise",
"name_plural": "mayonnaise",
"name": { "str": "mayonnaise", "str_pl": "mayonnaise" },
"description": "A gloppy mix of egg, oil, and salt that is traditionally used to moisten sandwiches.",
"price": 187,
"material": [ "junk", "egg" ],
Expand Down Expand Up @@ -211,8 +209,7 @@
{
"type": "COMESTIBLE",
"id": "molasses",
"name": "molasses",
"name_plural": "molasses",
"name": { "str": "molasses", "str_pl": "molasses" },
"weight": "89 g",
"color": "brown",
"container": "jar_glass",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/frozen.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"type": "COMESTIBLE",
"id": "milkshake",
"name": "milkshake",
"name_plural": "milkshakes",
"name": { "str": "milkshake" },
"//": "they bring the boys to the yard",
"description": "An all-natural cold beverage made with milk and sweeteners. Tastes great when frozen.",
"weight": "160 g",
Expand Down
12 changes: 4 additions & 8 deletions data/json/items/comestibles/junkfood.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@
{
"type": "COMESTIBLE",
"id": "marshmallow",
"name": "marshmallows",
"name_plural": "marshmallows",
"name": { "str": "marshmallows", "str_pl": "marshmallows" },
"weight": "53 g",
"color": "white",
"spoils_in": "90 days",
Expand Down Expand Up @@ -338,8 +337,7 @@
{
"type": "COMESTIBLE",
"id": "maple_candy",
"name": "maple syrup candy",
"name_plural": "maple syrup candies",
"name": { "str": "maple syrup candy", "str_pl": "maple syrup candies" },
"weight": "18 g",
"color": "brown",
"spoils_in": "360 days",
Expand Down Expand Up @@ -719,8 +717,7 @@
{
"type": "COMESTIBLE",
"id": "nachosm",
"name": "meat nachos",
"name_plural": "meat nachos",
"name": { "str": "meat nachos", "str_pl": "meat nachos" },
"conditional_names": [
{ "type": "FLAG", "condition": "CANNIBALISM", "name": { "str": "niño nachos", "str_pl": "niño nachos" } },
{
Expand Down Expand Up @@ -749,8 +746,7 @@
{
"type": "COMESTIBLE",
"id": "nachosmc",
"name": "meat nachos with cheese",
"name_plural": "meat nachos with cheese",
"name": { "str": "meat nachos with cheese", "str_pl": "meat nachos with cheese" },
"conditional_names": [
{
"type": "FLAG",
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/meat_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,7 @@
{
"type": "COMESTIBLE",
"id": "deluxe_rice",
"name": "meat fried rice",
"name_plural": "meat fried rice",
"name": { "str": "meat fried rice", "str_pl": "meat fried rice" },
"conditional_names": [
{ "type": "COMPONENT_ID", "condition": "mutant", "name": { "str": "mutant fried rice", "str_pl": "mutant fried rice" } }
],
Expand Down Expand Up @@ -1166,8 +1165,7 @@
{
"type": "COMESTIBLE",
"id": "sushi_meatroll",
"name": "meat temaki",
"name_plural": "meat temaki",
"name": { "str": "meat temaki", "str_pl": "meat temaki" },
"conditional_names": [ { "type": "COMPONENT_ID", "condition": "mutant", "name": { "str": "troubling %s", "str_pl": "troubling %s" } } ],
"weight": "273 g",
"color": "green",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/med.json
Original file line number Diff line number Diff line change
Expand Up @@ -1262,8 +1262,7 @@
"id": "weed",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "marijuana",
"name_plural": "marijuana",
"name": { "str": "marijuana", "str_pl": "marijuana" },
"description": "The dried flower buds and leaves harvested from a psychoactive variety of hemp plant. Used to reduce nausea, stimulate appetite and elevate mood. It can be habit-forming, and adverse reactions are possible.",
"weight": "1 g",
"volume": "250 ml",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/mutagen.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,7 @@
"type": "COMESTIBLE",
"id": "fetus",
"category": "other",
"name": "misshapen fetus",
"name_plural": "misshapen fetuses",
"name": { "str": "misshapen fetus", "str_pl": "misshapen fetuses" },
"weight": "760 g",
"color": "pink",
"spoils_in": "2 days",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
{
"type": "COMESTIBLE",
"id": "marloss_berry",
"name": "marloss berry",
"name_plural": "marloss berries",
"name": { "str": "marloss berry", "str_pl": "marloss berries" },
"weight": "177 g",
"color": "pink",
"addiction_type": "marloss_r",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/sandwich.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@
{
"type": "COMESTIBLE",
"id": "sandwich_t",
"name": "meat sandwich",
"name_plural": "meat sandwiches",
"name": { "str": "meat sandwich", "str_pl": "meat sandwiches" },
"conditional_names": [
{ "type": "FLAG", "condition": "CANNIBALISM", "name": { "str": "slob sandwich", "str_pl": "slob sandwiches" } },
{ "type": "COMPONENT_ID", "condition": "mutant", "name": { "str": "mutant %s", "str_pl": "mutant %s" } }
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,7 @@
"type": "COMESTIBLE",
"id": "seed_mushroom_morel",
"copy-from": "seed_mushroom_base",
"name": "morel mushroom spores",
"name_plural": "morel mushroom spores",
"name": { "str": "morel mushroom spores", "str_pl": "morel mushroom spores" },
"description": "Some morel mushroom spores.",
"seed_data": { "plant_name": "morel mushroom", "fruit": "mushroom_morel", "grow": "91 days" }
},
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/wheat.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@
{
"type": "COMESTIBLE",
"id": "macaroni_cooked",
"name": "mac & cheese",
"name_plural": "mac & cheese",
"name": { "str": "mac & cheese", "str_pl": "mac & cheese" },
"weight": "209 g",
"color": "yellow",
"spoils_in": "10 hours",
Expand Down

0 comments on commit b69839c

Please sign in to comment.