Calculator:Template/ItemEconomy/doc
From Melvor Idle
Calculator used to estimate inputs or output items given the player's item economy. It can be used to get an estimated output, provided a base amount of items, and the player's PreservationChance, DuplicationChance and ExtraItemChance. (ie. Ores to Bars)
Inversely, the estimated required inputs can be calculated if the player desires a certain amount of target items. (ie. Ores requires for a certain amount of Bars).
Lastly, it will also notify the player if the Ring of Wealth has a positive effect on their item economy.
Arg name | Arg type | Description | Optional |
---|---|---|---|
targetAmount
|
Number | The result of the calculation. Either required inputs or estimated outputs. | True |
economyType
|
String | The type of economy.
|
True |
preservationChance
|
Number | The player's PreservationChance ranging from 0 - 80 | False |
duplicationChance
|
Number | The player's DuplicationChance ranging from 0 - 100 | False |
extraItemChance
|
Number | The player's ExtraItemChance ranging from 0 - ? | False |
Example
The following calculates how many bars the player will get from smelting 1000 mithril ores.
{{:Calculator:Template/ItemEconomy |targetAmount=1000 |economyType=Output |preservationChance=75 |duplicationChance=45 |extraItemChance=20 }}
The following is the result:
Starting Items | 1,000 |
---|---|
Estimated Output | 6,600 |
Economy Factor | x6.60 |
Ring of Wealth benefits | No |