mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 06:04:23 +01:00
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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user