m_intent now uses defines

This commit is contained in:
Mervill
2016-12-03 00:25:44 -08:00
parent 96c93f6b38
commit 481cc07dcf
14 changed files with 24 additions and 22 deletions
+2 -2
View File
@@ -66,7 +66,7 @@
var/mob/living/L = AM
if(L.movement_type & FLYING)
return
if(L.m_intent != "walk" && prob(40))
if(L.m_intent != MOVE_INTENT_WALK && prob(40))
var/acid_used = min(acid_level*0.05, 20)
if(L.acid_act(10, acid_used, "feet"))
acid_level = max(0, acid_level - acid_used*10)
@@ -98,4 +98,4 @@
if(8)
visible_message("<span class='warning'>[target] is struggling to withstand the acid!</span>")
if(4)
visible_message("<span class='warning'>[target] begins to crumble under the acid!</span>")
visible_message("<span class='warning'>[target] begins to crumble under the acid!</span>")