Jump to content

Template:Infobox forageable

From StepHarvest Wiki

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.