Fix brewing thick potions and splash water potions
parent
5e77c90bb7
commit
787769cb92
|
@ -303,7 +303,9 @@ local water_table = {
|
|||
["mesecons:wire_00000000_off"] = "mcl_potions:mundane",
|
||||
["mcl_mobitems:ghast_tear"] = "mcl_potions:mundane",
|
||||
["mcl_mobitems:spider_eye"] = "mcl_potions:mundane",
|
||||
["mcl_mobitems:rabbit_foot"] = "mcl_potions:mundane"
|
||||
["mcl_mobitems:rabbit_foot"] = "mcl_potions:mundane",
|
||||
["mcl_nether:glowstone_dust"] = "mcl_potions:thick",
|
||||
["mcl_mobitems:gunpowder"] = "mcl_potions:water_splash"
|
||||
}
|
||||
|
||||
local awkward_table = {
|
||||
|
@ -327,7 +329,8 @@ local output_table = {
|
|||
|
||||
local enhancement_table = {}
|
||||
local extension_table = {}
|
||||
local potions = {"awkward", "mundane", "thick"}
|
||||
local potions = {}
|
||||
|
||||
for i, potion in ipairs({"healing","harming","swiftness","slowness",
|
||||
"leaping","poison","regeneration","invisibility","fire_resistance",
|
||||
-- "weakness","strength",
|
||||
|
@ -349,6 +352,10 @@ for i, potion in ipairs({"healing","harming","swiftness","slowness",
|
|||
|
||||
end
|
||||
|
||||
for i, potion in ipairs({"awkward", "mundane", "thick", "water", "river_water"}) do
|
||||
table.insert(potions, potion)
|
||||
end
|
||||
|
||||
|
||||
local inversion_table = {
|
||||
["mcl_potions:healing"] = "mcl_potions:harming",
|
||||
|
@ -382,11 +389,6 @@ for i, potion in ipairs(potions) do
|
|||
lingering_table["mcl_potions:"..potion.."_splash"] = "mcl_potions:"..potion.."_lingering"
|
||||
end
|
||||
|
||||
for i, potion in ipairs({"awkward", "mundane", "thick", "water", "river_water"}) do
|
||||
splash_table["mcl_potions:"..potion] = "mcl_potions:"..potion.."_splash"
|
||||
lingering_table["mcl_potions:"..potion.."_splash"] = "mcl_potions:"..potion.."_lingering"
|
||||
end
|
||||
|
||||
|
||||
local mod_table = {
|
||||
["mesecons:wire_00000000_off"] = extension_table,
|
||||
|
|
Loading…
Reference in New Issue