Skip to content
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

Comestible name to object, flags to array #38069

Merged
merged 1 commit into from
Feb 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions data/json/items/chemicals_and_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@
"type": "COMESTIBLE",
"id": "insecticide",
"category": "chems",
"name": "insecticide",
"name_plural": "insecticide",
"name": { "str": "insecticide", "str_pl": "insecticide" },
"weight": "1 g",
"//": "Typically sold in larger quantities, but that's handed in the charge count.",
"color": "pink",
Expand Down
3 changes: 1 addition & 2 deletions data/json/items/comestibles/brewing.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
{
"type": "COMESTIBLE",
"id": "gin_mash",
"name": "gin mash",
"name_plural": "gin mashes",
"name": { "str": "gin mash", "str_pl": "gin mashes" },
"description": "Gin mash, after the junipers have had time to add flavor, ready to be distilled or drunk as is.",
"weight": "33 g",
"color": "yellow",
Expand Down
9 changes: 3 additions & 6 deletions data/json/items/comestibles/dairy.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@
{
"type": "COMESTIBLE",
"id": "ghee",
"name": "ghee",
"name_plural": "ghee",
"name": { "str": "ghee", "str_pl": "ghee" },
"copy-from": "butter",
"weight": "13500 mg",
"spoils_in": "90 days",
Expand Down Expand Up @@ -178,8 +177,7 @@
{
"type": "COMESTIBLE",
"id": "cheese_hard",
"name": "hard cheese",
"name_plural": "hard cheese",
"name": { "str": "hard cheese", "str_pl": "hard cheese" },
"weight": "34 g",
"color": "yellow",
"spoils_in": "180 days",
Expand Down Expand Up @@ -286,8 +284,7 @@
{
"type": "COMESTIBLE",
"id": "milk_cream",
"name": "heavy cream",
"name_plural": "heavy cream",
"name": { "str": "heavy cream", "str_pl": "heavy cream" },
"weight": "254 g",
"color": "white",
"spoils_in": "1 day",
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 @@ -443,8 +443,7 @@
{
"type": "COMESTIBLE",
"id": "herbal_tea",
"name": "herbal tea",
"name_plural": "herbal tea",
"name": { "str": "herbal tea", "str_pl": "herbal tea" },
"weight": "250 g",
"color": "green",
"container": "bottle_plastic",
Expand All @@ -466,8 +465,7 @@
"id": "hot_chocolate",
"type": "COMESTIBLE",
"category": "food",
"name": "hot chocolate",
"name_plural": "hot chocolate",
"name": { "str": "hot chocolate", "str_pl": "hot chocolate" },
"description": "Also known as hot cocoa, this heated chocolate beverage is perfect for a cold winter day.",
"weight": "289 g",
"volume": "250 ml",
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/comestibles/frozen.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
{
"type": "COMESTIBLE",
"id": "icecream",
"name": "ice cream",
"name_plural": "ice cream scoops",
"name": { "str": "ice cream", "str_pl": "ice cream scoops" },
"description": "A sweet, frozen food made of milk with liberal amounts of sugar.",
"weight": "70 g",
"volume": "250 ml",
Expand Down Expand Up @@ -161,8 +160,7 @@
"type": "COMESTIBLE",
"copy-from": "icecream",
"id": "icecream_gelato",
"name": "gelato",
"name_plural": "gelato scoops",
"name": { "str": "gelato", "str_pl": "gelato scoops" },
"description": "Italian-style ice cream. Less airy, and more dense, giving it a richer flavor and texture.",
"calories": 240,
"price": 300,
Expand Down
9 changes: 3 additions & 6 deletions data/json/items/comestibles/med.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@
"id": "chem_hydrogen_peroxide",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "hydrogen peroxide",
"name_plural": "hydrogen peroxide",
"name": { "str": "hydrogen peroxide", "str_pl": "hydrogen peroxide" },
"description": "Dilute hydrogen peroxide, for use as an antiseptic and for bleaching hair or textiles. Foams a little when in contact with organic matter, but otherwise harmless.",
"weight": "28 g",
"volume": "250 ml",
Expand Down Expand Up @@ -638,8 +637,7 @@
"id": "heroin",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "heroin",
"name_plural": "heroin",
"name": { "str": "heroin", "str_pl": "heroin" },
"description": "An extremely strong opioid narcotic derived from morphine. Incredibly addictive, the risk of overdose is extreme, and the drug is contraindicated for nearly all medical purposes.",
"weight": "1 g",
"volume": "250 ml",
Expand Down Expand Up @@ -1001,8 +999,7 @@
"id": "quikclot",
"type": "COMESTIBLE",
"comestible_type": "MED",
"name": "hemostatic powder",
"name_plural": "hemostatic powder",
"name": { "str": "hemostatic powder", "str_pl": "hemostatic powder" },
"description": "A powdered antihemorrhagic compound that reacts with blood to immediately form a gel-like substance that stops bleeding.",
"weight": "5 g",
"volume": "250 ml",
Expand Down
5 changes: 2 additions & 3 deletions data/json/items/comestibles/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,7 @@
{
"type": "COMESTIBLE",
"id": "grass",
"name": "grass",
"name_plural": "grasses",
"name": { "str": "grass", "str_pl": "grasses" },
"weight": "100 g",
"color": "green",
"comestible_type": "FOOD",
Expand All @@ -643,7 +642,7 @@
"description": "Some grass, edible by grazers and ruminants only. Seeing this item is a bug.",
"price": 0,
"material": "veggy",
"flags": "TRADER_AVOID",
"flags": [ "TRADER_AVOID" ],
"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 @@ -388,8 +388,7 @@
{
"type": "COMESTIBLE",
"id": "hops",
"name": "hops flower",
"name_plural": "hops flowers",
"name": { "str": "hops flower", "str_pl": "hops flowers" },
"weight": "92 g",
"color": "light_green",
"comestible_type": "FOOD",
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 @@ -2,8 +2,7 @@
{
"type": "COMESTIBLE",
"id": "sandwich_cheese_grilled",
"name": "grilled cheese sandwich",
"name_plural": "grilled cheese sandwiches",
"name": { "str": "grilled cheese sandwich", "str_pl": "grilled cheese sandwiches" },
"weight": "106 g",
"color": "brown",
"spoils_in": "1 day 10 hours",
Expand Down
12 changes: 4 additions & 8 deletions data/json/items/comestibles/seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"id": "seed_hops",
"copy-from": "seed",
"type": "COMESTIBLE",
"name": "hop rhizomes",
"name_plural": "hop rhizomes",
"name": { "str": "hop rhizomes", "str_pl": "hop rhizomes" },
"description": "Roots of a hop plant, for growing your own.",
"weight": "152 g",
"price": 160,
Expand Down Expand Up @@ -75,8 +74,7 @@
"id": "seed_huckleberries",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": "huckleberry seeds",
"name_plural": "huckleberry seeds",
"name": { "str": "huckleberry seeds", "str_pl": "huckleberry seeds" },
"description": "Some huckleberry seeds.",
"seed_data": { "plant_name": "huckleberry", "fruit": "huckleberries", "byproducts": [ "withered" ], "grow": "91 days" }
},
Expand Down Expand Up @@ -119,8 +117,7 @@
"id": "seed_grapes",
"copy-from": "seed_fruit",
"type": "COMESTIBLE",
"name": "grape seeds",
"name_plural": "grape seeds",
"name": { "str": "grape seeds", "str_pl": "grape seeds" },
"description": "Some grape seeds.",
"seed_data": { "plant_name": "grape", "fruit": "grapes", "byproducts": [ "withered" ], "grow": "91 days" }
},
Expand Down Expand Up @@ -243,8 +240,7 @@
"id": "seed_garlic",
"copy-from": "seed",
"price": 50,
"name": "garlic seeds",
"name_plural": "garlic seeds",
"name": { "str": "garlic seeds", "str_pl": "garlic seeds" },
"description": "Some garlic seeds.",
"seed_data": { "plant_name": "garlic", "fruit": "garlic", "byproducts": [ "withered" ], "grow": "65 days" }
},
Expand Down