Converted BurnState Visualizer (#15661)

This commit is contained in:
Bixkitts
2023-04-29 11:09:11 +02:00
committed by GitHub
parent 18ff69146c
commit 83c9e2bb50
7 changed files with 54 additions and 68 deletions

View File

@@ -16,9 +16,8 @@
size: 3
sprite: Objects/Consumable/Smokeables/Pipes/pipe.rsi
- type: Appearance
visuals:
- type: BurnStateVisualizer
unlitIcon: unlit-icon
- type: BurnStateVisuals
unlitIcon: unlit-icon
- type: entity
id: SmokingPipeFilledTobacco
@@ -31,15 +30,15 @@
bowl_slot: !type:ContainerSlot
- type: ItemSlots
- type: SmokingPipe
bowl_slot:
bowl_slot:
name: Bowl
startingItem: GroundTobacco
whitelist:
tags:
- Smokable
insertSound:
insertSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: entity
@@ -53,13 +52,13 @@
bowl_slot: !type:ContainerSlot
- type: ItemSlots
- type: SmokingPipe
bowl_slot:
bowl_slot:
name: Bowl
startingItem: GroundCannabis
whitelist:
tags:
- Smokable
insertSound:
insertSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg

View File

@@ -8,8 +8,7 @@
- type: Sprite
netsync: false
- type: Appearance
visuals:
- type: BurnStateVisualizer
- type: BurnStateVisuals
- type: Tag
tags:
- Trash

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: SmallboxItem
parent: BaseStorageItem
abstract: true
@@ -37,11 +37,10 @@
radius: 1.1
color: darkorange
- type: Appearance
visuals:
- type: BurnStateVisualizer
unlitIcon: match_unlit
litIcon: match_lit
burntIcon: match_burnt
- type: BurnStateVisuals
unlitIcon: match_unlit
litIcon: match_lit
burntIcon: match_burnt
- type: entity
parent: Matchstick