mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-16 12:07:48 +00:00
## About The Pull Request Previous attempt - https://github.com/tgstation/tgstation/pull/87227 `/atom/proc/singularity_pull(obj/singularity/singularity, current_size)` has first arg typed, but other procs were just referencing it as a un-typed variable. Since args are not standartized AND `atom/proc/singularity_pull(obj/singularity/singularity, current_size)` is out-dated, since it can be called by things that has `/datum/component/singularity` - not just by `obj/singularity/singularity` - This PR just adds args to every `proc/singularity_pull()` as follows: `proc/singularity_pull(atom/singularity, current_size)` ## Why It's Good For The Game Standartization ## Changelog No changelog needed
27 lines
606 B
Plaintext
27 lines
606 B
Plaintext
/obj/effect/shield
|
|
name = "shield"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "wave2"
|
|
layer = ABOVE_NORMAL_TURF_LAYER
|
|
flags_1 = PREVENT_CLICK_UNDER_1
|
|
anchored = TRUE
|
|
var/old_heat_capacity
|
|
|
|
/obj/effect/shield/Initialize(mapload)
|
|
. = ..()
|
|
var/turf/location = get_turf(src)
|
|
old_heat_capacity=location.heat_capacity
|
|
location.heat_capacity = INFINITY
|
|
|
|
/obj/effect/shield/Destroy()
|
|
var/turf/location = get_turf(src)
|
|
location.heat_capacity=old_heat_capacity
|
|
return ..()
|
|
|
|
/obj/effect/shield/singularity_act()
|
|
return
|
|
|
|
/obj/effect/shield/singularity_pull(atom/singularity, current_size)
|
|
return
|
|
|