Skip to content

ResetHerb

A picked spot grows back now, for everyone.

Also a herb of the mode’s (CreateHerb) that was picked stands again. At once, in view of the players around it.

ResetHerb(key)
Parameter Type
key string the spot’s key (OnPlayerPickHerb’s key, TakeHerbs, GetHerbsNear)

true, false when the server holds no picked spot of that key

local key = TakeHerbs("herb_mint", 600, 3300, 146, 5, 0)
SetTimer(function() ResetHerb(key) end, 600000, false) -- back after ten minutes

ResetHerbs · GetHerbsNear · the Herbs and mushrooms group of the index