mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 10:04:12 +00:00
Configuration Controller (#7857)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// Handle footstep sounds
|
||||
/mob/living/silicon/robot/handle_vorefootstep(var/m_intent, var/turf/T)
|
||||
|
||||
if(!config.vorefootstep_volume || !T.vorefootstep_sounds || !T.vorefootstep_sounds.len || !vore_footstep_volume)
|
||||
if(!CONFIG_GET(number/vorefootstep_volume) || !T.vorefootstep_sounds || !T.vorefootstep_sounds.len || !vore_footstep_volume)
|
||||
return
|
||||
// Future Upgrades - Robot specific support
|
||||
var/list/vorefootstep_sounds = T.vorefootstep_sounds["human"]
|
||||
@@ -18,9 +18,9 @@
|
||||
return
|
||||
var/S = pick(vorefootstep_sounds)
|
||||
if(!S) return
|
||||
var/volume = config.vorefootstep_volume * (vore_footstep_volume/100)
|
||||
var/volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100)
|
||||
|
||||
volume = config.vorefootstep_volume * (vore_footstep_volume/100)
|
||||
volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100)
|
||||
|
||||
if(buckled || lying || throwing)
|
||||
return // people flying, lying down or sitting do not slosh
|
||||
|
||||
Reference in New Issue
Block a user