mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes issue 1001.
Fixes issue 994. (Chemsprayers are not included) Fixes issue 990. Adding some instant admin logs and server logs for some stuff in emitters/PA. See image. http://i.imgur.com/7kQpH.png git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4904 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -174,11 +174,14 @@ obj/machinery/atmospherics/valve
|
|||||||
if(target.initialize_directions & get_dir(target,src))
|
if(target.initialize_directions & get_dir(target,src))
|
||||||
node2 = target
|
node2 = target
|
||||||
break
|
break
|
||||||
|
|
||||||
|
build_network()
|
||||||
|
|
||||||
if(openDuringInit)
|
if(openDuringInit)
|
||||||
|
close()
|
||||||
open()
|
open()
|
||||||
openDuringInit = 0
|
openDuringInit = 0
|
||||||
|
|
||||||
build_network()
|
|
||||||
/*
|
/*
|
||||||
var/connect_directions
|
var/connect_directions
|
||||||
switch(dir)
|
switch(dir)
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/emitter/Del()
|
/obj/machinery/emitter/Del()
|
||||||
|
message_admins("Emitter deleted at ([x],[y],[z] - <A HREF='?src=%holder_ref%;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
||||||
|
log_game("Emitter deleted at ([x],[y],[z])")
|
||||||
investigate_log("<font color='red'>deleted</font> at ([x],[y],[z])","singulo")
|
investigate_log("<font color='red'>deleted</font> at ([x],[y],[z])","singulo")
|
||||||
..()
|
..()
|
||||||
|
|
||||||
@@ -56,6 +58,8 @@
|
|||||||
src.active = 0
|
src.active = 0
|
||||||
user << "You turn off the [src]."
|
user << "You turn off the [src]."
|
||||||
src.use_power = 1
|
src.use_power = 1
|
||||||
|
message_admins("Emitter turned off by [key_name(user, user.client)](<A HREF='?src=%holder_ref%;adminmoreinfo=\ref[user]'>?</A>) in ([x],[y],[z] - <A HREF='?src=%holder_ref%;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
||||||
|
log_game("Emitter turned off by [user.ckey]([user]) in ([x],[y],[z])")
|
||||||
investigate_log("turned <font color='red'>off</font> by [user.key]","singulo")
|
investigate_log("turned <font color='red'>off</font> by [user.key]","singulo")
|
||||||
else
|
else
|
||||||
src.active = 1
|
src.active = 1
|
||||||
|
|||||||
@@ -81,6 +81,9 @@
|
|||||||
if(href_list["togglep"])
|
if(href_list["togglep"])
|
||||||
src.toggle_power()
|
src.toggle_power()
|
||||||
investigate_log("turned [active?"<font color='red'>ON</font>":"<font color='green'>OFF</font>"] by [usr.key]","singulo")
|
investigate_log("turned [active?"<font color='red'>ON</font>":"<font color='green'>OFF</font>"] by [usr.key]","singulo")
|
||||||
|
if (active)
|
||||||
|
message_admins("PA Control Computer turned ON by [key_name(usr, usr.client)](<A HREF='?src=%holder_ref%;adminmoreinfo=\ref[usr]'>?</A>) in ([x],[y],[z] - <A HREF='?src=%holder_ref%;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
||||||
|
log_game("PA Control Computer turned ON by [usr.ckey]([usr]) in ([x],[y],[z])")
|
||||||
else if(href_list["scan"])
|
else if(href_list["scan"])
|
||||||
src.part_scan()
|
src.part_scan()
|
||||||
else if(href_list["strengthup"])
|
else if(href_list["strengthup"])
|
||||||
@@ -88,6 +91,8 @@
|
|||||||
if(strength > 2)
|
if(strength > 2)
|
||||||
strength = 2
|
strength = 2
|
||||||
else
|
else
|
||||||
|
message_admins("PA Control Computer increased to [strength] by [key_name(usr, usr.client)](<A HREF='?src=%holder_ref%;adminmoreinfo=\ref[usr]'>?</A>) in ([x],[y],[z] - <A HREF='?src=%holder_ref%;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
||||||
|
log_game("PA Control Computer increased to [strength] by [usr.ckey]([usr]) in ([x],[y],[z])")
|
||||||
investigate_log("increased to <font color='red'>[strength]</font> by [usr.key]","singulo")
|
investigate_log("increased to <font color='red'>[strength]</font> by [usr.key]","singulo")
|
||||||
for(var/obj/structure/particle_accelerator/part in connected_parts)
|
for(var/obj/structure/particle_accelerator/part in connected_parts)
|
||||||
part.strength = strength
|
part.strength = strength
|
||||||
|
|||||||
@@ -78,6 +78,9 @@
|
|||||||
else
|
else
|
||||||
return
|
return
|
||||||
|
|
||||||
|
for (var/obj/effect/proc_holder/spell/S in M.spell_list)
|
||||||
|
new_mob.spell_list += new S.type
|
||||||
|
|
||||||
new_mob.a_intent = "hurt"
|
new_mob.a_intent = "hurt"
|
||||||
if(M.mind)
|
if(M.mind)
|
||||||
M.mind.transfer_to(new_mob)
|
M.mind.transfer_to(new_mob)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
var/obj/effect/decal/D = new/obj/effect/decal(get_turf(src))
|
var/obj/effect/decal/D = new/obj/effect/decal(get_turf(src))
|
||||||
D.create_reagents(amount_per_transfer_from_this)
|
D.create_reagents(amount_per_transfer_from_this)
|
||||||
reagents.trans_to(D, amount_per_transfer_from_this)
|
reagents.trans_to(D, amount_per_transfer_from_this, 1/3)
|
||||||
|
|
||||||
D.name = "chemicals"
|
D.name = "chemicals"
|
||||||
D.icon = 'icons/obj/chempuff.dmi'
|
D.icon = 'icons/obj/chempuff.dmi'
|
||||||
|
|||||||
Reference in New Issue
Block a user