Calculator:Template/ItemEconomy/doc: Difference between revisions
(First version) |
m (Spaces) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
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 [[ | 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 [[Preservation Chance]], [[Duplication Chance]] and [[Extra Item Chance]]. (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). | 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). | ||
Line 14: | Line 14: | ||
| Number | | Number | ||
| The result of the calculation. Either required inputs or estimated outputs. | | The result of the calculation. Either required inputs or estimated outputs. | ||
| | | False | ||
|- | |- | ||
| <code>economyType</code> | | <code>economyType</code> | ||
Line 21: | Line 21: | ||
* <code>Input</code> to calculate the estimated input items required. | * <code>Input</code> to calculate the estimated input items required. | ||
* <code>Output</code> to calculate the estimated output items. | * <code>Output</code> to calculate the estimated output items. | ||
| False | |||
|- | |||
| <code>inputsPerAction</code> | |||
| Number | |||
| | |||
| True | |||
|- | |||
| <code>outputsPerAction </code> | |||
| Number | |||
| | |||
| True | | True | ||
|- | |- | ||
| <code>preservationChance</code> | | <code>preservationChance</code> | ||
| Number | | Number | ||
| The player's | | The player's preservationChance ranging from 0 - 80 | ||
| | | True | ||
|- | |- | ||
| <code>duplicationChance</code> | | <code>duplicationChance</code> | ||
| Number | | Number | ||
| The player's | | The player's duplicationChance ranging from 0 - 100 | ||
| | | True | ||
|- | |- | ||
| <code>extraItemChance</code> | | <code>extraItemChance</code> | ||
| Number | | Number | ||
| The player's | | The player's extraItemChance ranging from 0 - 100 | ||
| | | True | ||
|- | |||
| <code>extraItemAmount</code> | |||
| Number | |||
| | |||
| True | |||
|- | |||
| <code>flatExtraItems</code> | |||
| Number | |||
| | |||
| True | |||
|- | |||
| <code>extraBaseItemChance</code> | |||
| Number | |||
| The player's extraBaseItemChance ranging from 0 - 100 | |||
| True | |||
|- | |||
| <code>extraBaseItems</code> | |||
| Number | |||
| | |||
| True | |||
|- | |- | ||
|} | |} | ||
==Example== | ==Example== | ||
The following calculates how many | The following calculates how many [[Spirit Rune]]s the player will receive when using up 1,000 [[Rune Essence]]. The following assumes boosts like the [[Runecrafting Skillcape]], the [[Crow]], 99 mastery and some other boosts. | ||
<pre> | <pre> | ||
{{:Calculator:Template/ItemEconomy | {{:Calculator:Template/ItemEconomy | ||
|targetAmount=1000 | |targetAmount = 1000 | ||
| | |inputsPerAction = 1 | ||
|preservationChance= | |outputsPerAction = 16 | ||
|duplicationChance= | |preservationChance = 51 | ||
|extraItemChance= | |duplicationChance = 26 | ||
|extraItemChance = 10 | |||
|extraItemAmount = 1 | |||
|flatExtraItems = 7 | |||
|extraBaseItemChance = 0 | |||
|extraBaseItems = 0 | |||
}} | }} | ||
</pre> | </pre> | ||
Line 54: | Line 89: | ||
The following is the result: | The following is the result: | ||
{{:Calculator:Template/ItemEconomy | {{:Calculator:Template/ItemEconomy | ||
|targetAmount=1000 | |targetAmount = 1000 | ||
| | |inputsPerAction = 1 | ||
|preservationChance= | |outputsPerAction = 16 | ||
|duplicationChance= | |preservationChance = 51 | ||
|extraItemChance= | |duplicationChance = 26 | ||
|extraItemChance = 10 | |||
|extraItemAmount = 1 | |||
|flatExtraItems = 7 | |||
|extraBaseItemChance = 0 | |||
|extraBaseItems = 0 | |||
}} | }} |
Latest revision as of 06:01, 6 July 2024
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 Preservation Chance, Duplication Chance and Extra Item Chance. (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. | False |
economyType
|
String | The type of economy.
|
False |
inputsPerAction
|
Number | True | |
outputsPerAction
|
Number | True | |
preservationChance
|
Number | The player's preservationChance ranging from 0 - 80 | True |
duplicationChance
|
Number | The player's duplicationChance ranging from 0 - 100 | True |
extraItemChance
|
Number | The player's extraItemChance ranging from 0 - 100 | True |
extraItemAmount
|
Number | True | |
flatExtraItems
|
Number | True | |
extraBaseItemChance
|
Number | The player's extraBaseItemChance ranging from 0 - 100 | True |
extraBaseItems
|
Number | True |
Example
The following calculates how many Spirit Runes the player will receive when using up 1,000 Rune Essence. The following assumes boosts like the Runecrafting Skillcape, the Crow, 99 mastery and some other boosts.
{{:Calculator:Template/ItemEconomy |targetAmount = 1000 |inputsPerAction = 1 |outputsPerAction = 16 |preservationChance = 51 |duplicationChance = 26 |extraItemChance = 10 |extraItemAmount = 1 |flatExtraItems = 7 |extraBaseItemChance = 0 |extraBaseItems = 0 }}
The following is the result:
Starting Items | 1,000 |
---|---|
Estimated Output | 55,632 |
Economy Factor | x55.63 |
Ring of Wealth benefits | No |