mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-11 16:01:12 +00:00
* Day 1 * Circuits, Bots, UAV * Fixes * Cleaning * Finished Science * e * asdasd * aesfesf * Fix Medibots (including the bee one) * Bleh * Fixes RPD with some code improvements * RCON Patch * RCON PATCHES * Rename popper.tsx to Popper.tsx * Rename popper.stories.js to Popper.stories.js * Yarn and Popper Updates * I am going to shit bricks * So Tired * asdas * Finally fixed tanks * Radio is fixed * Fixes Pipes * RCD SCROLLING! * Fixes Chat (because everyone uses hybrid???) * Fixes bugged themes * habhabahab - Fixes Air Alarm modes * Fixes Medibot UI and UI Action Buttons * Fixing say_emphasis missing on NIF messages * a
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
// this system is shit change it asap // KEVINZ000 COMMENT
|
|
|
|
/turf/Entered(atom/movable/AM)
|
|
. = ..()
|
|
if(SSopenspace.subsystem_initialized && !AM.invisibility && isobj(AM))
|
|
var/turf/T = GetAbove(src)
|
|
if(isopenturf(T))
|
|
// log_debug("[T] ([T.x],[T.y],[T.z]) queued for update for [src].Entered([AM])")
|
|
SSopenspace.add_turf(T, 1)
|
|
|
|
/turf/Exited(atom/movable/AM)
|
|
..()
|
|
if(SSopenspace.subsystem_initialized && !AM.invisibility && isobj(AM))
|
|
var/turf/T = GetAbove(src)
|
|
if(isopenturf(T))
|
|
// log_debug("[T] ([T.x],[T.y],[T.z]) queued for update for [src].Exited([AM])")
|
|
SSopenspace.add_turf(T, 1)
|
|
|
|
///Updates the icon of the obj
|
|
/obj/update_icon()
|
|
. = ..()
|
|
if(SSopenspace.subsystem_initialized && !invisibility && isturf(loc))
|
|
var/turf/T = GetAbove(src)
|
|
if(isopenturf(T))
|
|
// log_debug("[T] ([T.x],[T.y],[T.z]) queued for update for [src].update_icon()")
|
|
SSopenspace.add_turf(T, 1)
|
|
|
|
///Just as New() we probably should hook Destroy() If we can think of something more efficient, lets hear it.
|
|
/obj/Destroy()
|
|
if(SSopenspace.subsystem_initialized && !invisibility && isturf(loc))
|
|
var/turf/T = GetAbove(src)
|
|
if(isopenturf(T))
|
|
SSopenspace.add_turf(T, 1)
|
|
. = ..() // Important that this be at the bottom, or we will have been moved to nullspace.
|