mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 08:31:08 +01:00
minor parameter tweaks
This commit is contained in:
parent
210fae473e
commit
e78b54cd35
2 changed files with 4 additions and 4 deletions
|
@ -34,13 +34,12 @@ vl_structures.register_structure("nether_bridge",{
|
||||||
y_min = mcl_vars.mg_lava_nether_max,
|
y_min = mcl_vars.mg_lava_nether_max,
|
||||||
y_max = mcl_vars.mg_lava_nether_max + 25, -- otherwise, we may see some very long legs
|
y_max = mcl_vars.mg_lava_nether_max + 25, -- otherwise, we may see some very long legs
|
||||||
filenames = nbridges,
|
filenames = nbridges,
|
||||||
y_offset = function(pr) return pr:next(-8, -5) end,
|
y_offset = function(pr) return pr:next(-12, -8) end,
|
||||||
after_place = function(pos,def,pr,p1,p2)
|
after_place = function(pos,def,pr,p1,p2)
|
||||||
vl_structures.spawn_mobs("mobs_mc:witherskeleton",{"mcl_blackstone:blackstone_chiseled_polished"},p1,p2,pr,5)
|
vl_structures.spawn_mobs("mobs_mc:witherskeleton",{"mcl_blackstone:blackstone_chiseled_polished"},p1,p2,pr,5)
|
||||||
-- p1.y is not a typo, we want to lowest level only
|
-- p1.y is not a typo, we want to lowest level only
|
||||||
local legs = minetest.find_nodes_in_area(vector.new(p1.x,p1.y,p1.z),vector.new(p2.x,p1.y,p2.z), "mcl_nether:nether_brick")
|
local legs = minetest.find_nodes_in_area(vector.new(p1.x,p1.y,p1.z),vector.new(p2.x,p1.y,p2.z), "mcl_nether:nether_brick")
|
||||||
local bricks = {}
|
local bricks = {}
|
||||||
-- TODO: port leg generation to voxel manipulators?
|
|
||||||
for _,leg in pairs(legs) do
|
for _,leg in pairs(legs) do
|
||||||
while true do
|
while true do
|
||||||
leg = vector.offset(leg,0,-1,0)
|
leg = vector.offset(leg,0,-1,0)
|
||||||
|
|
|
@ -219,7 +219,7 @@ mcl_villages.register_building({
|
||||||
num_others = 8,
|
num_others = 8,
|
||||||
min_jobs = 7,
|
min_jobs = 7,
|
||||||
yadjust = 1,
|
yadjust = 1,
|
||||||
rotation_offset = 3, -- entrance is east
|
rotation_offset = 0, -- entrance is north
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_villages.register_building({
|
mcl_villages.register_building({
|
||||||
|
@ -247,7 +247,7 @@ mcl_villages.register_building({
|
||||||
mts = schem_path .. "new_villages/cartographer.mts",
|
mts = schem_path .. "new_villages/cartographer.mts",
|
||||||
num_others = 15,
|
num_others = 15,
|
||||||
yadjust = 1,
|
yadjust = 1,
|
||||||
rotation_offset = 1, -- entrance is west
|
rotation_offset = 0, -- entrance is north
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_villages.register_building({
|
mcl_villages.register_building({
|
||||||
|
@ -263,6 +263,7 @@ mcl_villages.register_building({
|
||||||
mts = schem_path .. "new_villages/mill.mts",
|
mts = schem_path .. "new_villages/mill.mts",
|
||||||
num_others = 8,
|
num_others = 8,
|
||||||
yadjust = 1,
|
yadjust = 1,
|
||||||
|
rotation_offset = 3, -- entrance is east
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_villages.register_building({
|
mcl_villages.register_building({
|
||||||
|
|
Loading…
Reference in a new issue