Comments I guess

This commit is contained in:
GuiltyNeko
2022-03-14 15:18:56 -07:00
parent 9adae10320
commit 2a1e4e3af3
@@ -18,10 +18,10 @@
/mob/living/simple_mob/examine(mob/user)
. = ..()
if(stat != DEAD && user && harvest_tool && (get_dist(user, src) <= 3))
. += "<span class='notice'>\The [src] can be [harvest_verb] with a [initial(harvest_tool.name)] every [harvest_cooldown / 600] minutes.</span>"
. += "<span class='notice'>\The [src] can be [harvest_verb] with a [initial(harvest_tool.name)] every [harvest_cooldown / 600] minutes.</span>" //CHOMPEdit Please do math better
var/time_to_harvest = (harvest_recent + harvest_cooldown) - world.time
if(time_to_harvest > 0)
. += "<span class='notice'>It can be [harvest_verb] in [(time_to_harvest)] second(s).</span>"
. += "<span class='notice'>It can be [harvest_verb] in [(time_to_harvest)] second(s).</span>" //CHOMPEdit This is as good as I can get for now, I intend to make it better later
else
. += "<span class='notice'>It can be [harvest_verb] now.</span>"