This commit is contained in:
ZomgPonies
2014-08-03 15:05:22 -04:00
parent 2a0a7db434
commit 3facb45fa2
+2 -28
View File
@@ -1200,41 +1200,15 @@
if (href_list["mod"])
var/obj/item/O = locate(href_list["mod"])
if (isytpe(O) && (O.loc == src))
if (istype(O) && (O.loc == src))
O.attack_self(src)
if (href_list["act"])
var/obj/item/O = locate(href_list["act"])
<<<<<<< HEAD
activate_module(O)
=======
if (!isytpe(O) || !(O.loc == src || O.loc == src.module))
return
if(activated(O))
src << "Already activated"
return
if(!module_state_1)
module_state_1 = O
O.layer = 20
contents += O
if(istype(module_state_1,/obj/item/borg/sight))
sight_mode |= module_state_1:sight_mode
else if(!module_state_2)
module_state_2 = O
O.layer = 20
contents += O
if(istype(module_state_2,/obj/item/borg/sight))
sight_mode |= module_state_2:sight_mode
else if(!module_state_3)
module_state_3 = O
O.layer = 20
contents += O
if(istype(module_state_3,/obj/item/borg/sight))
sight_mode |= module_state_3:sight_mode
else
src << "You need to disable a module first!"
>>>>>>> ca78cb2... cyborg topic exploit fixes
activate_module(O)
installed_modules()
if (href_list["deact"])