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:
parent
3d156a8ede
commit
623ce42439
@ -140,8 +140,7 @@ function areas:canPlayerAddArea(pos1, pos2, name)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if count >= self.self_protection_max_areas
|
if count >= self.self_protection_max_areas
|
||||||
and minetest.get_player_privs(name)["megabuilder"] ==
|
and minetest.get_player_privs(name)["megabuilder"] == false then
|
||||||
false then
|
|
||||||
return false, "You have reached the maximum amount of"
|
return false, "You have reached the maximum amount of"
|
||||||
.." areas that you are allowed to protect."
|
.." areas that you are allowed to protect."
|
||||||
end
|
end
|
||||||
|
@ -43,6 +43,10 @@ mobs:register_mob("mobs:mese_monster", {
|
|||||||
chance = 2,
|
chance = 2,
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 5,},
|
max = 5,},
|
||||||
|
{name = "returnmirror:mirror_inactive",
|
||||||
|
chance = 5,
|
||||||
|
min = 1,
|
||||||
|
max = 5,},
|
||||||
},
|
},
|
||||||
light_resistant = true,
|
light_resistant = true,
|
||||||
armor = 80,
|
armor = 80,
|
||||||
|
1
mods/returnmirror
Submodule
1
mods/returnmirror
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit f24fc2b04e0b94d544ebc9d90f2ee49d731e71e9
|
Loading…
Reference in New Issue
Block a user