Adds 3D Sound System
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
|
||||
/obj/vehicle/bicycle/buckle_mob(mob/living/M, force = 0, check_loc = 1)
|
||||
if(prob(easter_egg_chance) || (SSevents.holidays && SSevents.holidays[APRIL_FOOLS]))
|
||||
M << sound(pick(bike_music), repeat = 1, wait = 0, volume = 80, channel = 42)
|
||||
M << sound(pick(bike_music), repeat = 1, wait = 0, volume = 80, channel = CHANNEL_BICYCLE)
|
||||
. = ..()
|
||||
|
||||
/obj/vehicle/bicycle/unbuckle_mob(mob/living/buckled_mob,force = 0)
|
||||
if(buckled_mob)
|
||||
buckled_mob << sound(null, repeat = 0, wait = 0, volume = 80, channel = 42)
|
||||
buckled_mob.stop_sound_channel(CHANNEL_BICYCLE)
|
||||
. =..()
|
||||
|
||||
/obj/vehicle/bicycle/tesla_act() // :::^^^)))
|
||||
|
||||
Reference in New Issue
Block a user