ice block window

This commit is contained in:
Ed
2025-01-25 01:40:05 +03:00
parent 2de94ea8b2
commit 62658f5017
11 changed files with 83 additions and 0 deletions

View File

@@ -81,3 +81,40 @@
- type: Construction
graph: CP14WallWood
node: WindowWooden
- type: entity
id: CP14WindowIceBlock
parent: CP14WindowBase
name: ice block
description: Smooth and translucent ice.
components:
- type: Sprite
sprite: _CP14/Structures/Windows/ice_block.rsi
- type: Icon
sprite: _CP14/Structures/Windows/ice_block.rsi
state: full
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WindowShatter
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Glass
- type: InteractionPopup
interactSuccessString: popup-cp14crystal-ding
messagePerceivedByOthers: popup-cp14crystal-ding
interactSuccessSound:
collection: CP14CrystalDings
params:
variation: 0.03