Added Candy Bowls for Waiting Lines (#18341)
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
abstract: true
|
||||
components:
|
||||
- type: Food
|
||||
- type: Tag
|
||||
tags:
|
||||
- FoodSnack
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
- type: SolutionContainerManager
|
||||
@@ -84,6 +87,9 @@
|
||||
- type: Item
|
||||
heldPrefix: chocolatebar
|
||||
size: 3
|
||||
- type: Tag
|
||||
tags:
|
||||
- FoodSnack
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketChocolateTrash
|
||||
@@ -295,6 +301,9 @@
|
||||
components:
|
||||
- type: Item
|
||||
size: 10
|
||||
- type: Tag
|
||||
tags:
|
||||
- FoodSnack
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
state: nutribrick
|
||||
@@ -336,6 +345,9 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/snacks.rsi
|
||||
state: mre-brownie
|
||||
- type: Tag
|
||||
tags:
|
||||
- FoodSnack
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodPacketMRETrash
|
||||
|
||||
68
Resources/Prototypes/Entities/Objects/Misc/candy_bowl.yml
Normal file
68
Resources/Prototypes/Entities/Objects/Misc/candy_bowl.yml
Normal file
@@ -0,0 +1,68 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CandyBowl
|
||||
name: "candy bowl"
|
||||
description: Grab as much as you can fit in your pockets!
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/candy_bowl.rsi
|
||||
noRot: true
|
||||
drawdepth: SmallObjects
|
||||
state: candy_bowl0
|
||||
- type: Appearance
|
||||
- type: Bin
|
||||
maxItems: 100
|
||||
whitelist:
|
||||
components:
|
||||
- Pill
|
||||
tags:
|
||||
- FoodSnack
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
bin-container: !type:Container
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: DamageOnLand
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
- type: DamageOtherOnHit
|
||||
damage:
|
||||
types:
|
||||
Blunt: 4
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 5
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
ShardGlass:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:EmptyAllContainersBehaviour
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.10,-0.10,0.10,0.10"
|
||||
density: 3
|
||||
mask:
|
||||
- TabletopMachineMask
|
||||
- type: InteractionOutline
|
||||
- type: ItemMapper
|
||||
sprite: Objects/Misc/candy_bowl.rsi
|
||||
mapLayers:
|
||||
candy_bowl1:
|
||||
whitelist:
|
||||
components:
|
||||
- Pill
|
||||
tags:
|
||||
- FoodSnack
|
||||
@@ -329,6 +329,9 @@
|
||||
- type: Tag
|
||||
id: Folder
|
||||
|
||||
- type: Tag
|
||||
id: FoodSnack
|
||||
|
||||
- type: Tag
|
||||
id: FootstepSound
|
||||
|
||||
@@ -888,3 +891,4 @@
|
||||
|
||||
- type: Tag
|
||||
id: ModularReceiver
|
||||
|
||||
|
||||
BIN
Resources/Textures/Objects/Misc/candy_bowl.rsi/candy_bowl0.png
Normal file
BIN
Resources/Textures/Objects/Misc/candy_bowl.rsi/candy_bowl0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/Objects/Misc/candy_bowl.rsi/candy_bowl1.png
Normal file
BIN
Resources/Textures/Objects/Misc/candy_bowl.rsi/candy_bowl1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
17
Resources/Textures/Objects/Misc/candy_bowl.rsi/meta.json
Normal file
17
Resources/Textures/Objects/Misc/candy_bowl.rsi/meta.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Made by Mercer~Bray#5324 (Discord) for SS14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "candy_bowl0"
|
||||
},
|
||||
{
|
||||
"name": "candy_bowl1"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user