mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 07:37:06 +01:00
25 lines
685 B
Plaintext
25 lines
685 B
Plaintext
/**
|
|
* i hate that this has to exist
|
|
* hud refactor + plane refactor + redoing augmented plane when
|
|
*/
|
|
/atom/movable/augmented_holder
|
|
plane = AUGMENTED_PLANE
|
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
|
/// our master
|
|
var/atom/movable/holder
|
|
|
|
/atom/movable/augmented_holder/Initialize(mapload, atom/movable/master, mutable_appearance/A)
|
|
appearance = A
|
|
// incase some idiot (see: myself) forgets to make the mutable appearance move to the right plane..
|
|
plane = AUGMENTED_PLANE
|
|
holder = master
|
|
holder.vis_contents += src
|
|
vis_flags = VIS_INHERIT_ID
|
|
moveToNullspace()
|
|
return ..()
|
|
|
|
/atom/movable/augmented_holder/Destroy()
|
|
holder.vis_contents -= src
|
|
holder = null
|
|
return ..()
|