Removes All Weapons

This commit is contained in:
Fox McCloud
2018-04-15 16:25:56 -04:00
parent 8b576c4d42
commit 5c4aa9b3fd
1100 changed files with 17642 additions and 17666 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
attached_signaler = S
to_chat(user, "<span class='notice'>You attach \the [S] to the I/O connection port and secure it.</span>")
return
if(attached_signaler && istype(O, /obj/item/weapon/screwdriver)) //Makes sure we remove the attached signaler before we can open up and deconstruct the machine
if(attached_signaler && istype(O, /obj/item/screwdriver)) //Makes sure we remove the attached signaler before we can open up and deconstruct the machine
var/obj/item/device/assembly/signaler/S = attached_signaler
attached_signaler = null
S.forceMove(get_turf(src))
+3 -3
View File
@@ -45,7 +45,7 @@
if(radio_controller)
set_frequency(frequency)
component_parts = list()
var/obj/item/weapon/circuitboard/logic_gate/LG = new(null)
var/obj/item/circuitboard/logic_gate/LG = new(null)
LG.set_type(type)
component_parts += LG
component_parts += new /obj/item/stack/cable_coil(null, 1)
@@ -205,11 +205,11 @@
if(istype(O, /obj/item/device/multitool))
update_multitool_menu(user)
return 1
if(istype(O, /obj/item/weapon/screwdriver))
if(istype(O, /obj/item/screwdriver))
panel_open = !panel_open
to_chat(user, "<span class='notice'>You [panel_open ? "open" : "close"] the access panel.</span>")
return 1
if(panel_open && istype(O, /obj/item/weapon/crowbar))
if(panel_open && istype(O, /obj/item/crowbar))
default_deconstruction_crowbar(O)
return 1