1
0
Fork 0

Fix brewing thick potions and splash water potions

This commit is contained in:
Brandon 2020-07-17 17:05:40 -04:00
parent 5e77c90bb7
commit 787769cb92
1 changed files with 9 additions and 7 deletions

View File

@ -303,7 +303,9 @@ local water_table = {
["mesecons:wire_00000000_off"] = "mcl_potions:mundane", ["mesecons:wire_00000000_off"] = "mcl_potions:mundane",
["mcl_mobitems:ghast_tear"] = "mcl_potions:mundane", ["mcl_mobitems:ghast_tear"] = "mcl_potions:mundane",
["mcl_mobitems:spider_eye"] = "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 = { local awkward_table = {
@ -327,7 +329,8 @@ local output_table = {
local enhancement_table = {} local enhancement_table = {}
local extension_table = {} local extension_table = {}
local potions = {"awkward", "mundane", "thick"} local potions = {}
for i, potion in ipairs({"healing","harming","swiftness","slowness", for i, potion in ipairs({"healing","harming","swiftness","slowness",
"leaping","poison","regeneration","invisibility","fire_resistance", "leaping","poison","regeneration","invisibility","fire_resistance",
-- "weakness","strength", -- "weakness","strength",
@ -349,6 +352,10 @@ for i, potion in ipairs({"healing","harming","swiftness","slowness",
end end
for i, potion in ipairs({"awkward", "mundane", "thick", "water", "river_water"}) do
table.insert(potions, potion)
end
local inversion_table = { local inversion_table = {
["mcl_potions:healing"] = "mcl_potions:harming", ["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" lingering_table["mcl_potions:"..potion.."_splash"] = "mcl_potions:"..potion.."_lingering"
end 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 = { local mod_table = {
["mesecons:wire_00000000_off"] = extension_table, ["mesecons:wire_00000000_off"] = extension_table,