Removes a lot of redefined procs (#26186)

* aaaaaaaaaaaaaaa

* Forgor

* Adds missing /proc/

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
DGamerL
2024-07-30 13:19:32 +00:00
committed by GitHub
parent cbeedfca9f
commit b497e4c925
76 changed files with 154 additions and 450 deletions
-27
View File
@@ -48,16 +48,6 @@
/atom/proc/extinguish_light(force = FALSE)
return
// If we have opacity, make sure to tell (potentially) affected light sources.
/atom/movable/Destroy()
var/turf/T = loc
. = ..()
if(opacity && istype(T))
var/old_has_opaque_atom = T.has_opaque_atom
T.recalc_atom_opacity()
if(old_has_opaque_atom != T.has_opaque_atom)
T.reconsider_lights()
// Should always be used to change the opacity of an atom.
// It notifies (potentially) affected light sources so they can update (if needed).
/atom/proc/set_opacity(new_opacity)
@@ -78,23 +68,6 @@
if(old_has_opaque_atom != T.has_opaque_atom)
T.reconsider_lights()
/atom/vv_edit_var(var_name, var_value)
switch(var_name)
if("light_range")
set_light(l_range=var_value)
return TRUE
if("light_power")
set_light(l_power=var_value)
return TRUE
if("light_color")
set_light(l_color=var_value)
return TRUE
return ..()
/atom/proc/flash_lighting_fx(_range = FLASH_LIGHT_RANGE, _power = FLASH_LIGHT_POWER, _color = LIGHT_COLOR_WHITE, _duration = FLASH_LIGHT_DURATION, _reset_lighting = TRUE)
return