Skip to content

Commit

Permalink
Improvements:
Browse files Browse the repository at this point in the history
- Fixed Layers issues.
- Changed Explosion treshold for breaking.
- Added 2 types of platform breaking sound.
- Examinating broken platform give now feedback that its destroyed in description.
- Separated "Indestructable" and "Broken" to give two different feedbacks depending on platform status.
  • Loading branch information
Venuska1117 committed Sep 6, 2024
1 parent 5624c1c commit 5640806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/structures/platforms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
if (prob(15))
broken()
return
if(EXPLOSION_THRESHOLD_LOW to EXPLOSION_THRESHOLD_MEDIUM)
if(EXPLOSION_THRESHOLD_LOW to EXPLOSION_THRESHOLD_HIGH)
if (prob(35))
broken()
return
if(EXPLOSION_THRESHOLD_MEDIUM to INFINITY)
if(EXPLOSION_THRESHOLD_HIGH to INFINITY)
broken()
return
return
Expand Down

0 comments on commit 5640806

Please sign in to comment.