Converted emitter remote control

Also converted crematoriums, although they are not working at the moment.
Removed redundant wireless manager file.
This commit is contained in:
Loganbacca
2015-11-22 22:32:51 +13:00
parent c1159c8f4d
commit a9555b0175
7 changed files with 63 additions and 50 deletions
@@ -24,6 +24,7 @@
var/state = 0
var/locked = 0
var/datum/wifi/receiver/button/emitter/wifi_receiver
/obj/machinery/power/emitter/verb/rotate()
set name = "Rotate"
@@ -40,11 +41,13 @@
..()
if(state == 2 && anchored)
connect_to_network()
wifi_receiver = new(id, src)
/obj/machinery/power/emitter/Destroy()
message_admins("Emitter deleted at ([x],[y],[z] - <A HREF='?_src_=holder;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")
wifi_receiver.Destroy()
..()
/obj/machinery/power/emitter/update_icon()