mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Removing snow falls in the nether
- Placing a limitation at y = - 19600 for the snow falls, under they won't happend. - Changing reload intervals for beginners' chests 1 and 2 (now 1h and 40min)
This commit is contained in:
parent
5e94b24fca
commit
87b1cd745f
@ -11,8 +11,7 @@
|
|||||||
chests = {
|
chests = {
|
||||||
[1] = {
|
[1] = {
|
||||||
position = {x = 5, y = 40, z = -1},
|
position = {x = 5, y = 40, z = -1},
|
||||||
interval_timer = 0,
|
interval_max = 3600,
|
||||||
interval_max = 7200,
|
|
||||||
stuff = {
|
stuff = {
|
||||||
[1] = "3d_armor:boots_steel",
|
[1] = "3d_armor:boots_steel",
|
||||||
[2] = "default:pick_stone",
|
[2] = "default:pick_stone",
|
||||||
@ -22,7 +21,7 @@ chests = {
|
|||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
position = {x = 34, y = 20, z = 101},
|
position = {x = 34, y = 20, z = 101},
|
||||||
interval_max = 7200,
|
interval_max = 2400,
|
||||||
stuff = {
|
stuff = {
|
||||||
[1] = "3d_armor:steel_chest",
|
[1] = "3d_armor:steel_chest",
|
||||||
[2] = "throwing:bow_stone",
|
[2] = "throwing:bow_stone",
|
||||||
|
@ -48,7 +48,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
for _, player in ipairs(minetest.get_connected_players()) do
|
for _, player in ipairs(minetest.get_connected_players()) do
|
||||||
if math.random() > PPPCHA then
|
if math.random() > PPPCHA or player:getpos().y < -19600 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local ppos = player:getpos()
|
local ppos = player:getpos()
|
||||||
|
Loading…
Reference in New Issue
Block a user