User:Artoire/Sandbox/2: Difference between revisions
< User:Artoire | Sandbox
Content added Content deleted
m (→Calculator) |
mNo edit summary |
||
Line 45: | Line 45: | ||
|range = none,logs,poles |
|range = none,logs,poles |
||
}} |
}} |
||
<!--|field5 = {{Form calculator field |
|||
|param = debug |
|||
|type = hidden |
|||
|range = 1}}--> |
|||
}} |
}} |
||
==Test== |
|||
===0=== |
|||
{{User:Artoire/Sandbox/2|current_xp=194424|target_xp=37|ingot=Maloic Adathril Ingot|pole_buy=logs}} |
|||
===1=== |
|||
{{User:Artoire/Sandbox/2|current_xp=24|target_xp=37|ingot=Maloic Adathril Ingot|pole_buy=none}} |
|||
===2=== |
|||
{{User:Artoire/Sandbox/2|current_xp=267|target_xp=294|ingot=Eysite Flantium Ingot|pole_buy=poles}} |
|||
===3=== |
|||
{{User:Artoire/Sandbox/2|current_xp=193|target_xp=220|ingot=Magnetite Iron Ingot|pole_buy=poles}} |
Revision as of 20:41, 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||
The calculator form will appear here soon. You will need JavaScript enabled.
The result will appear here when you submit the form.