# TODO: Removes the icon components from all these when that gets fixed.
+- type: entity
+ parent: BaseItem
+ id: BaseFoodCondiment
+ abstract: true
+ components:
+ - type: DrawableSolution
+ solution: food
+ - type: DrainableSolution
+ solution: food
+ - type: Sprite
+ sprite: Objects/Consumable/Food/condiments.rsi
+ - type: Icon
+ sprite: Objects/Consumable/Food/condiments.rsi
+ - type: TrashOnEmpty
+ solution: food
+ - type: SpaceGarbage
+ - type: StaticPrice
+ price: 0
+
# Packets
-# Since this one is closed, the only way to insert liquid is with a syringe.
- type: entity
- parent: BaseItem
+ parent: BaseFoodCondiment
id: BaseFoodCondimentPacket
name: condiment packet
abstract: true
refillable: false
openSounds:
collection: packetOpenSounds
- - type: DrawableSolution
- solution: food
+ # Since this one is closed, the only way to insert liquid is with a syringe.
- type: InjectableSolution
solution: food
- - type: DrainableSolution
- solution: food
- # Note NOT refillable.
- # It be a shame if it turned out ALL drinks were ALWAYS refillable.... ffs.
- # Well its fixed now, but I want to share my pain.
+ # Note NOT refillable.
+ # It be a shame if it turned out ALL drinks were ALWAYS refillable.... ffs.
+ # Well its fixed now, but I want to share my pain.
- type: SolutionContainerManager
solutions:
food:
- type: SolutionTransfer
maxTransferAmount: 10
- type: Sprite
- netsync: false
- sprite: Objects/Consumable/Food/condiments.rsi
state: packet-empty
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: packet-empty
- - type: TrashOnEmpty
- solution: food
-
-- type: entity
- parent: BaseFoodCondimentPacket
- id: FoodCondimentPacket
- components:
- - type: Tag
- tags:
- - Trash
+ - type: PhysicalComposition
+ materialComposition:
+ Plastic: 50
- type: entity
parent: BaseFoodCondimentPacket
# Bottles
- type: entity
- parent: BaseItem
+ parent: BaseFoodCondiment
id: BaseFoodCondimentBottle
abstract: true
name: condiment bottle
solution: food
openSounds:
collection: pop
- - type: RefillableSolution
- solution: food
- - type: DrainableSolution
- solution: food
- type: SolutionContainerManager
solutions:
food:
minTransferAmount: 5
maxTransferAmount: 30
- type: Sprite
- netsync: false
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-empty
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 6
fillBaseName: bottle-alpha-
- - type: TrashOnEmpty
- solution: food
-
-- type: entity
- parent: BaseFoodCondimentBottle
- id: FoodCondimentBottle
- components:
- - type: Tag
- tags:
- - Trash
+ - type: PhysicalComposition
+ materialComposition:
+ Glass: 50
- type: entity
parent: BaseFoodCondimentBottle
map: ["enum.SolutionContainerLayers.Fill"]
visible: true
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-coldsauce
- type: entity
map: ["enum.SolutionContainerLayers.Fill"]
visible: true
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-enzyme
+- type: entity
+ parent: BaseFoodCondimentBottle
+ id: FoodCondimentBottleVinegar
+ name: vinegar bottle
+ description: Used in cooking to enhance flavor.
+ components:
+ - type: SolutionContainerManager
+ solutions:
+ food:
+ reagents:
+ - ReagentId: Vinegar
+ Quantity: 30
+ - type: Sprite
+ layers:
+ - state: bottle-empty
+ - state: label-v
+ - state: bottle-alpha-6
+ map: ["enum.SolutionContainerLayers.Fill"]
+ visible: true
+ - type: Icon
+ state: bottle-vinegar
+
- type: entity
parent: BaseFoodCondimentBottle
id: FoodCondimentBottleHotsauce
- name: hotsauce
+ name: hotsauce bottle
description: You can almost TASTE the stomach ulcers now!
components:
- type: SolutionContainerManager
map: ["enum.SolutionContainerLayers.Fill"]
visible: true
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-hotsauce
- type: entity
parent: BaseFoodCondimentBottle
id: FoodCondimentBottleKetchup
- name: ketchup
+ name: ketchup bottle
description: You feel more American already.
components:
- type: SolutionContainerManager
map: ["enum.SolutionContainerLayers.Fill"]
visible: true
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-ketchup
- type: entity
parent: BaseFoodCondimentBottle
id: FoodCondimentBottleBBQ
- name: BBQ sauce
+ name: BBQ sauce bottle
description: Hand wipes not included.
components:
- type: SolutionContainerManager
visible: true
# So there's no error.
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: bottle-ketchup
# Shakers
- type: entity
- parent: BaseItem
+ parent: BaseFoodCondimentBottle
id: BaseFoodShaker
abstract: true
name: empty shaker
- type: Drink
solution: food
isOpen: true
- - type: RefillableSolution
- solution: food
- - type: DrainableSolution
- solution: food
- type: SolutionContainerManager
solutions:
food:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Sprite
- netsync: false
- sprite: Objects/Consumable/Food/condiments.rsi
state: shaker-empty
- - type: Appearance
- - type: TrashOnEmpty
- solution: food
-
-- type: entity
- parent: BaseFoodShaker
- id: FoodShakerEmpty
- name: empty shaker
- description: A shaker used to store and dispense spices.
- components:
- - type: Tag
- tags:
- - Trash
- type: entity
parent: BaseFoodShaker
reagents:
- ReagentId: TableSalt
Quantity: 20
-
- type: Sprite
- sprite: Objects/Consumable/Food/condiments.rsi
state: shaker-salt
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: shaker-salt
- type: entity
reagents:
- ReagentId: Blackpepper
Quantity: 20
-
- type: Sprite
- sprite: Objects/Consumable/Food/condiments.rsi
state: shaker-pepper
- type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
state: shaker-pepper
-
-# Small Bottles
-
-- type: entity
- parent: BaseItem
- id: BaseFoodCondimentBottleSmall
- abstract: true
- name: condiment bottle
- description: A smaller glass bottle used to store condiments.
- components:
- - type: Drink
- solution: food
- openSounds:
- collection: pop
- - type: RefillableSolution
- solution: food
- - type: DrainableSolution
- solution: food
- - type: SolutionContainerManager
- solutions:
- food:
- maxVol: 15
- - type: SolutionTransfer
- maxTransferAmount: 15
- - type: Sprite
- netsync: false
- sprite: Objects/Consumable/Food/condiments.rsi
- state: bottle-s-empty
- - type: Appearance
- - type: SolutionContainerVisuals
- maxFillLevels: 3
- fillBaseName: bottle-s-alpha-
- - type: TrashOnEmpty
- solution: food
-
-- type: entity
- parent: BaseFoodCondimentBottleSmall
- id: FoodCondimentBottleSmall
- components:
- - type: Tag
- tags:
- - Trash
-
-- type: entity
- parent: BaseFoodCondimentBottleSmall
- id: FoodCondimentBottleSmallColdsauce
- name: coldsauce bottle
- description: Leaves the tongue numb in its passage.
- components:
- - type: SolutionContainerManager
- solutions:
- food:
- reagents:
- - ReagentId: Frostoil
- Quantity: 15
- - type: Sprite
- layers:
- - state: bottle-s-empty
- - state: label-s-c
- - state: bottle-s-alpha-3
- map: ["enum.SolutionContainerLayers.Fill"]
- visible: true
- - type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
- state: bottle-s-coldsauce
-
-- type: entity
- parent: BaseFoodCondimentBottleSmall
- id: FoodCondimentBottleSmallHotsauce
- name: hotsauce
- description: You can almost TASTE the stomach ulcers now!
- components:
- - type: SolutionContainerManager
- solutions:
- food:
- reagents:
- - ReagentId: Hotsauce
- Quantity: 15
- - type: Sprite
- layers:
- - state: bottle-s-empty
- - state: label-s-h
- - state: bottle-s-alpha-3
- map: ["enum.SolutionContainerLayers.Fill"]
- visible: true
- - type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
- state: bottle-s-hotsauce
-
-- type: entity
- parent: BaseFoodCondimentBottleSmall
- id: FoodCondimentBottleSmallKetchup
- name: ketchup
- description: You feel more American already.
- components:
- - type: SolutionContainerManager
- solutions:
- food:
- reagents:
- - ReagentId: Ketchup
- Quantity: 15
- - type: Sprite
- layers:
- - state: bottle-s-empty
- - state: label-s-k
- - state: bottle-s-alpha-3
- map: ["enum.SolutionContainerLayers.Fill"]
- visible: true
- - type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
- state: bottle-s-ketchup
-
-- type: entity
- parent: BaseFoodCondimentBottleSmall
- id: FoodCondimentBottleSmallVinegar
- name: vinegar
- description: Used in cooking to enhance flavor.
- components:
- - type: SolutionContainerManager
- solutions:
- food:
- reagents:
- - ReagentId: Vinegar
- Quantity: 15
- - type: Sprite
- layers:
- - state: bottle-s-empty
- - state: label-s-v
- - state: bottle-s-alpha-3
- map: ["enum.SolutionContainerLayers.Fill"]
- visible: true
- - type: Icon
- sprite: Objects/Consumable/Food/condiments.rsi
- state: bottle-s-vinegar
-
-# Trash
-
-# Maybe in some dumb universe you could put liquid back in this and seal it
-# with a lighter or something.
-- type: entity
- noSpawn: true
- parent: BaseItem
- id: FoodCondimentPacketTrash
- name: empty condiment packet
- description: A ripped condiment packet. Useless.
- components:
- - type: Sprite
- sprite: Objects/Consumable/Food/condiments.rsi
- netsync: false
- state: packet-trash