Files
2023-06-03 19:58:47 +02:00

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 ..()