Removes click cooldowns almost everywhere.

Still have: doors, windoors, cameras, windows, grilles, blobs, resisting, alien stuff, mechas, spray bottles.
Setting changeNextMove is now responsibility of the item being attacked.
Adds a config option to eliminate click cooldowns completely. Intended to be used by devs.
This commit is contained in:
Kelenius
2015-05-09 17:27:19 +03:00
parent 538ce2f3ea
commit 3fa79f8d51
33 changed files with 110 additions and 144 deletions
+3
View File
@@ -33,6 +33,7 @@
/obj/structure/grille/attack_hand(mob/user as mob)
user.changeNextMove(8)
playsound(loc, 'sound/effects/grillehit.ogg', 80, 1)
var/damage_dealt = 1
@@ -154,8 +155,10 @@
//window placing end
else if(istype(W, /obj/item/weapon/shard))
user.changeNextMove(8)
health -= W.force * 0.1
else if(!shock(user, 70))
user.changeNextMove(8)
playsound(loc, 'sound/effects/grillehit.ogg', 80, 1)
switch(W.damtype)
if("fire")