village raritiy fix, subrosian fix

master
D00Med 2017-02-04 10:05:28 +10:00
parent 5118ad8553
commit 3046f16ae1
4 changed files with 3 additions and 11 deletions

View File

@ -253,14 +253,6 @@ minetest.register_abm({
end
})
minetest.register_abm({
nodenames = {"hyrule_mapgen:subrosian_sand"},
interval = 30,
chance = 100,
action = function(pos, node)
minetest.env:add_entity(pos, "mobs_loz:subrosian")
end
})
--entities

View File

@ -1702,7 +1702,7 @@ end)
--villages
local village_rarity = 10000
local village_rarity = 50000
minetest.register_on_generated(function(minp, maxp)
if maxp.y < -1 or maxp.y > 21000 then

View File

@ -1089,7 +1089,7 @@ minetest.register_tool("hyruletools:mirror", {
local pos1 = user:getpos()
local pos = math.random(1,50)
local vertical = 0
if pos1.y <= -20000 then
if pos1.y <= -20001 then
vertical = 5
else
vertical = -21000

View File

@ -52,7 +52,7 @@ mobs:spawn({
name = "mobs_loz:subrosian",
nodes = {"hyrule_mapgen:subrosian_tile", "hyrule_mapgen:subrosian_sand"},
min_light = 0,
chance = 15000,
chance = 24000,
min_height = -20000,
day_toggle = true,
})