if(!locLev.buildings.in( HouseTypeReverse[field.attachedCard.houseType] )) {                
                var rnd = parseInt(Math.random() * locLev.buildings.length);
                field.attachedCard.houseType = HouseType[locLev.buildings[rnd]];
                field.attachedCard.housePopulation = parseInt(Math.random() * HouseTypeMaxPop[locLev.buildings[rnd]])+1
            }