bonfire and mattress (#15871)

This commit is contained in:
Tunguso4ka
2023-04-29 08:52:58 +03:00
committed by GitHub
parent 967e1fdd95
commit 7a9adffa1e
7 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
- type: entity
id: Bonfire
parent: BaseStructure
name: bonfire
description: What can be better then late evening under the sky with guitar and friends.
components:
- type: Sprite
netsync: false
sprite: Structures/Decoration/bonfire.rsi
state: burning
- type: PointLight
radius: 5
energy: 3
color: "#FFC90C"
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: LegionnaireBonfire
parent: Bonfire
name: legionnaire bonfire
description: There, in the land of lava and ash, place to to cook marshmallow and potato.
components:
- type: Sprite
state: legionnaire_bonfire
- type: PointLight
color: "#FF5601"

View File

@@ -111,3 +111,14 @@
MaterialWoodPlank:
min: 1
max: 5
- type: entity
parent: Bed
id: Mattress
name: mattress
description: Better sleep in that then on the floor i guess.
components:
- type: Sprite
state: mattress
- type: Damageable
damageModifierSet: Inflatable