mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Orbit Menu: Auto-Observe mode, Refresh button, Alive/Ghost counters (#54031)
Observe, Refresh, alive/ghost count, and no more [ghost] Apply suggestions from mr jaredfogle Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com> mister jaredfogle yes? he built? tgui it
This commit is contained in:
@@ -160,10 +160,11 @@
|
||||
/atom/movable/proc/orbit(atom/A, radius = 10, clockwise = FALSE, rotation_speed = 20, rotation_segments = 36, pre_rotation = TRUE)
|
||||
if(!istype(A) || !get_turf(A) || A == src)
|
||||
return
|
||||
|
||||
orbit_target = A
|
||||
return A.AddComponent(/datum/component/orbiter, src, radius, clockwise, rotation_speed, rotation_segments, pre_rotation)
|
||||
|
||||
/atom/movable/proc/stop_orbit(datum/component/orbiter/orbits)
|
||||
orbit_target = null
|
||||
return // We're just a simple hook
|
||||
|
||||
/atom/proc/transfer_observers_to(atom/target)
|
||||
|
||||
Reference in New Issue
Block a user