Гирлянды

This commit is contained in:
BIGZi0348
2024-12-21 14:19:09 +03:00
parent 2368d53966
commit 4b078f50ad
5 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ent-ChristmasLights = новогодние гирлянды
.desc = Чувство праздника.

View File

@@ -0,0 +1,39 @@
- type: entity
id: ChristmasLights
name: christmas lights
description: Feeling jolly.
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: Appearance
- type: Sprite
drawdepth: WallMountedItems
sprite: White/Structures/Decoration/christmas_lights.rsi
layers:
- state: icon
- state: unshaded
shader: unshaded
- type: Icon
sprite: White/Structures/Decoration/christmas_lights.rsi
state: icon
- type: Transform
anchored: true
- type: Damageable
damageContainer: StructuralInorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Weapons/smash.ogg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "unshaded"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B