mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
removes var/ inside all procs (#19450)
* removes var/ inside all procs * . * ugh
This commit is contained in:
@@ -265,7 +265,7 @@
|
||||
|
||||
|
||||
// Attept to load materials. Returns 0 if item wasn't a stack of materials, otherwise 1 (even if failed to load)
|
||||
/obj/machinery/atmospherics/binary/algae_farm/proc/try_load_materials(var/mob/user, var/obj/item/stack/material/S)
|
||||
/obj/machinery/atmospherics/binary/algae_farm/proc/try_load_materials(mob/user, obj/item/stack/material/S)
|
||||
if(!istype(S))
|
||||
return 0
|
||||
if(!(S.material.name in stored_material))
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
air1.volume = ATMOS_DEFAULT_VOLUME_PUMP + 800
|
||||
air2.volume = ATMOS_DEFAULT_VOLUME_PUMP + 800
|
||||
|
||||
/obj/machinery/atmospherics/binary/dp_vent_pump/update_icon(var/safety = 0)
|
||||
/obj/machinery/atmospherics/binary/dp_vent_pump/update_icon(safety = 0)
|
||||
cut_overlays()
|
||||
|
||||
var/vent_icon = "vent"
|
||||
@@ -100,7 +100,7 @@
|
||||
else
|
||||
add_underlay(T, node2, dir)
|
||||
|
||||
/obj/machinery/atmospherics/binary/dp_vent_pump/hide(var/i)
|
||||
/obj/machinery/atmospherics/binary/dp_vent_pump/hide(i)
|
||||
update_icon()
|
||||
update_underlays()
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
add_underlay(T, node1, turn(dir, 180))
|
||||
add_underlay(T, node2, dir)
|
||||
|
||||
/obj/machinery/atmospherics/binary/passive_gate/hide(var/i)
|
||||
/obj/machinery/atmospherics/binary/passive_gate/hide(i)
|
||||
update_underlays()
|
||||
|
||||
/obj/machinery/atmospherics/binary/passive_gate/process()
|
||||
@@ -275,7 +275,7 @@
|
||||
update_icon()
|
||||
add_fingerprint(ui.user)
|
||||
|
||||
/obj/machinery/atmospherics/binary/passive_gate/attackby(var/obj/item/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/passive_gate/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if (!W.has_tool_quality(TOOL_WRENCH))
|
||||
return ..()
|
||||
if (unlocked)
|
||||
|
||||
@@ -88,7 +88,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
add_underlay(T, node1, turn(dir, -180), node1?.icon_connect_type)
|
||||
add_underlay(T, node2, dir, node2?.icon_connect_type)
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/hide(var/i)
|
||||
/obj/machinery/atmospherics/binary/pump/hide(i)
|
||||
update_underlays()
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/process()
|
||||
@@ -236,7 +236,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
if(old_stat != stat)
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/attackby(var/obj/item/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/pump/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if (!W.has_tool_quality(TOOL_WRENCH))
|
||||
return ..()
|
||||
if (!(stat & NOPOWER) && use_power)
|
||||
|
||||
@@ -96,7 +96,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
add_underlay(T, node1, turn(dir, -180), node1?.icon_connect_type)
|
||||
add_underlay(T, node2, dir, node2?.icon_connect_type)
|
||||
|
||||
/obj/machinery/atmospherics/binary/volume_pump/hide(var/i)
|
||||
/obj/machinery/atmospherics/binary/volume_pump/hide(i)
|
||||
update_underlays()
|
||||
|
||||
/obj/machinery/atmospherics/binary/volume_pump/process()
|
||||
@@ -260,7 +260,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
if(old_stat != stat)
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/binary/volume_pump/attackby(var/obj/item/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/volume_pump/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if (W.has_tool_quality(TOOL_WRENCH))
|
||||
wrench_act(W, user)
|
||||
|
||||
@@ -277,7 +277,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
. += "Its warning light is on[use_power ? " and it's spewing gas!" : "."]"
|
||||
|
||||
|
||||
/obj/machinery/atmospherics/binary/volume_pump/proc/wrench_act(var/obj/item/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/volume_pump/proc/wrench_act(obj/item/W as obj, mob/user as mob)
|
||||
if (!(stat & NOPOWER) && use_power)
|
||||
to_chat(user, span_warning("You cannot unwrench this [src], turn it off first."))
|
||||
return TRUE
|
||||
@@ -294,7 +294,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
"You hear ratchet.")
|
||||
atom_deconstruct()
|
||||
|
||||
/obj/machinery/atmospherics/binary/volume_pump/proc/multitool_act(var/obj/item/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/volume_pump/proc/multitool_act(obj/item/W as obj, mob/user as mob)
|
||||
if(!overclocked)
|
||||
overclocked = TRUE
|
||||
to_chat(user, span_notice("The pump makes a grinding noise and air starts to hiss out as you disable its pressure limits."))
|
||||
|
||||
Reference in New Issue
Block a user