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

View File

@@ -325,9 +325,12 @@
if(!req_breakout())
return
if(!escapee.canClick())
return
escapee.changeNextMove(100)
//okay, so the closet is either welded or locked... resist!!!
escapee.next_move = world.time + 100
escapee.last_special = world.time + 100
escapee << "<span class='warning'>You lean on the back of \the [src] and start pushing the door open. (this will take about [breakout_time] minutes)</span>"
visible_message("<span class='danger'>The [src] begins to shake violently!</span>")