now with sound! (#20287)
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Decoration/bonfire.rsi
|
||||
state: burning
|
||||
layers:
|
||||
- state: bonfire
|
||||
- state: burning
|
||||
- type: PointLight
|
||||
radius: 5
|
||||
energy: 3
|
||||
@@ -22,6 +24,11 @@
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: AmbientSound
|
||||
volume: -5
|
||||
range: 5
|
||||
sound:
|
||||
path: /Audio/Ambience/Objects/fireplace.ogg
|
||||
|
||||
- type: entity
|
||||
id: LegionnaireBonfire
|
||||
@@ -30,6 +37,7 @@
|
||||
description: There, in the land of lava and ash, place to to cook marshmallow and potato.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: legionnaire_bonfire
|
||||
layers:
|
||||
- state: legionnaire_bonfire
|
||||
- type: PointLight
|
||||
color: "#FF5601"
|
||||
|
||||
|
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -8,10 +8,10 @@
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "bonfire_0"
|
||||
"name": "bonfire"
|
||||
},
|
||||
{
|
||||
"name": "bonfire_1"
|
||||
"name": "bonfire_extinguished"
|
||||
},
|
||||
{
|
||||
"name": "burning",
|
||||
|
||||
Reference in New Issue
Block a user