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