forked from VoxeLibre/VoxeLibre
Comment weakness/strength
This commit is contained in:
parent
1fda285102
commit
d1b7184e7d
|
@ -291,7 +291,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
local water_table = {
|
local water_table = {
|
||||||
["mcl_nether:nether_wart_item"] = "mcl_potions:awkward",
|
["mcl_nether:nether_wart_item"] = "mcl_potions:awkward",
|
||||||
["mcl_potions:fermented_spider_eye"] = "mcl_potions:weakness",
|
-- ["mcl_potions:fermented_spider_eye"] = "mcl_potions:weakness",
|
||||||
["mcl_potions:speckled_melon"] = "mcl_potions:mundane",
|
["mcl_potions:speckled_melon"] = "mcl_potions:mundane",
|
||||||
["mcl_core:sugar"] = "mcl_potions:mundane",
|
["mcl_core:sugar"] = "mcl_potions:mundane",
|
||||||
["mcl_mobitems:magma_cream"] = "mcl_potions:mundane",
|
["mcl_mobitems:magma_cream"] = "mcl_potions:mundane",
|
||||||
|
@ -307,7 +307,7 @@ local awkward_table = {
|
||||||
["mcl_farming:carrot_item_gold"] = "mcl_potions:night_vision",
|
["mcl_farming:carrot_item_gold"] = "mcl_potions:night_vision",
|
||||||
["mcl_core:sugar"] = "mcl_potions:swiftness",
|
["mcl_core:sugar"] = "mcl_potions:swiftness",
|
||||||
["mcl_mobitems:magma_cream"] = "mcl_potions:fire_resistance",
|
["mcl_mobitems:magma_cream"] = "mcl_potions:fire_resistance",
|
||||||
["mcl_mobitems:blaze_powder"] = "mcl_potions:strength",
|
-- ["mcl_mobitems:blaze_powder"] = "mcl_potions:strength",
|
||||||
["mcl_fishing:pufferfish_raw"] = "mcl_potions:water_breathing",
|
["mcl_fishing:pufferfish_raw"] = "mcl_potions:water_breathing",
|
||||||
["mcl_mobitems:ghast_tear"] = "mcl_potions:regeneration",
|
["mcl_mobitems:ghast_tear"] = "mcl_potions:regeneration",
|
||||||
["mcl_mobitems:spider_eye"] = "mcl_potions:poison",
|
["mcl_mobitems:spider_eye"] = "mcl_potions:poison",
|
||||||
|
@ -324,7 +324,10 @@ local output_table = {
|
||||||
local enhancement_table = {}
|
local enhancement_table = {}
|
||||||
local extension_table = {}
|
local extension_table = {}
|
||||||
local potions = {"awkward", "mundane", "thick"}
|
local potions = {"awkward", "mundane", "thick"}
|
||||||
for i, potion in ipairs({"healing","harming","swiftness","slowness","leaping","poison","regeneration","invisibility","fire_resistance","weakness","strength","water_breathing","night_vision"}) do
|
for i, potion in ipairs({"healing","harming","swiftness","slowness",
|
||||||
|
"leaping","poison","regeneration","invisibility","fire_resistance",
|
||||||
|
-- "weakness","strength",
|
||||||
|
"water_breathing","night_vision"}) do
|
||||||
|
|
||||||
table.insert(potions, potion)
|
table.insert(potions, potion)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ minetest.register_craftitem("mcl_potions:awkward", {
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
inventory_image = potion_image("#0000FF"),
|
inventory_image = potion_image("#0000FF"),
|
||||||
wield_image = potion_image("#0000FF"),
|
wield_image = potion_image("#0000FF"),
|
||||||
groups = {brewitem=1, food=3, can_eat_when_full=1, not_in_creative_inventory=1},
|
groups = {brewitem=1, food=3, can_eat_when_full=1, not_in_creative_inventory=0},
|
||||||
on_place = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
on_place = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
||||||
on_secondary_use = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
on_secondary_use = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,7 @@ minetest.register_craftitem("mcl_potions:mundane", {
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
inventory_image = potion_image("#0000FF"),
|
inventory_image = potion_image("#0000FF"),
|
||||||
wield_image = potion_image("#0000FF"),
|
wield_image = potion_image("#0000FF"),
|
||||||
groups = {brewitem=1, food=3, can_eat_when_full=1, not_in_creative_inventory=1 },
|
groups = {brewitem=1, food=3, can_eat_when_full=1, not_in_creative_inventory=0 },
|
||||||
on_place = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
on_place = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
||||||
on_secondary_use = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
on_secondary_use = minetest.item_eat(0, "mcl_potions:glass_bottle"),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue