Skip to main content

Module growth

Module growth 

Source
Expand description

GrowthComponent’s scheduled and visual phases. Description field names remain numeric where the original names are unknown.

Original: FUN_140125520, FUN_140125370.

Structs§

Growth
The growth state of a natural resource (a tree, a crop, a herb).
GrowthTick
What one growth update changed.

Functions§

adjust_map_byte
Retain the squared byte-fraction arithmetic and integer truncation.
scale
The visible scale of a growing resource for its growth value: [x, y, z, w]. A tall resource reaches its full width at growth 0.15 and then only grows in height; others scale evenly.