FarmingContract

A value shape that methods take or return.

Group
player
Methods
None
Fields
4

Getting one

player:farming():contract()

Fields

FieldTypeDescription
producestringThe name of the produce the guild asks for ("CABBAGE").
summaryFarmingSummaryHow it stands, from the guild's patches.
cropStateCropState?The guild patch's crop that counts, nil when none does.
readyAtnumber?When that crop is ready, Unix ms (0 once it is); nil while none grows.

Returned by

MethodReturnsDescription
Farming.contractFarmingContract?The Farming Guild contract and how it stands, nil when there is none.