Added Candy Bowls for Waiting Lines (#18341)
This commit is contained in:
@@ -6,6 +6,9 @@
|
|||||||
abstract: true
|
abstract: true
|
||||||
components:
|
components:
|
||||||
- type: Food
|
- type: Food
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- FoodSnack
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
@@ -84,6 +87,9 @@
|
|||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: chocolatebar
|
heldPrefix: chocolatebar
|
||||||
size: 3
|
size: 3
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- FoodSnack
|
||||||
- type: SpawnItemsOnUse
|
- type: SpawnItemsOnUse
|
||||||
items:
|
items:
|
||||||
- id: FoodPacketChocolateTrash
|
- id: FoodPacketChocolateTrash
|
||||||
@@ -295,6 +301,9 @@
|
|||||||
components:
|
components:
|
||||||
- type: Item
|
- type: Item
|
||||||
size: 10
|
size: 10
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- FoodSnack
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
state: nutribrick
|
state: nutribrick
|
||||||
@@ -336,6 +345,9 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
state: mre-brownie
|
state: mre-brownie
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- FoodSnack
|
||||||
- type: SpawnItemsOnUse
|
- type: SpawnItemsOnUse
|
||||||
items:
|
items:
|
||||||
- id: FoodPacketMRETrash
|
- 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
|
- type: Tag
|
||||||
id: Folder
|
id: Folder
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: FoodSnack
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: FootstepSound
|
id: FootstepSound
|
||||||
|
|
||||||
@@ -888,3 +891,4 @@
|
|||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: ModularReceiver
|
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