mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 09:03:53 +01:00
Removes the usage of is_multitool proc
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
disconnect_from_network()
|
||||
turn_off()
|
||||
return
|
||||
if(I.is_multitool())
|
||||
if(istype(I, /obj/item/device/multitool))
|
||||
var/new_temp = input("Input a new target temperature, in degrees C.","Target Temperature", 20) as num
|
||||
if(!Adjacent(user) || user.incapacitated())
|
||||
return
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
/obj/machinery/computer/fusion_core_control/attackby(var/obj/item/thing, var/mob/user)
|
||||
..()
|
||||
if(thing.is_multitool()) //VOREStation Edit
|
||||
if(istype(thing, /obj/item/device/multitool))
|
||||
var/new_ident = input("Enter a new ident tag.", "Core Control", id_tag) as null|text
|
||||
if(new_ident && user.Adjacent(src))
|
||||
id_tag = new_ident
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
/obj/machinery/computer/fusion_fuel_control/attackby(var/obj/item/W, var/mob/user)
|
||||
..()
|
||||
if(W.is_multitool()) //VOREStation Edit
|
||||
if(istype(W, /obj/item/device/multitool))
|
||||
var/new_ident = input("Enter a new ident tag.", "Fuel Control", id_tag) as null|text
|
||||
if(new_ident && user.Adjacent(src))
|
||||
id_tag = new_ident
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
/obj/machinery/computer/gyrotron_control/attackby(var/obj/item/W, var/mob/user)
|
||||
..()
|
||||
if(W.is_multitool()) //VOREStation Edit
|
||||
if(istype(W, /obj/item/device/multitool))
|
||||
var/new_ident = input("Enter a new ident tag.", "Gyrotron Control", id_tag) as null|text
|
||||
if(new_ident && user.Adjacent(src))
|
||||
id_tag = new_ident
|
||||
|
||||
Reference in New Issue
Block a user