@@ -157,7 +157,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
else
return
for(var/mob/living/K in viewers(usr))
to_chat(K, 'sound/weapons/TargetOn.ogg')
K << 'sound/weapons/TargetOn.ogg'

if(!targeted_by) targeted_by = list()
targeted_by += I
@@ -215,7 +215,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
mob/living/proc/NotTargeted(var/obj/item/weapon/gun/I)
if(!I.silenced)
for(var/mob/living/M in viewers(src))
to_chat(M, 'sound/weapons/TargetOff.ogg')
M << 'sound/weapons/TargetOff.ogg'
targeted_by -= I
I.target.Remove(src) //De-target them
if(!I.target.len)
@@ -227,9 +227,9 @@ About the Tools:
By default, all atom have a reagents var - but its empty. if you want to use an object for the chem.
system you'll need to add something like this in its new proc:
to_chat(var/datum/reagents/R = new/datum/reagents(100), <<< create a new datum , 100 is the maximum_volume of the new holder datum.)
to_chat(reagents = R, <<< assign the new datum to the objects reagents var)
to_chat(R.my_atom = src, <<< set the holders my_atom to src so that we know where we are.)
var/datum/reagents/R = new/datum/reagents(100), <<< create a new datum, 100 is the maximum_volume of the new holder datum.
reagents = R, <<< assign the new datum to the objects reagents var
R.my_atom = src, <<< set the holders my_atom to src so that we know where we are.
This can also be done by calling a convenience proc:
atom/proc/create_reagents(var/max_volume)
@@ -197,7 +197,7 @@
if(time_left <= 50 && !sound_played) //4 seconds left - should sync up with the launch
sound_played = 1
for(var/area/shuttle/escape/E in world)
to_chat(E, 'sound/effects/hyperspace_begin.ogg')
E << 'sound/effects/hyperspace_begin.ogg'

if(time_left <= 0 && !shuttle_master.emergencyNoEscape)
//move each escape pod to its corresponding transit dock
@@ -206,7 +206,7 @@
M.enterTransit()
//now move the actual emergency shuttle to its transit dock
for(var/area/shuttle/escape/E in world)
to_chat(E, 'sound/effects/hyperspace_progress.ogg')
E << 'sound/effects/hyperspace_progress.ogg'
enterTransit()
mode = SHUTTLE_ESCAPE
timer = world.time
@@ -218,7 +218,7 @@
M.dock(shuttle_master.getDock("[M.id]_away"))
//now move the actual emergency shuttle to centcomm
for(var/area/shuttle/escape/E in world)
to_chat(E, 'sound/effects/hyperspace_end.ogg')
E << 'sound/effects/hyperspace_end.ogg'
dock(shuttle_master.getDock("emergency_away"))
mode = SHUTTLE_ENDGAME
timer = 0
@@ -463,7 +463,7 @@
owner.stuttering = 20
owner.ear_deaf = 30
owner.Weaken(3)
to_chat(owner, 'sound/items/AirHorn.ogg')
owner << 'sound/items/AirHorn.ogg'
if(prob(30))
owner.Stun(10)
owner.Paralyse(4)
@@ -180,7 +180,7 @@ var/world_topic_spam_protect_time = world.timeofday
C.received_irc_pm = world.time
C.irc_admin = input["sender"]

to_chat(C, 'sound/effects/adminhelp.ogg')
C << 'sound/effects/adminhelp.ogg'
to_chat(C, message)

for(var/client/A in admins)