VV's door stuckage code

- adds a chance to be stuck in doors if you're fat enough. The chance increases the fatter you are
This commit is contained in:
evilew
2024-03-03 23:36:18 +01:00
parent cbe3c15dce
commit c58e7dff83
3 changed files with 36 additions and 0 deletions
@@ -1592,6 +1592,10 @@ GLOBAL_LIST_EMPTY(roundstart_races)
gravity = H.has_gravity()
//GS13 - used in door stuckage code
if(H.doorstuck)
. += 1000
if(gravity && !flight) //Check for chemicals and innate speedups and slowdowns if we're on the ground
if(HAS_TRAIT(H, TRAIT_GOTTAGOFAST))
. -= 1