Some small doc string updates.
This commit is contained in:
parent
cae4940e70
commit
c9ff19d02a
@ -226,7 +226,7 @@ local function brewing_stand_timer(pos, elapsed)
|
|||||||
if fuel_totaltime ~= 0 then
|
if fuel_totaltime ~= 0 then
|
||||||
local fuel_percent = math.floor(fuel_time/fuel_totaltime*100)
|
local fuel_percent = math.floor(fuel_time/fuel_totaltime*100)
|
||||||
local brew_percent = math.floor(stand_timer/BREW_TIME*100)
|
local brew_percent = math.floor(stand_timer/BREW_TIME*100)
|
||||||
formspec = active_brewing_formspec(fuel_percent, brew_percent*2 % 100)
|
formspec = active_brewing_formspec(fuel_percent, brew_percent*4 % 100)
|
||||||
-- swap_node(pos, "mcl_brewing:stand_active")
|
-- swap_node(pos, "mcl_brewing:stand_active")
|
||||||
result = true
|
result = true
|
||||||
else
|
else
|
||||||
|
@ -320,7 +320,7 @@ minetest.register_craftitem("mcl_potions:dragon_breath", {
|
|||||||
inventory_image = "mcl_potions_dragon_breath.png",
|
inventory_image = "mcl_potions_dragon_breath.png",
|
||||||
-- TODO: Reveal item when it's actually useful
|
-- TODO: Reveal item when it's actually useful
|
||||||
groups = { brewitem = 1, not_in_creative_inventory = 0 },
|
groups = { brewitem = 1, not_in_creative_inventory = 0 },
|
||||||
stack_max = 64,
|
stack_max = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_potions:healing", {
|
minetest.register_craftitem("mcl_potions:healing", {
|
||||||
@ -334,7 +334,7 @@ minetest.register_craftitem("mcl_potions:healing", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_potions:weakness", {
|
minetest.register_craftitem("mcl_potions:weakness", {
|
||||||
description = S("Healing Potion"),
|
description = S("Weakness Potion"),
|
||||||
_doc_items_longdesc = brewhelp,
|
_doc_items_longdesc = brewhelp,
|
||||||
wield_image = "mcl_potions_weakness.png",
|
wield_image = "mcl_potions_weakness.png",
|
||||||
inventory_image = "mcl_potions_weakness.png",
|
inventory_image = "mcl_potions_weakness.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user