{	
	"conditions":[
		# primary resources
		{
			"name":"ore_complex",
			"cost":100,
			"archetypes":{"default":1,"ore":4,"agriculture":0.5},
			"requiresOneOf":["ore_abundant", "ore_rich", "ore_ultrarich"],	# must have one of these conditions to set up an ore complex...
			"noRequireForArchetype":"ore",	# ...unless market has an ore archetype
		},
		{
			"name":"volatiles_complex",
			"cost":100,
			"archetypes":{"default":1,"volatiles":2.5},
			"requiresOneOf":["volatiles_abundant", "volatiles_plentiful"],
			"noRequireForArchetype":"volatiles",
		},
		{
			"name":"volatiles_depot",
			"special":true,
			#"cost":50,
			"archetypes":{"volatiles":2,"manufacturing":1,"heavy_industry":0.5,"misc":1},
		},
		{
			"name":"organics_complex",
			"cost":100,
			"archetypes":{"organics":2.5,"manufacturing":0.5},
			"requiresOneOf":["organics_abundant", "organics_plentiful"],
			"noRequireForArchetype":"organics",
		},
		{
			"name":"hydroponics_complex",
			"cost":100,
			"archetypes":{"default":0.75, "agriculture":2, "misc":1.5},
		},
		#{
		#	"name":"aquaculture",
		#	"cost":200,
		#	"archetypes":{"default":1, "agriculture":3, "misc":1.5, "heavy_industry":0},
		#	"allowedPlanets":["terran","jungle","water"],
		#	"allowStations":false,
		#},
		{
			"name":"volturnian_lobster_pens",
			"cost":100,
			"archetypes":{"default":0.25, "agriculture":1, "mixed":0.5, "heavy_industry":0},
			"allowedPlanets":["terran","jungle","water"],
			"allowStations":false,
			"minSize":3,
		},
		
		# industry
		{
			"name":"cottage_industry",
			"cost":100,
			"archetypes":{"default":1,"agriculture":2,"manufacturing":1,"heavy_industry":0},
			"minSize":3,
			#"allowDuplicates":false,
			"allowStations":false,
		},
		{
			"name":"ore_refining_complex",
			"cost":100,
			"archetypes":{"ore":1,"manufacturing":3,"heavy_industry":2,"misc":0.5},
			"minSize":3,
		},
		{
			"name":"light_industrial_complex",
			"cost":100,
			"archetypes":{"manufacturing":4,"heavy_industry":1,"misc":2},
			"minSize":3,
			#"maxSize":6,
			#"allowDuplicates":false,
		},
		#{
		#	"name":"exerelin_recycling_plant",
		#	"cost":200,
		#	"archetypes":{"default":1},
		#	"minSize":3,
		#},
		{
			"name":"exerelin_supply_workshop",
			"cost":100,
			"archetypes":{"manufacturing":1,"heavy_industry":0.25,"misc":0.5},
			"minSize":3,
			"maxSize":5,
			"conflictsWith":["autofac_heavy_industry"],
		},
		{
			"name":"trade_center",
			"cost":100,
			"archetypes":{"default":0.5},
			"minSize":4,
			"allowDuplicates":false
		},
		{
			"name":"spaceport",
			"cost":150,
			"archetypes":{"manufacturing":0.75,"heavy_industry":1,"misc":0.5},
			"minSize":4,
			"allowDuplicates":false,
			"conflictsWith":["orbital_station"],
		},
		{
			"name":"orbital_station",
			"cost":150,
			"archetypes":{"default":0.5,"manufacturing":1,"heavy_industry":1.5},
			"minSize":4,
			"allowDuplicates":false,
			"allowStations":false,
			"conflictsWith":["spaceport"],
		},
		{
			"name":"autofac_heavy_industry",
			"cost":150,
			"archetypes":{"manufacturing":1.5,"heavy_industry":4.5,"misc":1},
			"minSize":4,
		},
		{
			"name":"antimatter_fuel_production",
			"cost":150,
			"archetypes":{"manufacturing":1.5,"heavy_industry":5,"misc":1},
			"minSize":4,
		},
		{
			"name":"shipbreaking_center",
			"cost":150,
			"archetypes":{"manufacturing":0.5,"heavy_industry":3},
			"minSize":4,
		},
		
		# misc
		{
			"name":"rural_polity",
			"special":true,
			"archetypes":{"default":1,"agriculture":2,"manufacturing":0,"heavy_industry":0},
			"allowedPlanets":["terran","jungle","arid","desert"],
			"minSize":4,
			"maxSize":5,
			"allowStations":false,
			"allowDuplicates":false,
			"conflictsWith":["urbanized_polity"],
		},
		{
			"name":"orbital_burns",
			"cost":150,
			"archetypes":{"default":1, "agriculture":3},
			"allowedPlanets":["jungle"],
			"minSize":3,
			"allowStations":false,
			"allowDuplicates":false,
			#"conflictsWith":["urbanized_polity", "rural_polity"],
		},
		{
			"name":"urbanized_polity",
			"special":true,
			"archetypes":{"default":1,"agriculture":0,"manufacturing":2,"heavy_industry":3},
			"allowedPlanets":["terran","jungle","arid","desert"],
			"minSize":4,
			"allowStations":false,
			"allowDuplicates":false,
			"conflictsWith":["rural_polity"]
		},
		{
			"name":"ms_medCenter",
			"requiredFaction":"shadow_industry",
			"special":true,
			#"cost":50,
			"archetypes":{"default":1},
			"minSize":3,
			"allowDuplicates":false,
		},
		
		#special
		{
			"name":"outpost",
			"special":true,
			"archetypes":{"default":2},
			"maxSize":4,
			"allowDuplicates":false
		},
		{
			"name":"cryosanctum",
			"special":true,
			"archetypes":{"default":1},
			"disallowedPlanets":["desert","jungle","arid","lava"],
			"maxSize":4,
			"allowDuplicates":false
		},
		{
			"name":"vice_demand",
			"special":true,
			"archetypes":{"default":1.5},
			"minSize":3,
			"allowDuplicates":false
		},
		{
			"name":"dissident",
			"special":true,
			"archetypes":{"default":1},
			"minSize":3,
			"maxSize":6,	# since it's still pop-based
			"allowDuplicates":false
		},
		{
			"name":"stealth_minefields",
			"special":true,
			"archetypes":{"default":1},
			"minSize":3,
			"maxSize":5,
			"allowDuplicates":false
		},
		{
			"name":"military_base",
			"special":true,
			"archetypes":{"default":1},
			"minSize":3,
			"allowDuplicates":false	# duplicates cause too much market stability
		},
		{
			"name":"organized_crime",
			"special":true,
			"archetypes":{"default":1.25},
			"minSize":3,
			#"allowDuplicates":false
		},
		{
			"name":"large_refugee_population",
			"special":true,
			"archetypes":{"default":1},
			"minSize":4,
			"allowDuplicates":false
		},
	]
}
