View source for Module:Supercompost profit calculator
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local Coins = require( 'Module:Coins' )
local gePrice = require('Module:Exchange')._price
local p = {}
local bin = 15
local bigBin = 30
function p.invoke_main( frame )
return p.main(frame:getParent().args.ingredient, frame:getParent().args.cocomilk_offset, frame:getParent().args.bucket_offset, frame:getParent().args.grimy_herbs)
end
function p.main( item, cocomilk, bucket, grimy )
--List of herbs--
local herbs = { "Avantoe", "Cadantine", "Dwarf weed", "Kwuarm", "Lantadyme", "Snapdragon", "Toadflax", "Torstol"}
--Gets cost of ingredients and value of a bin/big bin of compost
if item == 'Coconut shell' and cocomilk == 'true' then
price = gePrice('Coconut') + gePrice('Vial') - gePrice('Coconut milk')
000
1:0
Template used on this page:
Return to Module:Supercompost profit calculator.