mirror of
https://github.com/D00Med/witchcraft.git
synced 2024-11-15 14:50:23 +01:00
increase shiny potion duration
This commit is contained in:
parent
81d7d65bed
commit
db7fec5801
4
init.lua
4
init.lua
|
@ -3484,7 +3484,7 @@ minetest.register_node("witchcraft:potion_gold", {
|
||||||
inventory_image = "witchcraft_potion_gold.png",
|
inventory_image = "witchcraft_potion_gold.png",
|
||||||
on_use = function(item, user, pointed_thing)
|
on_use = function(item, user, pointed_thing)
|
||||||
local player = user:get_player_name()
|
local player = user:get_player_name()
|
||||||
lightchange(user, 5)
|
lightchange(user, 10)
|
||||||
local playerpos = user:getpos();
|
local playerpos = user:getpos();
|
||||||
minetest.add_particlespawner(
|
minetest.add_particlespawner(
|
||||||
5, --amount
|
5, --amount
|
||||||
|
@ -3524,7 +3524,7 @@ minetest.register_node("witchcraft:potion_gold_2", {
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
inventory_image = "witchcraft_potion_gold.png^[colorize:black:50",
|
inventory_image = "witchcraft_potion_gold.png^[colorize:black:50",
|
||||||
on_use = function(item, user, pointed_thing)
|
on_use = function(item, user, pointed_thing)
|
||||||
lightchange(user, 10)
|
lightchange(user, 20)
|
||||||
local playerpos = user:getpos();
|
local playerpos = user:getpos();
|
||||||
minetest.add_particlespawner(
|
minetest.add_particlespawner(
|
||||||
5, --amount
|
5, --amount
|
||||||
|
|
Loading…
Reference in New Issue
Block a user