chateau is no longer a used village type - instead it is used to spawn single houses

master
Sokomine 2014-11-20 16:55:41 +01:00
parent 0082efb920
commit 5a988de512
1 changed files with 7 additions and 7 deletions

View File

@ -232,10 +232,10 @@ mg_villages.BUILDINGS = {
{scm="r_manorhouse", yoff= 1, orients={0}, farming_plus=0, avoid='', typ='ladymacbeth', weight={canadian=3}, inh=4},
{scm="r_triplex", yoff= 1, orients={0}, farming_plus=0, avoid='', typ='ladymacbeth', weight={canadian=3}, inh=10},
{scm="field_1", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1, chateau=1}},
{scm="field_2", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1, chateau=1}},
{scm="field_3", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1, chateau=1}},
{scm="field_4", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1, chateau=1}},
{scm="field_1", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1}},
{scm="field_2", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1}},
{scm="field_3", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1}},
{scm="field_4", yoff=-2, orients={0,1,2,3}, farming_plus=0, avoid='', typ='field', weight={fields=1}},
{scm="tent_tiny_1", yoff=0, orients={3}, farming_plus=0, avoid='', typ='tent', weight={tent=1, single=1}, inh=1},
{scm="tent_tiny_2", yoff=0, orients={3}, farming_plus=0, avoid='', typ='tent', weight={tent=1, single=1}, inh=1},
@ -257,7 +257,7 @@ mg_villages.BUILDINGS = {
{scm="hochsitz_3", yoff=0, orients={0,1,2,3}, farming_plus=0, avoid='', typ='tower', weight={tower=1, single=1/3}, nomirror=1},
{scm="hochsitz_4", yoff=0, orients={0,1,2,3}, farming_plus=0, avoid='', typ='tower', weight={tower=1, single=1/3}, nomirror=1},
{scm="chateau_1", yoff=-1,orients={0,1,2,3}, farming_plus=0, avoid='', typ='chateau', weight={chateau=5}, pervillage=1},
{scm="chateau_1", yoff=-1,orients={0,1,2,3}, farming_plus=0, avoid='', typ='chateau', weight={chateau=1,single=8}, pervillage=1},
}
@ -269,7 +269,7 @@ if( not( minetest.get_modpath("farming_plus"))) then
end
-- 'nore' and 'taoki' do not require any other mods; thus, they can be used in all worlds
mg_villages.village_types = { 'nore', 'taoki', 'chateau'};
mg_villages.village_types = { 'nore', 'taoki'};
if( minetest.get_modpath("cottages")) then
table.insert( mg_villages.village_types, 'medieval' );
@ -303,7 +303,7 @@ mg_villages.buildings_init = function()
is_used = true;
end
end
if( v.weight and (v.weight.fields or v.weight.tower)) then
if( v.weight and (v.weight.fields or v.weight.tower or v.weight.single)) then
is_used = true;
end