Salt & Pepper Shakers (#15808)
This commit is contained in:
@@ -491,6 +491,106 @@
|
|||||||
sprite: Objects/Consumable/Food/condiments.rsi
|
sprite: Objects/Consumable/Food/condiments.rsi
|
||||||
state: bottle-ketchup
|
state: bottle-ketchup
|
||||||
|
|
||||||
|
# Shakers
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: BaseItem
|
||||||
|
id: BaseFoodShaker
|
||||||
|
abstract: true
|
||||||
|
name: empty shaker
|
||||||
|
description: A shaker used to store and dispense spices.
|
||||||
|
components:
|
||||||
|
- type: Drink
|
||||||
|
solution: food
|
||||||
|
isOpen: true
|
||||||
|
- type: RefillableSolution
|
||||||
|
solution: food
|
||||||
|
- type: DrainableSolution
|
||||||
|
solution: food
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
maxVol: 20
|
||||||
|
- type: SolutionTransfer
|
||||||
|
canChangeTransferAmount: true
|
||||||
|
minTransferAmount: 5
|
||||||
|
maxTransferAmount: 20
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 5
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
collection: GlassBreak
|
||||||
|
- !type:SpillBehavior { }
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
ShardGlass:
|
||||||
|
min: 1
|
||||||
|
max: 1
|
||||||
|
transferForensics: true
|
||||||
|
- !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
|
||||||
|
id: FoodShakerSalt
|
||||||
|
name: salt shaker
|
||||||
|
description: Salt. From space oceans, presumably.
|
||||||
|
components:
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
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
|
||||||
|
parent: BaseFoodShaker
|
||||||
|
id: FoodShakerPepper
|
||||||
|
name: pepper shaker
|
||||||
|
description: Often used to flavor food or make people sneeze.
|
||||||
|
components:
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
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
|
# Small Bottles
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from tgstation and baystation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 and https://github.com/Baystation12/Baystation12/commit/a6067826de7fd8f698793f6d84e6c2f1f9b1f188",
|
"copyright": "Taken from tgstation and baystation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 and https://github.com/Baystation12/Baystation12/commit/a6067826de7fd8f698793f6d84e6c2f1f9b1f188. Shaker sprites from tgstation at commit https://github.com/tgstation/tgstation/commit/7ec204f85ed34a3d9c9d09d51977f2ad610c481e",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 293 B |
Binary file not shown.
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 335 B |
Binary file not shown.
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 283 B |
Reference in New Issue
Block a user