User:Artoire/Sandbox/2: Difference between revisions
< User:Artoire | Sandbox
Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 44: | Line 44: | ||
|type = buttonselect |
|type = buttonselect |
||
|range = none,logs,poles |
|range = none,logs,poles |
||
}} |
|||
|field5 = {{Form calculator field |
|||
|param = ore_buy |
|||
|label = Buying ores |
|||
|default = true |
|||
|type = check |
|||
}} |
}} |
||
}} |
}} |
Revision as of 20:47, 19 December 2024
Blacksmithing calculator.
Includes the xp gained from smelting the ore, unlike Blacksmith#Active activities.
In the xp fields, if you enter 0-500, that is assumed to be a level instead of xp.
Calculator
template = User:Artoire/Sandbox/2 form = BlacksmithForm result = BlacksmithResult param = current_xp|Current XP|20|int|0-Template:XP/At level|| param = target_xp|Turrent XP|30|int|0-Template:XP/At level|| param = ingot|Ingot|Laterite Iron Ingot|select|Lua error in Module:Sandbox/User:Artoire/1 at line 26: table index is nil.|| param = pole_buy|Buying timber?|poles|buttonselect|none,logs,poles|| param = ore_buy|Buying ores|true|check|||
The calculator form will appear here soon. You will need JavaScript enabled.
The result will appear here when you submit the form.