mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 19:03:21 +00:00
* Del The World: Unit testing for hard deletes (#59612) Co-authored-by: SteelSlayer <42044220+SteelSlayer@ users.noreply.github.com> * Del The World: Unit testing for hard deletes Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@ users.noreply.github.com>
27 lines
584 B
Plaintext
27 lines
584 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()
|
|
. = ..()
|
|
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(S, current_size)
|
|
return
|
|
|