1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Added returnmirror mod (without mana for the moment)

- Added return mirror mod, mana will follow
- Added a drop of mirrors in mese_monsters' definitions
- Fixed a line return in areas
This commit is contained in:
LeMagnesium 2015-02-28 13:17:58 +01:00
parent 3d156a8ede
commit 623ce42439
3 changed files with 6 additions and 2 deletions

View File

@ -140,8 +140,7 @@ function areas:canPlayerAddArea(pos1, pos2, name)
end
end
if count >= self.self_protection_max_areas
and minetest.get_player_privs(name)["megabuilder"] ==
false then
and minetest.get_player_privs(name)["megabuilder"] == false then
return false, "You have reached the maximum amount of"
.." areas that you are allowed to protect."
end

View File

@ -43,6 +43,10 @@ mobs:register_mob("mobs:mese_monster", {
chance = 2,
min = 2,
max = 5,},
{name = "returnmirror:mirror_inactive",
chance = 5,
min = 1,
max = 5,},
},
light_resistant = true,
armor = 80,

1
mods/returnmirror Submodule

@ -0,0 +1 @@
Subproject commit f24fc2b04e0b94d544ebc9d90f2ee49d731e71e9