GetHerbRegrowTime
A kind’s regrow time in real seconds.
Syntax
Section titled “Syntax”GetHerbRegrowTime(kind)| Parameter | Type | |
|---|---|---|
kind |
string | the item name, its class GUID, or "*" (the longest of them) |
Returns
Section titled “Returns”number - real seconds (0 = never on its own), or nil for no such kind
Example
Section titled “Example”print(GetHerbRegrowTime("herb_chamomile")) -- 23040 at the default clock speed (96 game hours)See also
Section titled “See also”SetHerbRegrowTime · the Herbs and mushrooms group of the index
