Module:Buildings

From Foundation - Wiki
Revision as of 12:07, 13 August 2022 by Sakaratte (talk | contribs)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Buildings/doc

return {
	['apiary'] = {
		workers = 2,
		products = {
			'honey',
			'wax'
		},
		construction = {
			planks = 30,
			tools = 5
		},
		maintenance = 10
	},
	['bakery'] = {
		population = '10 [[Serfs]]',
		workers = 2,
		requirements = {
			'water',
			'flour'
		},
		products = {
			'bread'
		},
		construction = {
			['gold coins'] = '150',
			['stone'] = '20',
			['planks'] = '20',
			['tools'] = '20'
		},
		maintenance = '20'
	},
	['blacksmith'] = {
		population = '10 [[Serfs]]',
		workers = '2',
		requirements = {
			'coal',
			'iron'
		},
		products = {
			'tools'
		},
		construction = {
			['gold coins'] = '200',
			stone = '20',
			wood = '20',
			tools = '20'
		},
		maintenance = '30'
	},
	['brewery'] = {
		population = '20 [[Commoners]]',
		requirements = {
			'wheat',
			'hops',
			'water'
		},
		products = {
			'beer'
		},
		construction = {
			['gold coins'] = '200',
			planks = '15',
			['polished stone'] = '15',
			tools = '10'
		},
		maintenance = '30'
	},
	['builder\'s workshop'] = {
		building = '[[Village Center]]',
		workers = '3',
		construction = {
			wood = '5'
		},
		tax = '0',
		maintenance = '1'
	},
	['charcoal hut'] = {
		population = '10 [[Serfs]]',
		workers = '3',
		requirements = {
			'wood'
		},
		products = {
			'charcoal'
		},
		construction = {
			['gold coins'] = '100',
			wood = '20',
			tools = '10'
		},
		maintenance = '20'
	},
	['cheesemaker'] = {
		population = '1 [[Commoner]]',
		workers = '2',
		requirements = {
			'milk'
		},
		products = {
			'cheese'
		},
		construction = {
			['gold coins'] = '150',
			planks = '15',
			['polished stone'] = '10',
			tools = '5'
		},
		maintenance = '25'
	},
	['church'] = {
		construction = {
			['gold coins'] = '50',
			stone = '35',
			planks = '15',
			['polished stone'] = '30',
			tools = '5'
		},
		maintenance = '85'
	},
	['cooperage'] = {
		population = '20 [[Commoners]]',
		workers = '3',
		requirements = {
			'planks',
			'iron',
			'tools'
		},
		products = {
			'barrel'
		},
		construction = {
			['gold coins'] = '300',
			planks = '30',
			['polished stone'] = '10',
			tools = '10'
		},
		maintenance = '75'
	},
	['dairy farm'] = {
		population = '1 [[Commoner]]',
		workers = '1',
		products = {
			'milk'
		},
		construction = {
			gold = '75',
			planks = '25',
			tools = '5'
		},
		maintenance = '25'
	}
}