Update 'mods/farming/init.lua'

This commit is contained in:
thunderdog1138 2020-07-17 15:03:35 +00:00
parent 0cb97e203f
commit b25abfaa36
1 changed files with 13 additions and 52 deletions

View File

@ -601,31 +601,12 @@ end
-- default settings -- default settings
farming.carrot = 0.001 farming.rishi_corn = 0.001
farming.potato = 0.001 farming.calarantrum = 0.001
farming.tomato = 0.001
farming.cucumber = 0.001
farming.corn = 0.001
farming.coffee = 0.001
farming.melon = 0.001
farming.pumpkin = 0.001
farming.cocoa = true
farming.raspberry = 0.001
farming.blueberry = 0.001
farming.rhubarb = 0.001
farming.beans = 0.001
farming.grapes = 0.001 farming.grapes = 0.001
farming.barley = true farming.roti = true
farming.chili = 0.003 farming.doll_gourd = 0.001
farming.hemp = 0.003 farming.groundapple = 0.001
farming.garlic = 0.001
farming.onion = 0.001
farming.pepper = 0.002
farming.pineapple = 0.001
farming.peas = 0.001
farming.beetroot = 0.001
farming.mint = 0.005
farming.cabbage = 0.001
farming.grains = true farming.grains = true
farming.rarety = 0.002 farming.rarety = 0.002
@ -653,8 +634,7 @@ dofile(farming.path.."/grass.lua")
dofile(farming.path.."/utensils.lua") dofile(farming.path.."/utensils.lua")
-- default crops -- default crops
dofile(farming.path.."/crops/wheat.lua") dofile(farming.path.."/crops/lothal_wheat.lua")
dofile(farming.path.."/crops/cotton.lua")
-- helper function -- helper function
@ -666,34 +646,15 @@ local function ddoo(file, check)
end end
-- add additional crops and food (if enabled) -- add additional crops and food (if enabled)
ddoo("carrot.lua", farming.carrot) ddoo("calarantrum.lua", farming.calarantrum)
ddoo("potato.lua", farming.potato) ddoo("doll_gourd.lua", farming.doll_gourd)
ddoo("tomato.lua", farming.tomato) ddoo("grains.lua", farming.grains)
ddoo("cucumber.lua", farming.cucumber)
ddoo("corn.lua", farming.corn)
ddoo("coffee.lua", farming.coffee)
ddoo("melon.lua", farming.melon)
ddoo("pumpkin.lua", farming.pumpkin)
ddoo("cocoa.lua", farming.cocoa)
ddoo("raspberry.lua", farming.raspberry)
ddoo("blueberry.lua", farming.blueberry)
ddoo("rhubarb.lua", farming.rhubarb)
ddoo("beans.lua", farming.beans)
ddoo("grapes.lua", farming.grapes) ddoo("grapes.lua", farming.grapes)
ddoo("barley.lua", farming.barley) ddoo("groundapple.lua", farming.groundapple)
ddoo("hemp.lua", farming.hemp) ddoo("rishi_corn.lua", farming.rishi_corn)
ddoo("garlic.lua", farming.garlic) ddoo("roti.lua", farming.roti)
ddoo("onion.lua", farming.onion)
ddoo("pepper.lua", farming.pepper)
ddoo("pineapple.lua", farming.pineapple)
ddoo("peas.lua", farming.peas)
ddoo("beetroot.lua", farming.beetroot)
ddoo("chili.lua", farming.chili)
ddoo("ryeoatrice.lua", farming.grains)
ddoo("mint.lua", farming.mint)
ddoo("cabbage.lua", farming.cabbage)
dofile(farming.path .. "/food.lua") dofile(farming.path .. "/food.lua")
dofile(farming.path .. "/mapgen.lua") dofile(farming.path .. "/mapgen.lua")
dofile(farming.path .. "/compatibility.lua") -- Farming Plus compatibility dofile(farming.path .. "/compatibility.lua") -- Farming Plus compatibility
dofile(farming.path .. "/lucky_block.lua") dofile(farming.path .. "/lucky_block.lua")