removes var/ inside all procs (#19450)

* removes var/ inside all procs

* .

* ugh
This commit is contained in:
Kashargul
2026-05-05 10:55:17 +02:00
committed by GitHub
parent 13162d13a2
commit 5926589c16
1987 changed files with 7376 additions and 7377 deletions
@@ -89,7 +89,7 @@
else
animate(src, transform = turn(src.transform, rotate_degrees), time = 6) //Can't update transform because it will reset the angle.
/obj/structure/prop/prism/proc/rotate_auto(var/new_bearing)
/obj/structure/prop/prism/proc/rotate_auto(new_bearing)
if(rotation_lock)
visible_message(span_infoplain(span_bold("\The [src]") + " shudders."))
playsound(src, 'sound/effects/clang.ogg', 50, 1)
@@ -117,7 +117,7 @@
else
animate(src, transform = turn(src.transform, rotate_degrees), time = 6)
/obj/structure/prop/prism/bullet_act(var/obj/item/projectile/Proj)
/obj/structure/prop/prism/bullet_act(obj/item/projectile/Proj)
if(istype(Proj, redirect_type))
visible_message(span_danger("\The [src] redirects \the [Proj]!"))
flick("[initial(icon_state)]+glow", src)
@@ -615,7 +615,7 @@
/obj/structure/prop/machine/nt_pod/Entered(atom/movable/mover)
abduct(mover)
/obj/structure/prop/machine/nt_pod/proc/abduct(var/atom/movable/AM)
/obj/structure/prop/machine/nt_pod/proc/abduct(atom/movable/AM)
// Save old settings
contents_vis_flags = AM.vis_flags
contents_original_pixel_y = AM.pixel_y
@@ -632,7 +632,7 @@
// TRAP THEM
change_state("closed")
/obj/structure/prop/machine/nt_pod/proc/unduct(var/atom/movable/AM)
/obj/structure/prop/machine/nt_pod/proc/unduct(atom/movable/AM)
// Geddout
vis_contents -= AM
if(ismob(AM))
@@ -644,7 +644,7 @@
AM.vis_flags = contents_vis_flags
AM.pixel_y = contents_original_pixel_y
/obj/structure/prop/machine/nt_pod/MouseDrop_T(var/atom/movable/AM, var/mob/user)
/obj/structure/prop/machine/nt_pod/MouseDrop_T(atom/movable/AM, mob/user)
if(contents.len)
return
if(!ismovable(AM))
@@ -694,7 +694,7 @@
// Old Virology stuff
/obj/structure/prop/machine/nt_pod/proc/delayed_flick(var/obj/effect/overlay/ovrl, var/icon_state, var/flicked, var/get_out_time)
/obj/structure/prop/machine/nt_pod/proc/delayed_flick(obj/effect/overlay/ovrl, icon_state, flicked, get_out_time)
ovrl.icon_state = icon_state
flick(flicked, ovrl)
// GET OUT
+2 -2
View File
@@ -44,7 +44,7 @@
if(world.time > last_spawn + spawn_delay)
spawn_creature(get_turf(src))
/obj/structure/prop/nest/proc/spawn_creature(var/turf/spawnpoint)
/obj/structure/prop/nest/proc/spawn_creature(turf/spawnpoint)
update_creatures() //Paranoia.
if(total_creature_max && tally >= total_creature_max)
return
@@ -58,7 +58,7 @@
den_mobs += L
tally++
/obj/structure/prop/nest/proc/remove_creature(var/mob/target)
/obj/structure/prop/nest/proc/remove_creature(mob/target)
den_mobs -= target
/obj/structure/prop/nest/proc/update_creatures()
@@ -39,7 +39,7 @@
interaction_message = span_notice("The object remains inert to your touch.")
/obj/structure/prop/lock/projectile/bullet_act(var/obj/item/projectile/Proj)
/obj/structure/prop/lock/projectile/bullet_act(obj/item/projectile/Proj)
if(!istype(Proj, projectile_key) || timing)
return
@@ -27,7 +27,7 @@
return 0
return 1
/obj/machinery/door/blast/puzzle/bullet_act(var/obj/item/projectile/Proj)
/obj/machinery/door/blast/puzzle/bullet_act(obj/item/projectile/Proj)
if(!istype(Proj, /obj/item/projectile/test))
visible_message(span_cult("\The [src] is completely unaffected by \the [Proj]."))
qdel(Proj) //No piercing. No.
@@ -88,11 +88,11 @@
qdel(C)
return 0
/obj/machinery/door/blast/puzzle/attack_generic(var/mob/user, var/damage)
/obj/machinery/door/blast/puzzle/attack_generic(mob/user, damage)
if(check_locks())
force_toggle(1, user)
/obj/machinery/door/blast/puzzle/attack_alien(var/mob/user)
/obj/machinery/door/blast/puzzle/attack_alien(mob/user)
if(check_locks())
force_toggle(1, user)
+4 -4
View File
@@ -32,7 +32,7 @@
active_beams = null
. = ..()
/obj/structure/cult/pylon/swarm/pylonhit(var/damage)
/obj/structure/cult/pylon/swarm/pylonhit(damage)
if(!isbroken)
if(prob(1 + damage * 3))
visible_message(span_danger("[shatter_message]"))
@@ -43,7 +43,7 @@
icon_state = "[initial(icon_state)]-broken"
set_light(0)
/obj/structure/cult/pylon/swarm/attackpylon(mob/user as mob, var/damage)
/obj/structure/cult/pylon/swarm/attackpylon(mob/user as mob, damage)
if(!isbroken)
if(prob(1 + damage * 3))
user.visible_message(
@@ -112,7 +112,7 @@
description_info = "An infinitely small point in space spread upon infinitely many finitely-bounded points in space. Nice."
/obj/structure/cult/pylon/swarm/defender/pylonhit(var/damage)
/obj/structure/cult/pylon/swarm/defender/pylonhit(damage)
if(!isbroken)
if(prob(1 + damage * 3) && damage >= 25)
visible_message(span_danger("[shatter_message]"))
@@ -123,7 +123,7 @@
icon_state = "[initial(icon_state)]-broken"
set_light(0)
/obj/structure/cult/pylon/swarm/defender/attackpylon(mob/user as mob, var/damage)
/obj/structure/cult/pylon/swarm/defender/attackpylon(mob/user as mob, damage)
if(!isbroken)
if(prob(1 + damage * 2) && damage >= 15)
user.visible_message(