Auto-Observe!

This commit is contained in:
SmArtKar
2021-01-28 17:09:28 +03:00
parent b7001453a3
commit a7bc066891
6 changed files with 66 additions and 15 deletions
+2
View File
@@ -146,9 +146,11 @@
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)