mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
2 minute cooldown
This commit is contained in:
@@ -61,11 +61,11 @@
|
||||
..()
|
||||
if(ismob(loc))
|
||||
var/mob/M = loc
|
||||
if(candy_cooldown+120 < world.time)
|
||||
if(candy_cooldown < world.time)
|
||||
var/obj/item/weapon/reagent_containers/food/snacks/candy_corn/CC = new /obj/item/weapon/reagent_containers/food/snacks/candy_corn(src)
|
||||
M.put_in_hands(CC)
|
||||
M << "You slip a candy corn from your hat."
|
||||
candy_cooldown = world.time
|
||||
candy_cooldown = world.time+1200
|
||||
else
|
||||
M << "You just took a candy corn! You should wait a couple minutes, lest you burn through your stash."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user