mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[Ready] Deadchat control component, also a chance for deadchat controlled birdboat. (#47110)
* Dead chat controlled singularity! It just can't go wrong. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Renames the input_cooldown var to make more sense. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Begone ugly checks. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * oh yeah, I can just do this. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Replaced the deadchat control with a component. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Autodoc Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Removed the leftover global list. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Possessed goose, bye singularity. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * vomit Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Deadchat plays singularity Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Removed global mode completely, also reviews. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * Reviews. Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com> * alrighty then Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
orbiters[orbiter] = TRUE
|
||||
orbiter.orbiting = src
|
||||
RegisterSignal(orbiter, COMSIG_MOVABLE_MOVED, .proc/orbiter_move_react)
|
||||
SEND_SIGNAL(parent, COMSIG_ATOM_ORBIT_BEGIN, orbiter)
|
||||
var/matrix/initial_transform = matrix(orbiter.transform)
|
||||
|
||||
// Head first!
|
||||
@@ -86,6 +87,7 @@
|
||||
if(!orbiters[orbiter])
|
||||
return
|
||||
UnregisterSignal(orbiter, COMSIG_MOVABLE_MOVED)
|
||||
SEND_SIGNAL(parent, COMSIG_ATOM_ORBIT_STOP, orbiter)
|
||||
orbiter.SpinAnimation(0, 0)
|
||||
orbiters -= orbiter
|
||||
orbiter.stop_orbit(src)
|
||||
|
||||
Reference in New Issue
Block a user