public Facility(EnumFacilityType type, Corporation owner, Planet location){
		this.type = type;
		this.owner = owner;
		this.location = location;
		name = location.getName()+type.toString();
		
		switch(type){
			case ELECTRONICSPLANT: inputs.add(EnumResource.CIRCUITRY); output=EnumResource.ELECTRONICS; productionTime=7; price=6000000; break;
			case ALLOYPLANT: inputs.add(EnumResource.ORES); output=EnumResource.ALLOYS; productionTime=7; price=6000000; break;
			case FUELPLANT: inputs.add(EnumResource.EXOTICMATTER); output=EnumResource.FUEL; productionTime=7; price=6000000; break;
			case LABORATORY: inputs.add(EnumResource.SCIEQUIPMENT); output=EnumResource.WARPDRIVEHOUSING; productionTime=7; price=6000000; break;
			
			case SPACESHIPPARTSPLANT: inputs.add(EnumResource.ELECTRONICS); inputs.add(EnumResource.ALLOYS); output=EnumResource.SPACESHIPCOMPONENTS; productionTime=21; price=12000000; break;
			case ALCUBIERREPLANT: inputs.add(EnumResource.FUEL); inputs.add(EnumResource.WARPDRIVEHOUSING); output=EnumResource.ALCUBIERRE; productionTime=21; price=12000000; break;
			
			case SPACESHIPPLANT: inputs.add(EnumResource.SPACESHIPCOMPONENTS); inputs.add(EnumResource.ALCUBIERRE); output=EnumResource.SPACESHIP; productionTime=56; price=18000000; break;
		}
		// set up the process String:
		for(EnumResource enumResource : inputs){
			if(process != "")
				process+=" + ";
			process += MainGame.resourcesMap.get(enumResource).getName();
		}
		process += " -> " + MainGame.resourcesMap.get(output).getName();
	}