mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user