Gives changeNextMove() a better name, default define

This commit is contained in:
mwerezak
2015-06-30 22:29:45 -04:00
parent 087a978d56
commit 32b95445e3
27 changed files with 46 additions and 43 deletions
+3 -3
View File
@@ -171,7 +171,7 @@
playsound(loc, 'sound/effects/Glasshit.ogg', 50, 1)
/obj/structure/window/attack_hand(mob/user as mob)
user.changeNextMove(8)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(HULK in user.mutations)
user.say(pick(";RAAAAAAAARGH!", ";HNNNNNNNNNGGGGGGH!", ";GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", ";AAAAAAARRRGH!"))
user.visible_message("<span class='danger'>[user] smashes through [src]!</span>")
@@ -199,7 +199,7 @@
return
/obj/structure/window/attack_generic(var/mob/user, var/damage)
user.changeNextMove(8)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(!damage)
return
if(damage >= 10)
@@ -269,7 +269,7 @@
new glasstype(loc)
qdel(src)
else
user.changeNextMove(8)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(W.damtype == BRUTE || W.damtype == BURN)
user.do_attack_animation(src)
hit(W.force)