﻿
scriptorium = {
	audio_tier = 1
	is_foreign = no
	pop_type = clergy
	max_levels = guild_max_level
	startup_ramp_target = guild_startup_ramp_target
	price = low_base_price
	increase_per_level_cost = 1.0
	category = consumer_goods_category
	
	employment_size = religious_building_employment

	
	town = yes
	city = yes
	megalopolis = yes
	
	

	build_time = guild_build_time
	
	unique_production_methods = {
		scriptorium_maintenance = {
			icon_type = goods
			icon = dyes
			dyes = 0.0503
			paper = 0.1995
			lumber = 0.0998
			produced = books
			output = 0.75

			debug_max_profit = guild_profit_margin
			category = guild_input
		}
	}

	construction_demand = guild_construction

}

printing_press_shop = {
	audio_tier = 2
	is_foreign = no
	pop_type = burghers
	max_levels = workshop_max_level
	startup_ramp_target = workshop_startup_ramp_target
	price = base_price
	category = consumer_goods_category
	
	employment_size = workshop_employment
	
	
	town = yes
	city = yes
	megalopolis = yes

	

	obsolete = scriptorium

	build_time = workshop_build_time
	
	unique_production_methods = {
		printing_press_maintenance = {
			icon_type = goods
			icon = lead
			lead = 0.2138 #Types
			paper = 0.7462
			tools = 0.0269
			lumber = 0.2662
			
			produced = books
			output = 1.5
			
			debug_max_profit = workshop_profit_margin
			
			category = workshop_input
		}

	}


	construction_demand = workshop_construction
}

printing_manufactory = {
	audio_tier = 3
	is_foreign = no
	pop_type = burghers
	max_levels = manufactory_max_level
	startup_ramp_target = manufactory_startup_ramp_target
	price = base_price
	category = consumer_goods_category
	
	employment_size = manufactory_employment
	
	
	town = yes
	city = yes
	megalopolis = yes

	

	obsolete = printing_press_shop

	build_time = manufactory_build_time
	
	unique_production_methods = {
		printing_manufactory_maintenance = {
		icon_type = goods
		icon = lead
		
			lead = 0.3205 #Types
			paper = 1.6024
			tools = 0.0431
			lumber = 0.4269
			
			produced = books
			output = 2.0
			
			debug_max_profit = manufactory_profit_margin
			
			category = manufactory_input
		}

	}


	construction_demand = manufactory_construction
}

printing_mill = {
	audio_tier = 5
	is_foreign = no
	pop_type = laborers
	is_mill = yes
	max_levels = mills_max_level
	startup_ramp_target = mills_startup_ramp_target
	price = base_price
	category = consumer_goods_category

	employment_size = mills_employment
	
	
	town = yes
	city = yes
	megalopolis = yes

	

	obsolete = printing_manufactory

	build_time = mills_build_time
	
	unique_production_methods = {
		printing_mill_maintenance = {
		icon_type = goods
		icon = lead
		
			lead = 0.5661 #Types
			paper = 3.1149
			tools = 0.0563
			lumber = 0.9054
		
			
			produced = books
			output = 4.0
			
			debug_max_profit = mills_profit_margin
			
			category = mills_input
		}

	}


	construction_demand = mill_construction

	raw_modifier = {
		local_burghers_desired_pop = 0.05
	}
}