More injectable food, condiment fixes, migrate Salt to TableSalt (#4846)

This commit is contained in:
20kdc
2021-10-13 09:03:12 +01:00
committed by GitHub
parent 2f3914e01e
commit 6d7b037dd6
12 changed files with 61 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodBreadBase id: FoodBreadBase
abstract: true abstract: true
components: components:
@@ -12,7 +12,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 20 maxVol: 26
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 20 Quantity: 20
@@ -25,7 +25,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 7 maxVol: 8
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 7 Quantity: 7

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodCakeBase id: FoodCakeBase
abstract: true abstract: true
components: components:
@@ -13,7 +13,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 20 maxVol: 26
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 20 Quantity: 20
@@ -29,7 +29,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 7 maxVol: 8
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 7 Quantity: 7

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodDonkpocketBase id: FoodDonkpocketBase
abstract: true abstract: true
components: components:

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodDonutBase id: FoodDonutBase
abstract: true abstract: true
description: Goes great with robust coffee. description: Goes great with robust coffee.

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodBakedBase id: FoodBakedBase
abstract: true abstract: true
components: components:
@@ -12,7 +12,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 5 maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -322,7 +322,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 15 maxVol: 20
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 15 Quantity: 15

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodPieBase id: FoodPieBase
abstract: true abstract: true
components: components:
@@ -13,7 +13,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 15 maxVol: 20
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 15 Quantity: 15
@@ -34,7 +34,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 5 maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5

View File

@@ -1,7 +1,7 @@
# Base # Base
- type: entity - type: entity
parent: BaseItem parent: FoodInjectableBase
id: FoodPizzaBase id: FoodPizzaBase
abstract: true abstract: true
components: components:
@@ -13,7 +13,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 15 maxVol: 20
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 15 Quantity: 15
@@ -35,7 +35,8 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 5 # Note: Keep FoodPizzaMoldySlice & FoodPizzaSliceBase roughly in sync
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -284,4 +285,14 @@
layers: layers:
- state: plate-slice - state: plate-slice
- state: moldy-slice - state: moldy-slice
- type: SolutionContainerManager
solutions:
food:
# Note: Keep FoodPizzaMoldySlice & FoodPizzaSliceBase roughly in sync
maxVol: 5
reagents:
- ReagentId: Nutriment
Quantity: 2
- ReagentId: Toxin
Quantity: 2
# Tastes like stale crust, rancid cheese, mushroom. # Tastes like stale crust, rancid cheese, mushroom.

View File

@@ -24,6 +24,15 @@
Blunt: 5 Blunt: 5
- type: Spillable - type: Spillable
solution: food solution: food
# I suspect this ought to be more of a transformable container kinda thing.
# For now, these components make it usable.
- type: Drink
solution: food
isOpen: true
- type: DrawableSolution
solution: food
- type: RefillableSolution
solution: food
- type: Damageable - type: Damageable
damageContainer: Inorganic damageContainer: Inorganic
- type: Destructible - type: Destructible

View File

@@ -10,8 +10,16 @@
description: A small plastic pack with condiments to put on your food. description: A small plastic pack with condiments to put on your food.
components: components:
- type: Drink - type: Drink
solution: food
openSounds: openSounds:
collection: packetOpenSounds collection: packetOpenSounds
- type: DrawableSolution
solution: food
- type: InjectableSolution
solution: food
- type: DrainableSolution
solution: food
# Note NOT refillable
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
@@ -250,7 +258,7 @@
solutions: solutions:
food: food:
reagents: reagents:
- ReagentId: Salt - ReagentId: TableSalt
Quantity: 10 Quantity: 10
- type: Sprite - type: Sprite
layers: layers:

View File

@@ -114,6 +114,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -171,6 +172,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -193,6 +195,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -215,6 +218,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -340,6 +344,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -364,6 +369,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 6
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 5 Quantity: 5
@@ -452,6 +458,7 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
food: food:
maxVol: 3
reagents: reagents:
- ReagentId: Nutriment - ReagentId: Nutriment
Quantity: 2 Quantity: 2

View File

@@ -32,13 +32,6 @@
physicalDesc: physicalDesc:
color: white color: white
- type: reagent
id: Salt
name: salt
desc: Salt. From space oceans, presumably.
physicalDesc: Coarse.
color: white
- type: reagent - type: reagent
id: Blackpepper id: Blackpepper
name: black pepper name: black pepper

View File

@@ -46,8 +46,8 @@
# time: 20 # time: 20
# reagents: # reagents:
# Flour: 15 # Flour: 15
# Salt: 5 # TableSalt: 5
# Pepper: 5 # Blackpepper: 5
# solids: # solids:
# FoodMeat: 5 # FoodMeat: 5
# FoodCheeseSlice: 3 # FoodCheeseSlice: 3
@@ -97,8 +97,8 @@
# time: 10 # time: 10
# reagents: # reagents:
# Flour: 15 # Flour: 15
# Salt: 1 # TableSalt: 1
# Pepper: 1 # Blackpepper: 1
- type: microwaveMealRecipe - type: microwaveMealRecipe
id: RecipeCreamCheeseBread id: RecipeCreamCheeseBread
@@ -255,7 +255,7 @@
# time: 10 # time: 10
# reagents: # reagents:
# Flour: 10 # Flour: 10
# Salt: 2 # TableSalt: 2
# solids: # solids:
# FoodGarlic: 1 # FoodGarlic: 1
# FoodCheeseSlice: 1 # FoodCheeseSlice: 1
@@ -314,11 +314,11 @@
#- type: microwaveMealRecipe #- type: microwaveMealRecipe
# id: RecipeMeatSteak # id: RecipeMeatSteak
# name: meat steak recipe # name: meat steak recipe
# result: FoodMeatSteak # result: FoodMeatCooked
# time: 10 # time: 10
# reagents: # reagents:
# Salt: 1 # TableSalt: 1
# Pepper: 1 # Blackpepper: 1
# solids: # solids:
# FoodMeat: 1 # FoodMeat: 1