Remove glow potion
This commit is contained in:
parent
0f3318ce0e
commit
ab408a4e78
15
init.lua
15
init.lua
@ -234,14 +234,6 @@ playereffects.register_effect_type("pepmole", S("Mole mode"), "pep_mole.png", {"
|
||||
pep.disable_mole_mode(player:get_player_name())
|
||||
end
|
||||
)
|
||||
playereffects.register_effect_type("pepglow", S("Glow"), "pep_glow.png", {"glow"},
|
||||
function(player)
|
||||
player:set_properties({glow=minetest.LIGHT_MAX})
|
||||
end,
|
||||
function(effect, player)
|
||||
player:set_properties({glow=0})
|
||||
end
|
||||
)
|
||||
|
||||
pep.register_potion({
|
||||
basename = "speedplus",
|
||||
@ -327,13 +319,6 @@ pep.register_potion({
|
||||
effect_type = "pepmole",
|
||||
duration = 18,
|
||||
})
|
||||
pep.register_potion({
|
||||
basename = "glow",
|
||||
contentstring = S("Glow Potion"),
|
||||
longdesc = S("Drinking it will make you glow. The effect lasts for 60 seconds."),
|
||||
effect_type = "pepglow",
|
||||
duration = 60,
|
||||
})
|
||||
if(minetest.get_modpath("mana")~=nil) then
|
||||
pep.register_potion({
|
||||
basename = "manaregen",
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 370 B |
Loading…
x
Reference in New Issue
Block a user