Skip to content

Commit

Permalink
Comestible name to object
Browse files Browse the repository at this point in the history
  • Loading branch information
snipercup committed Feb 15, 2020
1 parent f78ff95 commit 4140c48
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 48 deletions.
6 changes: 2 additions & 4 deletions data/json/items/comestibles/drink.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@
{
"type": "COMESTIBLE",
"id": "crispycran",
"name": "crispy cranberry",
"name_plural": "crispy cranberries",
"name": { "str": "crispy cranberry", "str_pl": "crispy cranberries" },
"weight": "250 g",
"color": "pink",
"container": "can_drink",
Expand All @@ -361,8 +360,7 @@
{
"type": "COMESTIBLE",
"id": "dandelion_tea",
"name": "dandelion tea",
"name_plural": "dandelion tea",
"name": { "str": "dandelion tea", "str_pl": "dandelion tea" },
"weight": "252 g",
"color": "yellow",
"comestible_type": "DRINK",
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 @@ -42,8 +42,7 @@
"type": "COMESTIBLE",
"copy-from": "milkshake",
"id": "milkshake_deluxe",
"name": "deluxe milkshake",
"name_plural": "deluxe milkshakes",
"name": { "str": "deluxe milkshake" },
"description": "This milkshake has been enhanced with added sweeteners, and even has a cherry on top. Tastes great, but is fairly awful for your health.",
"calories": 265,
"quench": 40,
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/fruit_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@
{
"type": "COMESTIBLE",
"id": "dry_fruit",
"name": "dehydrated fruit",
"name_plural": "dehydrated fruit",
"name": { "str": "dehydrated fruit", "str_pl": "dehydrated fruit" },
"weight": "75 g",
"color": "magenta",
"spoils_in": "360 days",
Expand Down
12 changes: 4 additions & 8 deletions data/json/items/comestibles/meat_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@
{
"type": "COMESTIBLE",
"id": "cracklins",
"name": "cracklins",
"name_plural": "cracklins",
"name": { "str": "cracklins", "str_pl": "cracklins" },
"weight": "42 g",
"color": "brown",
"spoils_in": "7 days",
Expand Down Expand Up @@ -265,8 +264,7 @@
{
"type": "COMESTIBLE",
"id": "dry_fish",
"name": "dehydrated fish",
"name_plural": "dehydrated fish",
"name": { "str": "dehydrated fish", "str_pl": "dehydrated fish" },
"copy-from": "fish_cooked",
"primary_material": "cured_meat",
"weight": "85 g",
Expand Down Expand Up @@ -762,8 +760,7 @@
{
"type": "COMESTIBLE",
"id": "deluxe_beansnrice",
"name": "deluxe beans and rice",
"name_plural": "deluxe beans and rice",
"name": { "str": "deluxe beans and rice", "str_pl": "deluxe beans and rice" },
"conditional_names": [
{
"type": "COMPONENT_ID",
Expand Down Expand Up @@ -854,8 +851,7 @@
{
"type": "COMESTIBLE",
"id": "deluxe_eggs",
"name": "deluxe scrambled eggs",
"name_plural": "deluxe scrambled eggs",
"name": { "str": "deluxe scrambled eggs", "str_pl": "deluxe scrambled eggs" },
"conditional_names": [
{
"type": "COMPONENT_ID",
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/med.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@
"id": "cotton_ball",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "cotton balls",
"name_plural": "cotton balls",
"name": { "str": "cotton balls", "str_pl": "cotton balls" },
"description": "Fluffy balls of clean white cotton. Can serve as makeshift bandages in an emergency.",
"category": "spare_parts",
"weight": "22 g",
Expand All @@ -452,8 +451,7 @@
"id": "crack",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "crack",
"name_plural": "crack",
"name": { "str": "crack", "str_pl": "crack" },
"description": "Deprotonated cocaine crystals, incredibly addictive and deleterious to brain chemistry.",
"weight": "1 g",
"volume": "250 ml",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/raw_veggy.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@
{
"type": "COMESTIBLE",
"id": "corn",
"name": "corn",
"name_plural": "corn",
"name": { "str": "corn", "str_pl": "corn" },
"weight": "153 g",
"color": "light_green",
"spoils_in": "5 days",
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/sandwich.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
{
"type": "COMESTIBLE",
"id": "sandwich_deluxe",
"name": "deluxe sandwich",
"name_plural": "deluxe sandwiches",
"name": { "str": "deluxe sandwich", "str_pl": "deluxe sandwiches" },
"conditional_names": [
{
"type": "COMPONENT_ID",
Expand Down Expand Up @@ -54,8 +53,7 @@
{
"type": "COMESTIBLE",
"id": "sandwich_cucumber",
"name": "cucumber sandwich",
"name_plural": "cucumber sandwiches",
"name": { "str": "cucumber sandwich", "str_pl": "cucumber sandwiches" },
"weight": "500 g",
"color": "light_green",
"spoils_in": "1 day 12 hours",
Expand Down
24 changes: 8 additions & 16 deletions data/json/items/comestibles/seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
"id": "seed_cranberries",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": "cranberry seeds",
"name_plural": "cranberry seeds",
"name": { "str": "cranberry seeds", "str_pl": "cranberry seeds" },
"description": "Some cranberry seeds.",
"seed_data": { "plant_name": "cranberry", "fruit": "cranberries", "byproducts": [ "withered" ], "grow": "91 days" }
},
Expand Down Expand Up @@ -204,8 +203,7 @@
"id": "seed_cotton_boll",
"copy-from": "seed",
"price": 50,
"name": "cotton seeds",
"name_plural": "cotton seeds",
"name": { "str": "cotton seeds", "str_pl": "cotton seeds" },
"description": "Some cotton seeds. Can be processed to produce an edible oil.",
"weight": "5 g",
"charges": 8,
Expand Down Expand Up @@ -264,8 +262,7 @@
"type": "COMESTIBLE",
"id": "seed_dahlia",
"copy-from": "seed",
"name": "dahlia seeds",
"name_plural": "dahlia seeds",
"name": { "str": "dahlia seeds", "str_pl": "dahlia seeds" },
"color": "green",
"description": "Some dahlia seeds.",
"seed_data": { "plant_name": "dahlia", "fruit": "dahlia_root", "byproducts": [ "withered" ], "grow": "91 days" }
Expand Down Expand Up @@ -305,8 +302,7 @@
"type": "COMESTIBLE",
"id": "seed_flower",
"copy-from": "seed",
"name": "decorative plant seeds",
"name_plural": "decorative plant seeds",
"name": { "str": "decorative plant seeds", "str_pl": "decorative plant seeds" },
"color": "green",
"description": "Some small decorative plant seeds, likely grass or flower. Don't expect them to be useful for anything other than dry plant material.",
"seed_data": { "plant_name": "decorative plant", "fruit": "withered", "grow": "91 days" }
Expand Down Expand Up @@ -355,8 +351,7 @@
"id": "seed_corn",
"copy-from": "seed",
"price": 50,
"name": "corn seeds",
"name_plural": "corn seeds",
"name": { "str": "corn seeds", "str_pl": "corn seeds" },
"description": "Some corn seeds.",
"seed_data": { "plant_name": "corn", "fruit": "corn", "byproducts": [ "withered" ], "grow": "80 days" }
},
Expand All @@ -375,8 +370,7 @@
"id": "seed_cucumber",
"copy-from": "seed",
"price": 50,
"name": "cucumber seeds",
"name_plural": "cucumber seeds",
"name": { "str": "cucumber seeds", "str_pl": "cucumber seeds" },
"description": "Some cucumber seeds.",
"seed_data": { "plant_name": "cucumber", "fruit": "cucumber", "byproducts": [ "withered" ], "grow": "60 days" }
},
Expand Down Expand Up @@ -603,8 +597,7 @@
"type": "COMESTIBLE",
"id": "seed_raw_dandelion",
"copy-from": "seed",
"name": "dandelion seeds",
"name_plural": "dandelion seeds",
"name": { "str": "dandelion seeds", "str_pl": "dandelion seeds" },
"color": "green",
"description": "Some dandelion seeds.",
"charges": 2,
Expand Down Expand Up @@ -643,8 +636,7 @@
"type": "COMESTIBLE",
"copy-from": "seed",
"comestible_type": "MED",
"name": "datura seeds",
"name_plural": "datura seeds",
"name": { "str": "datura seeds", "str_pl": "datura seeds" },
"description": "Small, dark seeds from the spiny pods of a datura plant. Full of powerful psychoactive chemicals, these tiny seeds are a potent analgesic and deliriant, and can be deadly in cases of overdose.",
"weight": "2 g",
"price": 0,
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/veggy_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@
{
"type": "COMESTIBLE",
"id": "can_corn",
"name": "corn",
"name_plural": "corn",
"name": { "str": "corn", "str_pl": "corn" },
"comestible_type": "FOOD",
"weight": "178 g",
"color": "yellow",
Expand Down Expand Up @@ -294,8 +293,7 @@
{
"type": "COMESTIBLE",
"id": "deluxe_veggy_beansnrice",
"name": "deluxe vegetarian beans and rice",
"name_plural": "deluxe vegetarian beans and rice",
"name": { "str": "deluxe vegetarian beans and rice", "str_pl": "deluxe vegetarian beans and rice" },
"weight": "140 g",
"color": "brown",
"spoils_in": "15 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 @@ -226,8 +226,7 @@
{
"type": "COMESTIBLE",
"id": "oatmeal_deluxe",
"name": "deluxe cooked oatmeal",
"name_plural": "deluxe cooked oatmeal",
"name": { "str": "deluxe cooked oatmeal", "str_pl": "deluxe cooked oatmeal" },
"weight": "164 g",
"color": "light_gray",
"spoils_in": "10 days",
Expand Down

0 comments on commit 4140c48

Please sign in to comment.