User:Alsang/Sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
(25 intermediate revisions by the same user not shown)
Line 1:
==Mockup==
What I want the SMW table to look like
 
 
{| class="wikitable sortable"
! rowspan="2" | Level
! rowspan="2" | Potion
! colspan="2" | Reagents (plus bottleBottle)
! colspan="10" rowspan="2" | Total Cost
! colspan="10" rowspan="2" | Sell Value
! colspan="10" rowspan="2" | Profit
! rowspan="2" | XP
! rowspan="2" | KP
! colspan="10" rowspan="2" | coins per XP
! rowspan="2" | XP/hr
! rowspan="2" | KP/hr
! colspan="10" | coins/hr
|-
! Primary
! Secondary
|-
|-
|2
|{{plink|20% Potion Healing}}
|{{plink|Brown Kelp}}<br>
|{{plink|Creamy Wallplant}}
|{{Currency cell|912}}
|{{Currency cell|640}}
Line 31 ⟶ 27:
|33,500
|3.14
|{{Currency cell|-2.43}}
|}
 
==SMW==
XP per hour assumes 40 seconds resupply between each batch of 12 potions.
 
{| class="wikitable sortable"
! Level
! Potion
! Preparation
! Reagents (plus Bottle)
! colspan="10" | Total Cost
! colspan="10" | Sell Value
! colspan="10" | Profit
! XP
! KP
! colspan="10" | coins per XP
! XP/hr
! KP/hr
! colspan="10" | coins/hr
|-
{{#ask:
[[Category:Potions]]
[[Uses facility::Standard Potion Station||Potent Potion Station]]
[[Uses item.Uses item::Brown Kelp]]
|?Profession Level A = lvl
|? = name
|?Uses item = preparation
|?Uses item.Uses item = reagents
|?Uses item.Uses item.Value = reagent values
|?Value = sell
|?Recipe XP = xp
|?Uses item.Recipe XP = prep xp
|?Recipe KP = kp
|?Uses item.Recipe KP = prep kp
|?Recipe duration = duration
|?Uses item.Recipe duration = prep duration
|sort = Profession Level A
|format = template
|template = PotionList/Line
|link = none
|searchlabel =
|named args = yes
}}
|-}
 
What info do I need, to be able to find the right pages
 
==Module==
*category potion
*has a recipe
*is not passive (depends)
 
{{#invoke:Sandbox/User:Alsang/PotionList|main}}
What information do I need to be able to fill out the table
*name for ilink
*level
*xp of final step
*kp of final step
*duration - for calculating potions/hr, for xp/hr and kp/hr
*preparation used, from which I get:
**reagents used
***name of first reagent for ilink
***name of second reagent for ilink
***price of first reagent
***price of second reagent
**xp of first step
**kp of first step
**duration of first step, feed into above calculation for potions/hr
*sell value, combined with price of 2x reagent plus bottls to get total cost
900

edits