mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes dirt vulnerability
Fixes dirt vulnerability trait being completely bonkers broken and causing slips on every single step regardless of whether the floors were even clean or not and also makes it not affect walk intent.
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
|
||||
bloodDNA = null
|
||||
|
||||
if(src.wet || (dirtslip && (dirt > 50 || outdoors))) //CHOMPEdit
|
||||
if(src.wet || (dirtslip && (dirt > 50 || outdoors == 1))) //CHOMPEdit
|
||||
|
||||
if(M.buckled || (src.wet == 1 && M.m_intent == "walk"))
|
||||
return
|
||||
@@ -139,6 +139,8 @@
|
||||
floor_type = "dirty"
|
||||
else if(outdoors)
|
||||
floor_type = "uneven"
|
||||
if(src.wet == 0 && M.m_intent == "walk")
|
||||
return
|
||||
//CHOMPEdit End
|
||||
switch(src.wet)
|
||||
if(2) // Lube
|
||||
|
||||
Reference in New Issue
Block a user