Editing User:Artoire/Sandbox/2
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#invoke:Sandbox/User:Artoire/1|main}}</includeonly></onlyinclude><!-- |
<onlyinclude><includeonly>{{#invoke:Sandbox/User:Artoire/1|main}}</includeonly></onlyinclude><!-- |
||
-->Blacksmithing calculator. |
|||
-->Weaponmaking calculators. |
|||
Includes the xp gained from smelting |
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. |
In the xp fields, if you enter 0-500, that is assumed to be a level instead of xp. |
||
==Calculator== |
|||
<tabber> |
|||
{{Form calculator |
|||
|page = User:Artoire/Sandbox/2 |
|page = User:Artoire/Sandbox/2 |
||
|template = User:Artoire/Sandbox/2 |
|template = User:Artoire/Sandbox/2 |
||
Line 16: | Line 16: | ||
|field1 = {{Form calculator field |
|field1 = {{Form calculator field |
||
|param = current_xp |
|param = current_xp |
||
|label = Current |
|label = Current XP |
||
|default = 20 |
|default = 20 |
||
|type = int |
|type = int |
||
Line 24: | Line 24: | ||
|field2 = {{Form calculator field |
|field2 = {{Form calculator field |
||
|param = target_xp |
|param = target_xp |
||
|label = |
|label = Turrent XP |
||
|default = 30 |
|default = 30 |
||
|type = int |
|type = int |
||
Line 35: | Line 35: | ||
|default = Laterite Iron Ingot |
|default = Laterite Iron Ingot |
||
|type = select |
|type = select |
||
|range = {{#invoke:Sandbox/User:Artoire/1|ingots |
|range = {{#invoke:Sandbox/User:Artoire/1|ingots}} |
||
}} |
}} |
||
Line 46: | Line 46: | ||
}} |
}} |
||
|field5 = {{Form calculator field |
|||
|param = ore_buy |
|||
|label = Buying ores |
|||
|default = true |
|||
|type = check |
|||
}} |
}} |
||
==Test== |
|||
|field6 = {{Form calculator field |
|||
===0=== |
|||
|param = profession |
|||
{{User:Artoire/Sandbox/2|current_xp=194424|target_xp=37|ingot=Maloic Adathril Ingot|pole_buy=log}} |
|||
|default = Blacksmith |
|||
===1=== |
|||
|type = hidden |
|||
{{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=== |
|||
Bonewright={{Form calculator |
|||
{{User:Artoire/Sandbox/2|current_xp=193|target_xp=220|ingot=Magnetite Iron Ingot|pole_buy=poles}} |
|||
|template = User:Artoire/Sandbox/2 |
|||
|form = BonewrightForm |
|||
|result = BonewrightResult |
|||
|outputtype = basic |
|||
|field1 = {{Form calculator field |
|||
|param = current_xp |
|||
|label = Current level/XP |
|||
|default = 20 |
|||
|type = int |
|||
|range = 0-{{XP/At level|500}} |
|||
}} |
|||
|field2 = {{Form calculator field |
|||
|param = target_xp |
|||
|label = Target level/XP |
|||
|default = 30 |
|||
|type = int |
|||
|range = 0-{{XP/At level|500}} |
|||
}} |
|||
|field3 = {{Form calculator field |
|||
|param = ingot |
|||
|label = Bone |
|||
|default = Cracked Femur Shard (Brewed) |
|||
|type = select |
|||
|range = {{#invoke:Sandbox/User:Artoire/1|ingots|profession=Bonewright}} |
|||
}} |
|||
|field4 = {{Form calculator field |
|||
|param = pole_buy |
|||
|label = Buying timber? |
|||
|default = poles |
|||
|type = buttonselect |
|||
|range = none,logs,poles |
|||
}} |
|||
|field5 = {{Form calculator field |
|||
|param = ore_buy |
|||
|label = Buying bones |
|||
|default = true |
|||
|type = check |
|||
}} |
|||
|field6 = {{Form calculator field |
|||
|param = profession |
|||
|default = Bonewright |
|||
|type = hidden |
|||
}} |
|||
}} |
|||
|-| |
|||
Stonemason= |
|||
{{Form calculator |
|||
|page = User:Artoire/Sandbox/2 |
|||
|template = User:Artoire/Sandbox/2 |
|||
|form = StonemasonForm |
|||
|result = StonemasonResult |
|||
|outputtype = basic |
|||
|field1 = {{Form calculator field |
|||
|param = current_xp |
|||
|label = Current level/XP |
|||
|default = 20 |
|||
|type = int |
|||
|range = 0-{{XP/At level|500}} |
|||
}} |
|||
|field2 = {{Form calculator field |
|||
|param = target_xp |
|||
|label = Target level/XP |
|||
|default = 30 |
|||
|type = int |
|||
|range = 0-{{XP/At level|500}} |
|||
}} |
|||
|field3 = {{Form calculator field |
|||
|param = ingot |
|||
|label = Rock |
|||
|default = Coarse Deathstone (Etched) |
|||
|type = select |
|||
|range = {{#invoke:Sandbox/User:Artoire/1|ingots|profession=Stonemason}} |
|||
}} |
|||
|field4 = {{Form calculator field |
|||
|param = pole_buy |
|||
|label = Buying timber? |
|||
|default = poles |
|||
|type = buttonselect |
|||
|range = none,logs,poles |
|||
}} |
|||
|field5 = {{Form calculator field |
|||
|param = ore_buy |
|||
|label = Buying rocks |
|||
|default = true |
|||
|type = check |
|||
}} |
|||
|field6 = {{Form calculator field |
|||
|param = profession |
|||
|default = Stonemason |
|||
|type = hidden |
|||
}} |
|||
}} |
|||
</tabber> |