User:Artoire/Sandbox/2: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 1:
<onlyinclude><includeonly>{{#invoke:Sandbox/User:Artoire/1|main}}</includeonly></onlyinclude><!--
[[User:Artoire/Sandbox/1]]
-->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==
{{Form calculator
[[|page = User:Artoire/Sandbox/1]]2
|template = User:Artoire/Sandbox/2
|form = BlacksmithForm
|result = BlacksmithResult
|outputtype = basic
 
|field1 = {{Form calculator field
|param = current_xp
|label = Current XP
|default = 20
|type = int
|range = 0-{{XP/At level|500}}
}}
 
|field2 = {{Form calculator field
|param = target_xp
|label = Turrent XP
|default = 30
|type = int
|range = 0-{{XP/At level|500}}
}}
 
|field3 = {{Form calculator field
|param = ingot
|label = Ingot
|default = Laterite Iron Ingot
|type = select
|range = {{#invoke:Sandbox/User:Artoire/1|ingots}}
}}
 
|field4 = {{Form calculator field
|param = pole_buy
|label = Buying timber?
|default = poles
|type = buttonselect
|range = none,logs,poles
}}
 
}}
 
==Test==
{{User:Artoire/Sandbox/2|current_xp=24|target_xp=37|ingot=Maloic Adathril Ingot|pole_buy=none}}
 
{{User:Artoire/Sandbox/2|current_xp=267|target_xp=294|ingot=Eysite Flantium Ingot|pole_buy=poles}}
 
{{User:Artoire/Sandbox/2|current_xp=193|target_xp=220|ingot=Magnetite Iron Ore|pole_buy=poles}}

Revision as of 14:52, 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

The calculator form will appear here soon. You will need JavaScript enabled.
The result will appear here when you submit the form.

Test

Lua error in Module:Sandbox/User:Artoire/1 at line 26: table index is nil.

Lua error in Module:Sandbox/User:Artoire/1 at line 26: table index is nil.

Lua error in Module:Sandbox/User:Artoire/1 at line 26: table index is nil.