No more seed spoilage
This commit is contained in:
parent
fb03db32e8
commit
c557df24fa
1 changed files with 20 additions and 7 deletions
|
@ -24,7 +24,6 @@ local kelp_dried_spoilage = GetModConfigData("kelp_dried_spoilage")
|
||||||
local seed_spoilage = GetModConfigData("seed_spoilage")
|
local seed_spoilage = GetModConfigData("seed_spoilage")
|
||||||
local crop_seed_adjustment = GetModConfigData("crop_seed_spoilage")
|
local crop_seed_adjustment = GetModConfigData("crop_seed_spoilage")
|
||||||
local birchnut_spoilage = GetModConfigData("birchnut_spoilage")
|
local birchnut_spoilage = GetModConfigData("birchnut_spoilage")
|
||||||
local cropseeds = {"carrot_seeds", "corn_seeds", "dragonfruit_seeds", "durian_seeds", "eggplant_seeds", "pomegranate_seeds", "pumpkin_seeds", "watermelon_seeds", "sweet_potato_seeds", "aloe_seeds", "asparagus_seeds", "radish_seeds", "tomato_seeds", "potato_seeds", "onion_seeds", "pepper_seeds", "garlic_seeds", "pineananas_seeds", }
|
|
||||||
local trailmix_spoilage = GetModConfigData("trailmix_spoilage")
|
local trailmix_spoilage = GetModConfigData("trailmix_spoilage")
|
||||||
local jammypreserves_spoilage = GetModConfigData("jammypreserves_spoilage")
|
local jammypreserves_spoilage = GetModConfigData("jammypreserves_spoilage")
|
||||||
local garlic_spoilage = GetModConfigData("garlic_spoilage")
|
local garlic_spoilage = GetModConfigData("garlic_spoilage")
|
||||||
|
@ -71,12 +70,26 @@ if kelp_dried_spoilage == 0 then AddPrefabPostInit("kelp_dried",yearSpoil)
|
||||||
elseif kelp_dried_spoilage == 1 then AddPrefabPostInit("kelp_dried",noSpoil)
|
elseif kelp_dried_spoilage == 1 then AddPrefabPostInit("kelp_dried",noSpoil)
|
||||||
end
|
end
|
||||||
|
|
||||||
if seed_spoilage == 0 then AddPrefabPostInit("seeds",noSpoil)
|
if seed_spoilage == 0 then
|
||||||
end
|
AddPrefabPostInit("seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("carrot_seeds",noSpoil)
|
||||||
for cropseed in cropseeds do
|
AddPrefabPostInit("corn_seeds",noSpoil)
|
||||||
if crop_seed_spoilage == 0 then AddPrefabPostInit(cropseed,noSpoil)
|
AddPrefabPostInit("dragonfruit_seeds",noSpoil)
|
||||||
end
|
AddPrefabPostInit("durian_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("eggplant_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("pomegranate_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("pumpkin_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("watermelon_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("sweet_potato_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("aloe_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("asparagus_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("radish_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("tomato_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("potato_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("onion_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("pepper_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("garlic_seeds",noSpoil)
|
||||||
|
AddPrefabPostInit("pineananas_seeds",noSpoil)
|
||||||
end
|
end
|
||||||
|
|
||||||
if birchnut_spoilage == 0 then AddPrefabPostInit("acorn",noSpoil)
|
if birchnut_spoilage == 0 then AddPrefabPostInit("acorn",noSpoil)
|
||||||
|
|
Loading…
Reference in a new issue