Rarely spawn desert wells in deserts

This commit is contained in:
Wuzzy 2017-05-20 06:47:42 +02:00
parent 52616d86c0
commit b433107f67
2 changed files with 32 additions and 9 deletions

View file

@ -141,12 +141,13 @@ end
-- The call of Struct
mcl_structures.call_struct= function(pos, struct_style)
-- 1: Village , 2: Desert temple
if struct_style == 1 then
mcl_structures.geerate_village(pos)
elseif struct_style == 2 then
mcl_structures.generate_desert_temple(pos)
end
if struct_style == "village" then
mcl_structures.geerate_village(pos)
elseif struct_style == "desert_temple" then
mcl_structures.generate_desert_temple(pos)
elseif struct_style == "desert_well" then
mcl_structures.generate_desert_well(pos)
end
end
mcl_structures.generate_village = function(pos)