Skip to content

Commit

Permalink
Fixed directional window durability (#25259)
Browse files Browse the repository at this point in the history
shit

(cherry picked from commit 8542c718c0ad6b0c77f35e3df47fa8d47f3340f0)
  • Loading branch information
VigersRay authored and DebugOk committed Feb 18, 2024
1 parent 074fea2 commit 3c1cad5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions Resources/Prototypes/Entities/Structures/Windows/reinforced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Structures/Windows/window.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -152,7 +152,7 @@
collection: WindowShatter
- trigger:
!type:DamageTrigger
damage: 50
damage: 25
behaviors:
- !type:PlaySoundBehavior
sound:
Expand Down

0 comments on commit 3c1cad5

Please sign in to comment.