now with sound! (#20287)

This commit is contained in:
Tunguso4ka
2023-09-18 22:17:59 +03:00
committed by GitHub
parent b75fd719cb
commit 60ae564279
4 changed files with 12 additions and 4 deletions

View File

@@ -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"

View File

Before

Width:  |  Height:  |  Size: 652 B

After

Width:  |  Height:  |  Size: 652 B

View File

@@ -8,10 +8,10 @@
},
"states": [
{
"name": "bonfire_0"
"name": "bonfire"
},
{
"name": "bonfire_1"
"name": "bonfire_extinguished"
},
{
"name": "burning",