From 67c47334e3ed4d71f2c8b5783b98792b73b1ac63 Mon Sep 17 00:00:00 2001 From: Apollo Date: Wed, 12 Oct 2022 15:58:47 -0400 Subject: [PATCH] V1.2 REL, Removed Dragon's Breath --- README.md | 3 ++- init.lua | 2 +- potions.lua | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd4d2e5..28971b3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# mcl_stackpotions v1.0 +# mcl_stackpotions v1.2 Provides a stackable potion (just place a normal potion in the crafting table to get a stacked version) ## How it works @@ -6,3 +6,4 @@ Provides a stackable potion (just place a normal potion in the crafting table to Basically I've overloaded the default mcl_potions.register_potion so it takes my setting for max stack size. (This is done as a independent function separate from mcl_potions, I also added a custom convert function which takes potions and makes the stacked equal, no reverse conversion as stackable and non-stackable is a conflict) > This basically means I need to keep updating the mod of any new mcl_potion updates. (currently will be done manually) + diff --git a/init.lua b/init.lua index e77ef81..cf50cf8 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ stackpot = { - VERSION = "1.1" + VERSION = "1.2" } stackpot.log = function (msg) diff --git a/potions.lua b/potions.lua index 61c3fc0..5196315 100644 --- a/potions.lua +++ b/potions.lua @@ -401,7 +401,6 @@ end -- ██████╔╝███████╗██║░░░░░██║██║░╚███║██║░░░██║░░░██║╚█████╔╝██║░╚███║██████╔╝ -- ╚═════╝░╚══════╝╚═╝░░░░░╚═╝╚═╝░░╚══╝╚═╝░░░╚═╝░░░╚═╝░╚════╝░╚═╝░░╚══╝╚═════╝░ - local awkward_def = { name = "awkward", description_potion = S("Awkward Potion"), @@ -442,6 +441,7 @@ local thick_def = { on_use = minetest.item_eat(0, "mcl_potions:glass_bottle"), } +--[[ local dragon_breath_def = { name = "dragon_breath", description = S("Dragon's Breath"), @@ -455,6 +455,7 @@ local dragon_breath_def = { on_use = nil, stack_max = 64, } +]]-- local healing_def = { name = "healing",