From: Vigers Ray <60344369+VigersRay@users.noreply.github.com> Date: Sun, 18 Feb 2024 14:06:09 +0000 (+0200) Subject: Fixed directional window durability (#25259) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8542c718c0ad6b0c77f35e3df47fa8d47f3340f0;p=space-station-14.git Fixed directional window durability (#25259) shit --- diff --git a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml index 26d9da0745..18da78f1b5 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml @@ -18,7 +18,7 @@ thresholds: - trigger: !type:DamageTrigger - damage: 150 + damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities. behaviors: - !type:DoActsBehavior acts: [ "Destruction" ] @@ -103,7 +103,16 @@ thresholds: - trigger: !type:DamageTrigger - damage: 150 + damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities. + behaviors: + - !type:PlaySoundBehavior + sound: + collection: WindowShatter + - !type:DoActsBehavior + acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 50 behaviors: - !type:PlaySoundBehavior sound: diff --git a/Resources/Prototypes/Entities/Structures/Windows/window.yml b/Resources/Prototypes/Entities/Structures/Windows/window.yml index 74415737dc..9ab770d8bc 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/window.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/window.yml @@ -46,7 +46,7 @@ thresholds: - trigger: !type:DamageTrigger - damage: 100 + damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities. behaviors: - !type:PlaySoundBehavior sound: @@ -151,7 +151,7 @@ collection: WindowShatter - trigger: !type:DamageTrigger - damage: 50 + damage: 25 behaviors: - !type:PlaySoundBehavior sound: