Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Getting started
Farming
Mining
Fishing
Foraging
Crafting
NPCs
Quests
Achievements
Pets
Guilds and social
Mastery
Seasons
Marketplace
wiki
Recent changes
Random page
Help
StepHarvest Wiki
Search
Search
Appearance
Log in
Personal tools
Log in
View source for Template:Infobox forageable
Template
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Page information
Cargo data
Appearance
move to sidebar
hide
←
Template:Infobox forageable
You do not have permission to edit this page.
You can view and copy the source of this page.
<includeonly><templatestyles src="Infobox crop/styles.css" /><div class="sh-infobox"><!-- --><div class="sh-infobox-title">{{{name|{{PAGENAME}}}}}{{#if:{{{rare|}}}| ★|}}</div><!-- -->{{#ifexist:File:{{{image|{{PAGENAME}}}}}.png|<div class="sh-infobox-image">[[File:{{{image|{{PAGENAME}}}}}.png|96px|alt={{{name|{{PAGENAME}}}}}]]</div>|}}<!-- -->{{#if:{{{description|}}}|<div class="sh-infobox-desc">{{{description}}}</div>|}}<!-- --><div class="sh-infobox-rows"><!-- --><div class="sh-infobox-section">Foraging</div><!-- -->{{#if:{{{type|}}}|<div class="sh-infobox-row"><div class="sh-infobox-label">Type</div><div class="sh-infobox-value">{{{type}}}</div></div>|}}<!-- -->{{#if:{{{zone|}}}|<div class="sh-infobox-row"><div class="sh-infobox-label">Zone</div><div class="sh-infobox-value">[[Foraging|{{{zone}}}]]</div></div>|}}<!-- --><div class="sh-infobox-row"><div class="sh-infobox-label">Season</div><div class="sh-infobox-value">{{#if:{{{allyear|}}}|All year|{{#invoke:StepHarvest|seasons|{{{seasons|}}}}}}}</div></div><!-- --><div class="sh-infobox-row"><div class="sh-infobox-label">Rarity</div><div class="sh-infobox-value">{{#if:{{{rare|}}}|Rare|Common}}</div></div><!-- -->{{#if:{{{requires|}}}|<div class="sh-infobox-row"><div class="sh-infobox-label">Requires</div><div class="sh-infobox-value">{{{requires}}}</div></div>|}}<!-- -->{{#if:{{{value|}}}|<div class="sh-infobox-section">Selling</div><div class="sh-infobox-row"><div class="sh-infobox-label">Base value</div><div class="sh-infobox-value">{{Gold|{{{value}}}}}</div></div><div class="sh-infobox-section">Instant sell to store</div><div class="sh-infobox-row"><div class="sh-infobox-label">{{Quality|regular}}</div><div class="sh-infobox-value">{{Gold|{{#invoke:StepHarvest|storePayout|{{{value}}}|regular}}}}</div></div><div class="sh-infobox-row"><div class="sh-infobox-label">{{Quality|silver}}</div><div class="sh-infobox-value">{{Gold|{{#invoke:StepHarvest|storePayout|{{{value}}}|silver}}}}</div></div><div class="sh-infobox-row"><div class="sh-infobox-label">{{Quality|gold}}</div><div class="sh-infobox-value">{{Gold|{{#invoke:StepHarvest|storePayout|{{{value}}}|gold}}}}</div></div><div class="sh-infobox-row"><div class="sh-infobox-label">{{Quality|pristine}}</div><div class="sh-infobox-value">{{Gold|{{#invoke:StepHarvest|storePayout|{{{value}}}|pristine}}}}</div></div><div class="sh-infobox-note">Store payouts for a fresh sale by quality. See [[Marketplace]].</div>|}}<!-- --></div><!-- --></div>{{#cargo_store:_table=forageables|name={{{name|{{PAGENAME}}}}}|type={{{type|}}}|zone={{{zone|}}}|seasons={{{seasons|}}}|rare={{{rare|}}}|value={{{value|}}}|description={{{description|}}}}}</includeonly><noinclude> {{#cargo_declare:_table=forageables |name=String |type=String |zone=String |seasons=List (,) of String |rare=Boolean |value=Integer |description=Text }} 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. == Usage == <pre> {{Infobox forageable |name=Morel |image=Morel |type=Mushroom |zone=Whispering Woods |seasons=spring |allyear= |rare= |requires= |value=80 |description=A prized honeycomb-textured mushroom. }} </pre> * <code>type</code> is one of Nut, Mushroom, Flower, Plant, Bug, Butterfly. * <code>seasons</code> is a comma separated list. For year round items set <code>allyear=1</code> (and still list all four seasons in <code>seasons</code> so queries work). * <code>rare=1</code> marks a rare find (adds a star to the title). * <code>requires</code> is an optional unlock note, for example a foraging mastery level. * Pages are normally generated by the build script, not written by hand. [[Category:Infobox templates]] </noinclude>
Return to
Template:Infobox forageable
.
Search
Search
View source for Template:Infobox forageable
Add topic