Difference between revisions of "Crops"
Jump to navigation
Jump to search
(Created page with "== Overview == Crops are special nodes that can grow and that will give a special item once harvested when fully grown. They are usually defined in the farming mod. Fil...") |
m (categories) |
||
Line 25: | Line 25: | ||
| Artichoke || farming:artichoke_ || 5 || Stage 5:<br /> <code>farming:artichoke 2</code> (%50)<br /><code>farming:artichoke</code> | | Artichoke || farming:artichoke_ || 5 || Stage 5:<br /> <code>farming:artichoke 2</code> (%50)<br /><code>farming:artichoke</code> | ||
|} | |} | ||
+ | |||
+ | [[Category:Farming]] | ||
+ | [[Category:Stub]] |
Latest revision as of 17:35, 9 April 2024
Overview
Crops are special nodes that can grow and that will give a special item once harvested when fully grown. They are usually defined in the farming mod.
Details
The growth time of a crop is about the farming_stage_length
(Farming Stage Length) option, with a default of 160 seconds.
The germination time of a seed is from farming_stage_length
÷6 to farming_stage_length
.
The exact growth time of a crop is complicated. Here are the steps you take to calculate it. See this link for the code.
- β =
farming_stage_length
and Δ =farming_stage_length
/ 6 - α = normal(β, Δ) β is the mean and Δ is the standard deviation.
- α = max(min(α, 3 × β), 0.5 × β)
- α = α - (-0.5 × β × random(0, 1)) random(0, 1) is a random real number from 0 to 1.
The resulting growth time is α.
Crop List
TODO: do this
Crop Name | Base Itemstring | Stages | Drops | Drop Texture | Crop Texture |
---|---|---|---|---|---|
Artichoke | farming:artichoke_ | 5 | Stage 5:farming:artichoke 2 (%50)farming:artichoke
|