Gravity proc tweaks (#19047)

Tweaked gravity check proc to be more inline with TG's version.
Added signals for gravity check, that allows atoms to perform
anti-gravity.
Fixed roller beds thinking they have no gravity and thus not emitting
the rolling sound.

Fixes #19045
This commit is contained in:
Fluffy
2024-05-05 14:10:49 +00:00
committed by GitHub
parent d6c24f11c4
commit 3bbc802413
9 changed files with 114 additions and 16 deletions
@@ -13,7 +13,7 @@
if(!silent)
to_chat(user, SPAN_WARNING("You are buckled down and cannot maneuver!"))
return FALSE
if(!has_gravity(user))
if(!user.has_gravity())
if(!silent)
to_chat(user, SPAN_WARNING("You cannot maneuver in zero gravity!"))
return FALSE