Jump to content

Template:Infobox forageable: Difference between revisions

From StepHarvest Wiki
Forageable infobox
 
Doc: drop beach mention
 
Line 22: Line 22:
|description=Text
|description=Text
}}
}}
Infobox for forest and beach forageables (nuts, mushrooms, flowers, plants, bugs, butterflies). Parameter names map to the game's data fields so a future bulk sync stays mechanical. The base value drives the per quality store payouts, computed by [[Module:StepHarvest]] from the universal quality multipliers, the same rule used for crops.
Infobox for forageables (nuts, mushrooms, flowers, plants, bugs, butterflies). Parameter names map to the game's data fields so a future bulk sync stays mechanical. The base value drives the per quality store payouts, computed by [[Module:StepHarvest]] from the universal quality multipliers, the same rule used for crops.


Data is stored in the Cargo table <code>forageables</code>, so the category lists on [[Foraging]] are queries.
Data is stored in the Cargo table <code>forageables</code>, so the category lists on [[Foraging]] are queries.

Latest revision as of 18:14, 16 June 2026

This template defines the table "forageables". View table. Infobox for forageables (nuts, mushrooms, flowers, plants, bugs, butterflies). Parameter names map to the game's data fields so a future bulk sync stays mechanical. The base value drives the per quality store payouts, computed by Module:StepHarvest from the universal quality multipliers, the same rule used for crops.

Data is stored in the Cargo table forageables, so the category lists on Foraging are queries.

Usage

{{Infobox forageable
|name=Morel
|image=Morel
|type=Mushroom
|zone=Whispering Woods
|seasons=spring
|allyear=
|rare=
|requires=
|value=80
|description=A prized honeycomb-textured mushroom.
}}
  • type is one of Nut, Mushroom, Flower, Plant, Bug, Butterfly.
  • seasons is a comma separated list. For year round items set allyear=1 (and still list all four seasons in seasons so queries work).
  • rare=1 marks a rare find (adds a star to the title).
  • requires is an optional unlock note, for example a foraging mastery level.
  • Pages are normally generated by the build script, not written by hand.