Module:AlchemistPassiveList: Difference between revisions
m
remove vestigal reference to KP that aren't use any more, add some commenting for how it calculates input price
(currency_cell now returns a node) |
m (remove vestigal reference to KP that aren't use any more, add some commenting for how it calculates input price) |
||
Line 54:
else
-- iterate through reagents, adding buy price to running total (individuals not needed)
-- potions always follow the same format, where the reagents are one level down
-- if copying this code for another profession, will need to change how you identify the inputs.
-- starting value 20 is for bottle
item.buy = 20
Line 76 ⟶ 78:
local sell = item.sell or 0
local XP = item.XP or 0
local duration = item.duration or 0
|