Orbiter component now uses lock_in_orbit parameter, allowing for orbiters that always stay with an atom (#19278)

* Wisps shouldn't get disturbed by the shuttle anyways

* Why on earth wasn't it even using that?

* Update orbiter.dm
This commit is contained in:
Vi3trice
2022-10-16 15:28:20 +02:00
committed by GitHub
parent 70762ba7e0
commit c4f9086b38
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -114,7 +114,8 @@
orbiter.orbiting_uid = parent.UID()
store_orbit_data(orbiter, orbit_flags)
RegisterSignal(orbiter, COMSIG_MOVABLE_MOVED, .proc/orbiter_move_react)
if(!lock_in_orbit)
RegisterSignal(orbiter, COMSIG_MOVABLE_MOVED, .proc/orbiter_move_react)
// Head first!
if(pre_rotation)
@@ -247,7 +247,7 @@
to_chat(user, "<span class='notice'>You release the wisp. It begins to bob around your head.</span>")
icon_state = "lantern"
wisp.orbit(user, 20)
wisp.orbit(user, 20, lock_in_orbit = TRUE)
set_light(0)
user.update_sight()