Converts no slip into a trait (#23140)

* makes noslips work

* trait part

* THE REST

* it didnt conflict too much actually

* this was intended, whoops lol

* no more processing

* consistency

* lewc review

* Apply suggestions from code review

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
BiancaWilkson
2024-01-06 18:29:10 -05:00
committed by GitHub
parent 1a29419228
commit 95c86c5bfc
12 changed files with 41 additions and 25 deletions
@@ -57,7 +57,7 @@
. = ..()
if(!.)
return
mod.boots.flags |= NOSLIP
ADD_TRAIT(mod.wearer, TRAIT_NOSLIP, UID())
mod.slowdown += slowdown_active
ADD_TRAIT(mod.wearer, TRAIT_MAGPULSE, "magbooted")
@@ -65,7 +65,7 @@
. = ..()
if(!.)
return
mod.boots.flags ^= NOSLIP
REMOVE_TRAIT(mod.wearer, TRAIT_NOSLIP, UID())
mod.slowdown -= slowdown_active
REMOVE_TRAIT(mod.wearer, TRAIT_MAGPULSE, "magbooted")