Template:Agriculture infobox
Jump to navigation
Jump to search
This template adds rows to the table "Agriculture", which is declared by the template Agriculture infobox/Cargo declare. View table.
This template displays an information box, for all crops and trees.
The cargo declare statement can be found here:Template:Agriculture infobox/Cargo declare
Syntax
{{agriculture infobox
<!-- These items are only needed if override from default is appropriate. -->
|name = Item name (default is PAGENAME)
|image = Image name.png (default is PAGENAME.png)
|description = Description (default uses the description template and PAGENAME)
<!-- Common Information -->
|sell = Sell price of that item (numberic).
|seedSell = Amount the seed item of that crop sells for. (numeric) Only applicable for crops.
|selltype = Currency this item is sold in.
|stack = Maximum numer of that items can be placed in a single stack (numeric).
|rarity = Rarity (numeric).
|hearts = Base gift level (numeric).
<!-- Item Classification -->
|itemType = Crop or Tree
|region = Region of this item. (Sun Haven / Withergate / Nel'Vari)
|season = Which season(s) this item is available (spring, summer, fall, winter, any)
|produces = What that item produces. (Plain text ONLY! Put ";" between multiple items)
|exp = How much exp this gives the player (numeric).
|seed = Seed the crop comes from. (DO NOT USE A LINK. Plain text ONLY!)
|growth = How many days it takes to grow.
|regrowthRate= How many days to regrow after harvest.
|cropYield = How many average crops on harvest.
|maxHarvest = See calculations below.
}}
Max Harvest Calculations:
This is for calculating crop profits. This only applies to crops that are reharvestable within the season(s).
- If the crop does not regrow, this number will be 1.
- If the crop regrows for one season follow this math:
[(28 - (Days to Grow + 1) ) / regrowth rate] + 1
(Rounded Down)- (Step 1) ADD: Days to Grow + 1
- (Step 2) SUBTRACT: 28 - Total Above
- (Step 3) DIVIDE: Total Above / regrowth rate
- (Step 4) ADD: +1 to the total above
- (Step 5) ROUND THIS NUMBER DOWN
- If the crop regrows for two seasons follow this math:
[(56 - (Days to Grow + 1) ) / regrowth rate] +1
(Rounded Down)- Same steps as above, but its 56 rather than 28, in step 2.
Examples
Crops / Seeds