mirror of
https://repo.or.cz/minetest_pep.git
synced 2025-04-30 05:01:41 -04:00
Remove glow potion
This commit is contained in:
parent
0f3318ce0e
commit
ab408a4e78
2 changed files with 0 additions and 15 deletions
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())
|
pep.disable_mole_mode(player:get_player_name())
|
||||||
end
|
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({
|
pep.register_potion({
|
||||||
basename = "speedplus",
|
basename = "speedplus",
|
||||||
|
@ -327,13 +319,6 @@ pep.register_potion({
|
||||||
effect_type = "pepmole",
|
effect_type = "pepmole",
|
||||||
duration = 18,
|
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
|
if(minetest.get_modpath("mana")~=nil) then
|
||||||
pep.register_potion({
|
pep.register_potion({
|
||||||
basename = "manaregen",
|
basename = "manaregen",
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 370 B |
Loading…
Add table
Reference in a new issue