FarmingContract
A value shape that methods take or return.
Getting one
player:farming():contract()Fields
| Field | Type | Description |
|---|---|---|
produce | string | The name of the produce the guild asks for ("CABBAGE"). |
summary | FarmingSummary | How it stands, from the guild's patches. |
cropState | CropState? | The guild patch's crop that counts, nil when none does. |
readyAt | number? | When that crop is ready, Unix ms (0 once it is); nil while none grows. |
Returned by
| Method | Returns | Description |
|---|---|---|
Farming.contract | FarmingContract? | The Farming Guild contract and how it stands, nil when there is none. |