mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Changes slosh sounds to global list (#8591)
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
GLOBAL_LIST_INIT(slosh, list(
|
|
||||||
'sound/vore/walkslosh2.ogg',
|
|
||||||
'sound/vore/walkslosh3.ogg',
|
|
||||||
'sound/vore/walkslosh4.ogg',
|
|
||||||
'sound/vore/walkslosh5.ogg',
|
|
||||||
'sound/vore/walkslosh6.ogg',
|
|
||||||
'sound/vore/walkslosh7.ogg',
|
|
||||||
'sound/vore/walkslosh8.ogg',
|
|
||||||
'sound/vore/walkslosh9.ogg',
|
|
||||||
'sound/vore/walkslosh10.ogg'
|
|
||||||
))
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
//Reagent Vore belly Sounds
|
//Reagent Vore belly Sounds
|
||||||
var/global/list/vore_reagent_sounds = list(
|
GLOBAL_LIST_INIT(slosh, list(
|
||||||
'sound/vore/walkslosh1.ogg',
|
'sound/vore/walkslosh1.ogg',
|
||||||
'sound/vore/walkslosh2.ogg',
|
'sound/vore/walkslosh2.ogg',
|
||||||
'sound/vore/walkslosh3.ogg',
|
'sound/vore/walkslosh3.ogg',
|
||||||
@@ -10,8 +10,8 @@ var/global/list/vore_reagent_sounds = list(
|
|||||||
'sound/vore/walkslosh7.ogg',
|
'sound/vore/walkslosh7.ogg',
|
||||||
'sound/vore/walkslosh8.ogg',
|
'sound/vore/walkslosh8.ogg',
|
||||||
'sound/vore/walkslosh9.ogg',
|
'sound/vore/walkslosh9.ogg',
|
||||||
'sound/vore/walkslosh10.ogg',
|
'sound/vore/walkslosh10.ogg'
|
||||||
"None" = null)
|
))
|
||||||
|
|
||||||
var/global/list/item_tf_spawnpoints = list() // Global variable tracking which items are item tf spawnpoints
|
var/global/list/item_tf_spawnpoints = list() // Global variable tracking which items are item tf spawnpoints
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
/turf/simulated
|
|
||||||
|
|
||||||
//CHOMP reagent belly sloshing sounds
|
|
||||||
var/static/list/base_vorefootstep_sounds = list("human" = list(
|
|
||||||
'sound/vore/walkslosh1.ogg',
|
|
||||||
'sound/vore/walkslosh2.ogg',
|
|
||||||
'sound/vore/walkslosh3.ogg',
|
|
||||||
'sound/vore/walkslosh4.ogg',
|
|
||||||
'sound/vore/walkslosh5.ogg',
|
|
||||||
'sound/vore/walkslosh6.ogg',
|
|
||||||
'sound/vore/walkslosh7.ogg',
|
|
||||||
'sound/vore/walkslosh8.ogg',
|
|
||||||
'sound/vore/walkslosh9.ogg',
|
|
||||||
'sound/vore/walkslosh10.ogg'))
|
|
||||||
|
|
||||||
// Removal of older code - this isn't necessary anymore as /decl/flooring/floortype and initial_flooring = /decl/flooring/floortype
|
|
||||||
// can handle this. If you're not sure how to do it, refer to flooring.dm, and read things over. It's explained there. Rykka <3
|
|
||||||
@@ -522,10 +522,10 @@
|
|||||||
return
|
return
|
||||||
thing.enter_belly(src) // Atom movable proc, does nothing by default. Overridden in children for special behavior.
|
thing.enter_belly(src) // Atom movable proc, does nothing by default. Overridden in children for special behavior.
|
||||||
if(owner && istype(owner.loc,/turf/simulated) && !cycle_sloshed && reagents.total_volume > 0)
|
if(owner && istype(owner.loc,/turf/simulated) && !cycle_sloshed && reagents.total_volume > 0)
|
||||||
var/turf/simulated/T = owner.loc
|
// var/turf/simulated/T = owner.loc // CHOMPEdit
|
||||||
var/S = pick(T.base_vorefootstep_sounds["human"]) //ChompEDIT
|
var/S = pick(GLOB.slosh) //ChompEDIT
|
||||||
if(S)
|
if(S)
|
||||||
playsound(T, S, sound_volume * (reagents.total_volume / 100), FALSE, frequency = noise_freq, preference = /datum/client_preference/digestion_noises) //CHOMPEdit
|
playsound(owner.loc, S, sound_volume * (reagents.total_volume / 100), FALSE, frequency = noise_freq, preference = /datum/client_preference/digestion_noises) //CHOMPEdit
|
||||||
cycle_sloshed = TRUE
|
cycle_sloshed = TRUE
|
||||||
thing.belly_cycles = 0 //reset cycle count
|
thing.belly_cycles = 0 //reset cycle count
|
||||||
if(istype(thing, /mob/observer)) //Ports CHOMPStation PR#3072
|
if(istype(thing, /mob/observer)) //Ports CHOMPStation PR#3072
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
/datum/element/slosh/Detach(datum/source)
|
/datum/element/slosh/Detach(datum/source)
|
||||||
UnregisterSignal(source, COMSIG_MOVABLE_MOVED)
|
UnregisterSignal(source, COMSIG_MOVABLE_MOVED)
|
||||||
step_count -= source
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/datum/element/slosh/proc/handle_footstep(mob/living/source)
|
/datum/element/slosh/proc/handle_footstep(mob/living/source)
|
||||||
|
|||||||
@@ -130,7 +130,6 @@
|
|||||||
#include "code\__defines\shuttle.dm"
|
#include "code\__defines\shuttle.dm"
|
||||||
#include "code\__defines\simple_mob.dm"
|
#include "code\__defines\simple_mob.dm"
|
||||||
#include "code\__defines\size.dm"
|
#include "code\__defines\size.dm"
|
||||||
#include "code\__defines\slosh_ch.dm"
|
|
||||||
#include "code\__defines\sound.dm"
|
#include "code\__defines\sound.dm"
|
||||||
#include "code\__defines\span_vr.dm"
|
#include "code\__defines\span_vr.dm"
|
||||||
#include "code\__defines\species_languages.dm"
|
#include "code\__defines\species_languages.dm"
|
||||||
@@ -1803,7 +1802,6 @@
|
|||||||
#include "code\game\objects\structures\stool_bed_chair_nest\wheelchair.dm"
|
#include "code\game\objects\structures\stool_bed_chair_nest\wheelchair.dm"
|
||||||
#include "code\game\objects\structures\stool_bed_chair_nest\wheelchair_item.dm"
|
#include "code\game\objects\structures\stool_bed_chair_nest\wheelchair_item.dm"
|
||||||
#include "code\game\turfs\simulated.dm"
|
#include "code\game\turfs\simulated.dm"
|
||||||
#include "code\game\turfs\simulated_ch.dm"
|
|
||||||
#include "code\game\turfs\simulated_vr.dm"
|
#include "code\game\turfs\simulated_vr.dm"
|
||||||
#include "code\game\turfs\turf.dm"
|
#include "code\game\turfs\turf.dm"
|
||||||
#include "code\game\turfs\turf_changing.dm"
|
#include "code\game\turfs\turf_changing.dm"
|
||||||
|
|||||||
Reference in New Issue
Block a user