mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-30 14:53:46 +01:00
Update with sounds, and turn on some potion items.
parent
36ce478361
commit
2ad28f1fac
@ -168,7 +168,9 @@ local function brewing_stand_timer(pos, elapsed)
|
|||||||
|
|
||||||
for i=1, inv:get_size("stand") do
|
for i=1, inv:get_size("stand") do
|
||||||
if brew_output[i] then
|
if brew_output[i] then
|
||||||
|
minetest.sound_play("mcl_potions_bottle_fill", {pos=pos, gain=0.4, max_hear_range=16}, true)
|
||||||
inv:set_stack("stand", i, brew_output[i])
|
inv:set_stack("stand", i, brew_output[i])
|
||||||
|
minetest.sound_play("mcl_potions_bottle_pour", {pos=pos, gain=0.6, max_hear_range=16}, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
stand_timer = 0
|
stand_timer = 0
|
||||||
|
@ -8,7 +8,7 @@ minetest.register_craftitem("mcl_potions:fermented_spider_eye", {
|
|||||||
wield_image = "mcl_potions_spider_eye_fermented.png",
|
wield_image = "mcl_potions_spider_eye_fermented.png",
|
||||||
inventory_image = "mcl_potions_spider_eye_fermented.png",
|
inventory_image = "mcl_potions_spider_eye_fermented.png",
|
||||||
-- TODO: Reveal item when it's actually useful
|
-- TODO: Reveal item when it's actually useful
|
||||||
groups = { brewitem = 1, not_in_creative_inventory = 1, not_in_craft_guide = 1 },
|
groups = { brewitem = 1, not_in_creative_inventory = 0, not_in_craft_guide = 0 },
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user