CoolDowns

by Zuruel
An easy way to make and handle those fancy cooldown effects in most modern action / rpg games [More]
To download this demo for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Zuruel.CoolDowns##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Zuruel.CoolDowns##version=1

19 downloads
Version 1.0
Date added: Jun 2 2016
Last updated: Jul 4 2016
0 fans
Alternative Link: https://www.dropbox.com/s/bqfuqu3xcmnq0v3/ CoolDowns_src.zip?dl=0

Example:
obj/potion
CoolDown_Delay=10*seconds
Click()
..()
if(OnCoolDown)
usr<<"You must wait [round(CoolDown_Time/seconds)] seconds to use this agian."
return
else
Send_CoolDown()
usr<<"You used a potion"

Comments

Zuruel: (Jun 9 2016, 1:55 am)
Thanks xD. I'll see if i can find another place to upload it to by the way.
Lizard_Sphere_X: (Jun 7 2016, 2:05 am)
You mean CoolBeans?
Bandock: (Jun 5 2016, 2:42 am)
Linking through Dropbox is probably still a problem. One service that works at present is OziBox (though you need to download the file once to acquire the link).
Red Hall Dev: (Jun 4 2016, 7:07 pm)
Installation failed. It's not packaged properly.