Porting movespeed modification system updates.

This commit is contained in:
Ghommie
2019-10-23 19:24:34 +02:00
parent 432a7dba5d
commit c882c098cc
27 changed files with 164 additions and 170 deletions
+1 -1
View File
@@ -276,7 +276,7 @@
ADD_TRAIT(H, TRAIT_PIERCEIMMUNE, "dna_vault")
if(VAULT_SPEED)
to_chat(H, "<span class='notice'>Your legs feel faster.</span>")
ADD_TRAIT(H, TRAIT_GOTTAGOFAST, "dna_vault")
H.add_movespeed_modifier(MOVESPEED_ID_DNA_VAULT, update=TRUE, priority=100, multiplicative_slowdown=-1, blacklisted_movetypes=(FLYING|FLOATING))
if(VAULT_QUICK)
to_chat(H, "<span class='notice'>Your arms move as fast as lightning.</span>")
H.next_move_modifier = 0.5