Skip to content

Commit

Permalink
Name to object
Browse files Browse the repository at this point in the history
  • Loading branch information
snipercup committed Feb 13, 2020
1 parent 3a8c5fb commit a1139ae
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 38 deletions.
3 changes: 1 addition & 2 deletions data/json/items/comestibles/alcohol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,7 @@
"type": "COMESTIBLE",
"id": "cheap_whiskey",
"copy-from": "whiskey",
"name": "cheap whiskey",
"name_plural": "cheap whiskey",
"name": { "str": "cheap whiskey", "str_pl": "cheap whiskey" },
"description": "Really cheap blended whiskey.",
"price": 1800,
"fun": 12
Expand Down
12 changes: 4 additions & 8 deletions data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@
"id": "meat",
"copy-from": "flesh",
"type": "COMESTIBLE",
"name": "chunk of meat",
"name_plural": "chunks of meat",
"name": { "str": "chunk of meat", "str_pl": "chunks of meat" },
"description": "Freshly butchered meat. You could eat it raw, but cooking it is better.",
"weight": "296 g",
"volume": "250 ml",
Expand Down Expand Up @@ -137,8 +136,7 @@
"id": "mutant_meat",
"type": "COMESTIBLE",
"copy-from": "meat",
"name": "chunk of mutant meat",
"name_plural": "chunks of mutant meat",
"name": { "str": "chunk of mutant meat", "str_pl": "chunks of mutant meat" },
"description": "Meat from a heavily mutated animal. It has an unsettling loose and spongy texture, but smells… mostly normal. There are strange tangles and formations in it that don't appear natural at all: bits of bone and hair crusted up inside the muscle, as if trying to form another organism. Still, seems digestible at least, if you cook it and remove the worst parts.",
"looks_like": "meat",
"cooks_like": "mutant_meat_cooked",
Expand Down Expand Up @@ -622,8 +620,7 @@
"id": "mutant_fat",
"type": "COMESTIBLE",
"copy-from": "fat",
"name": "chunk of mutant fat",
"name_plural": "chunks of mutant fat",
"name": { "str": "chunk of mutant fat", "str_pl": "chunks of mutant fat" },
"description": "Freshly butchered fat from a heavily mutated animal. You could eat it raw, but it is better used as an ingredient in other foods or projects.",
"looks_like": "fat",
"proportional": { "price": 0.2 },
Expand Down Expand Up @@ -673,8 +670,7 @@
"type": "COMESTIBLE",
"id": "meat_tainted",
"category": "other",
"name": "chunk of tainted meat",
"name_plural": "chunks of tainted meat",
"name": { "str": "chunk of tainted meat", "str_pl": "chunks of tainted meat" },
"weight": "238 g",
"color": "red",
"spoils_in": "4 hours",
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 @@ -145,8 +145,7 @@
{
"type": "COMESTIBLE",
"id": "chamomile_tea",
"name": "chamomile tea",
"name_plural": "chamomile tea",
"name": { "str": "chamomile tea", "str_pl": "chamomile tea" },
"copy-from": "tea",
"color": "green",
"use_action": "SLEEP",
Expand Down Expand Up @@ -225,8 +224,7 @@
{
"type": "COMESTIBLE",
"id": "chicory_coffee",
"name": "chicory brew",
"name_plural": "chicory brew",
"name": { "str": "chicory brew", "str_pl": "chicory brew" },
"weight": "252 g",
"color": "brown",
"comestible_type": "DRINK",
Expand Down
18 changes: 6 additions & 12 deletions data/json/items/comestibles/junkfood.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@
{
"type": "COMESTIBLE",
"id": "candy2",
"name": "chocolate candy",
"name_plural": "chocolate candies",
"name": { "str": "chocolate candy", "str_pl": "chocolate candies" },
"weight": "57 g",
"color": "red",
"spoils_in": "360 days",
Expand All @@ -298,8 +297,7 @@
{
"type": "COMESTIBLE",
"id": "candy3",
"name": "chewy candy",
"name_plural": "chewy candies",
"name": { "str": "chewy candy", "str_pl": "chewy candy" },
"weight": "46 g",
"color": "yellow",
"spoils_in": "360 days",
Expand Down Expand Up @@ -701,8 +699,7 @@
{
"type": "COMESTIBLE",
"id": "nachosc",
"name": "cheese nachos",
"name_plural": "cheese nachos",
"name": { "str": "cheese nachos", "str_pl": "cheese nachos" },
"weight": "85 g",
"color": "yellow",
"spoils_in": "1 day",
Expand Down Expand Up @@ -891,8 +888,7 @@
{
"type": "COMESTIBLE",
"id": "chilidogs",
"name": "chili dogs",
"name_plural": "chili dogs",
"name": { "str": "chili dogs", "str_pl": "chili dogs" },
"weight": "318 g",
"color": "red",
"spoils_in": "1 day",
Expand Down Expand Up @@ -947,8 +943,7 @@
"type": "COMESTIBLE",
"id": "choc_pancakes",
"copy-from": "pancakes",
"name": "chocolate pancake",
"name_plural": "chocolate pancakes",
"name": { "str": "chocolate pancake", "str_pl": "chocolate pancakes" },
"weight": "78 g",
"healthy": 0,
"calories": 219,
Expand Down Expand Up @@ -1002,8 +997,7 @@
{
"type": "COMESTIBLE",
"id": "cheese_fries",
"name": "cheese fries",
"name_plural": "cheese fries",
"name": { "str": "cheese fries", "str_pl": "cheese fries" },
"weight": "101 g",
"color": "yellow",
"spoils_in": "3 days",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/meat_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,7 @@
{
"type": "COMESTIBLE",
"id": "chili",
"name": "chili con carne",
"name_plural": "chilis con carne",
"name": { "str": "chili con carne", "str_pl": "chilis con carne" },
"conditional_names": [
{ "type": "FLAG", "condition": "CANNIBALISM", "name": { "str": "chili con cabron", "str_pl": "chilis con cabron" } },
{
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 @@ -600,8 +600,7 @@
"id": "gum",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "chewing gum",
"name_plural": "chewing gum",
"name": { "str": "chewing gum", "str_pl": "chewing gum" },
"description": "Bright pink chewing gum. Sugary, sweet, and bad for your teeth.",
"category": "food",
"weight": "3 g",
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 @@ -204,8 +204,7 @@
{
"type": "COMESTIBLE",
"id": "meal_chitin_piece",
"name": "chitin powder",
"name_plural": "chitin powder",
"name": { "str": "chitin powder", "str_pl": "chitin powder" },
"weight": "112 g",
"color": "brown",
"comestible_type": "FOOD",
Expand Down
9 changes: 3 additions & 6 deletions data/json/items/comestibles/seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,7 @@
"type": "COMESTIBLE",
"id": "seed_chicory",
"copy-from": "seed",
"name": "chicory seeds",
"name_plural": "chicory seeds",
"name": { "str": "chicory seeds", "str_pl": "chicory seeds" },
"color": "green",
"description": "Some chicory seeds.",
"charges": 2,
Expand Down Expand Up @@ -366,8 +365,7 @@
"id": "seed_chili_pepper",
"copy-from": "seed",
"price": 50,
"name": "chili pepper seeds",
"name_plural": "chili pepper seeds",
"name": { "str": "chili pepper seeds", "str_pl": "chili pepper seeds" },
"color": "white",
"description": "Some chili pepper seeds.",
"seed_data": { "plant_name": "chili pepper", "fruit": "chili_pepper", "byproducts": [ "withered" ], "grow": "65 days" }
Expand Down Expand Up @@ -778,8 +776,7 @@
"id": "seed_chamomile",
"copy-from": "seed",
"looks_like": "seed_raw_dandelion",
"name": "chamomile seeds",
"name_plural": "chamomile seeds",
"name": { "str": "chamomile seeds", "str_pl": "chamomile seeds" },
"description": "Some chamomile seeds.",
"seed_data": { "plant_name": "chamomile", "fruit": "chamomile", "byproducts": [ "withered" ], "grow": "91 days" }
}
Expand Down

0 comments on commit a1139ae

Please sign in to comment.