Big characters have a boom sound when walking

This commit is contained in:
Belaya
2025-05-08 13:34:07 -05:00
parent b549530755
commit 1e4e62b8a0
3 changed files with 5 additions and 0 deletions
+5
View File
@@ -99,6 +99,11 @@
var/list/L = GLOB.barefootstep
var/turf_footstep = T.barefootstep
var/special = FALSE
//GS13 Edit: for big characters, add a boom sound to their stepping
if(H.size_multiplier > 1.5)
var/stompsound = pick( 'GainStation13/sound/effects/footstep/giant1.ogg','GainStation13/sound/effects/footstep/giant2.ogg')
var/giantvolume = H.size_multiplier * 9
playsound(T, stompsound, giantvolume)
if(H.physiology.footstep_type)
switch(H.physiology.footstep_type)
if(FOOTSTEP_MOB_CLAW)