icons
Puts the farm's bright item icons (the `icons/` folder of farmLifeKit, baked by `iconBaker`) on every inventoryKit item that has one, so the village store, the farm's item bar and inventoryKit's own screens show recognisable seeds, crops, upgrade tickets, fiber and stone instead…
farmLifeKit.icons
Puts the farm's bright item icons (the icons/ folder of farmLifeKit, baked by iconBaker) on every inventoryKit item that has one, so the village store, the farm's item bar and inventoryKit's own screens show recognisable seeds, crops, upgrade tickets, fiber and stone instead of near-black squares.
Icons.apply(): run once in play on every peer (FarmLife does it); returns how many items changed.Icons.nameFor(id): the farm icon's asset name for an item id, or nil.
A game that adds a crop gets a farm icon by baking one: require("~farmLifeKit.iconBaker").save(id, require("~farmLifeKit.iconBaker").fromRender(textureFolder, { 222, 140, 60 })).
Scoped to this part · feeds back into the world's score.