Expand description
Orchards: OrchardComponent, FruitComponent on the trees, and the works PlantOrchard, TendArea (as an orchard’s) and fruit picking. See docs/FARMING.md “Orchards”.
Original: FUN_140052a40, 0x14015f5a0, 0x140167d30, 0x140167940.
Structs§
- Fruit
- FruitComponent ripeness (0–1) and picked this season.
- Fruit
Template - FruitDescription: ripening time (× 300 s), the best temperature and its range, the fruit’s raw material (pile template).
- Orchard
- OrchardComponent.
- Orchard
Template - OrchardDescription (versioned): the tree spacing, a tending visit’s ripening (share of the ripening time), the stock slot (version 1).
- Tree
Slot - One tree slot (0x28 bytes).
Functions§
- ripen
- FruitComponent’s scheduled update. A picked tree waits for the next season (months 7–11 keep it
picked). A grown tree ripens at
1 / (months × 300)per second scaled by1 − ((t − best) / range)²(0 outside the range, −10 at or below 32 °F). - ripeness
Sim::orchard_ripenessof an orchard: with no trees, 1.