mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Removes All Weapons
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user