Calculator:Template/ItemEconomy/doc

From Melvor Idle
Revision as of 00:02, 1 March 2024 by Ricewind (talk | contribs) (First version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
  • Input to calculate the estimated input items required.
  • Output to calculate the estimated output items.
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: