Module:Buildings

From Foundation - Wiki
Revision as of 14:27, 26 October 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 [[Serf]]s',
		workers = 2,
		requirements = {
			'water',
			'flour'
		},
		products = {
			'bread'
		},
		construction = {
			['gold coins'] = '150',
			['stone'] = '20',
			['planks'] = '20',
			['tools'] = '20'
		},
		maintenance = '20'
	},
	['blacksmith'] = {
		population = '10 [[Serf]]s',
		workers = '2',
		requirements = {
			'coal',
			'iron'
		},
		products = {
			'tools'
		},
		construction = {
			['gold coins'] = '200',
			stone = '20',
			wood = '20',
			tools = '20'
		},
		maintenance = '30'
	},
	['brewery'] = {
		population = '20 [[Commoner]]s',
		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 [[Serf]]s',
		workers = '3',
		requirements = {
			'wood'
		},
		products = {
			'coal'
		},
		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'] = {
	},
	['cooperage'] = {
		population = '20 [[Commoner]]s',
		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'
	},
	['fisher\'s hut'] = {
		population = '20 [[Serf]]s',
		workers = '1',
		splendor = {
			labor = '6'
		},
		products = {
			'fish'
		},
		construction = {
			['gold coins'] = '20',
			wood = '40'
		},
		maintenance = '15'
	},
	['forester camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1',
		construction = {
			['gold coins'] = '50',
			planks = '10'
		},
		maintenance = '50'
	},
	['gathering hut'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		products = {
			'berries'
		},
		construction = {
			['gold coins'] = '20',
			wood = '10'
		},
		maintenance = '5'
	},
	['granary'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1',
		construction = {
			['gold coins'] = '50',
			stone = '5',
			wood = '15'
		},
		maintenance = '5'
	},
	['hop farm'] = {
		population = '20 [[Commoner]]s',
		workers = '3',
		products = {
			'hops'
		},
		construction = {
			['gold coins'] = '100',
			planks = '30',
			['polished stone'] = '10',
			tools = '10'
		},
		maintenance = '20'
	},
	['house'] = {
		construction = {
			wood = '10'
		}
	},
	['iron smelter'] = {
		population = '10 [[Serfs]]',
		workers = '2',
		requirements = {
			'iron ore',
			'coal'
		},
		products = {
			'iron'
		},
		construction = {
			['gold coins'] = '150',
			stone = '10',
			planks = '20',
			tools = '10'
		},
		maintenance = '30'
	},
	['lord manor'] = {
		construction = {
			stone = '6',
			planks = '10'
		},
		maintenance = '5'
	},
	['lumber camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		products = {
			'wood'
		},
		construction = {
			['gold coins'] = '20',
			tools = '5'
		},
		maintenance = '5'
	},
	['market'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1 (per stall)',
		construction = {
			['gold coins'] = '10',
			wood = '2'
		},
		maintenance = '5'
	},
	['monastery'] = {
		construction = {
			glass = '10',
			planks = '55',
			['polished stone'] = '110',
			tools = '25'
		}
	},
	['quarries'] = {
		workers = '5',
		construction = {
			planks = '20'
		},
		maintenance = '0'
	},
	['rustic church'] = {
	},
	['sawmill'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		requirements = {
			'Wood'
		},
		products = {
			'Planks'
		},
		construction = {
			['gold coins'] = '100',
			stone = '10',
			wood = '20'
		},
		maintenance = '15'
	},
	['sheep farm'] = {
		population = '1 [[Commoner]]',
		workers = '1',
		products = {
			'wool'
		},
		construction = {
			['gold coins'] = '50',
			stone = '10',
			wood = '10',
			tools = '5'
		},
		maintenance = '15'
	},
	['stonecutter camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '5',
		products = {
			'stone'
		},
		construction = {
			['gold coins'] = '25',
			wood = '10',
			tools = '5'
		},
		maintenance = '10'
	},
	['stonemason hut'] = {
		population = '10 [[Serf]]s',
		workers = 1,
		requirements = {
			'stone'
		},
		products = {
			'polished stone'
		},
		construction = {
			['gold coins'] = '25',
			wood = '10',
			cloth = '5'
		},
		maintenance = '15'
	},
	['tailor\'s workshop'] = {
		population = '1 [[Commoner]]',
		workers = '1',
		requirements = {
			'cloth'
		},
		products = {
			'clothes'
		},
		construction = {
			['gold coins'] = '50',
			planks = '5',
			['polished stone'] = '5',
			tools = '2'
		}
	},
	['tavern'] = {
		construction = {
			['gold coins'] = '150',
			planks = '40',
			tools = '25'
		},
		maintenance = '15'
	},
	['village center'] = {},
	['warehouse'] = {
		population = '10 [[Villager]]s',
		influence = {
			labor =  '1'
		},
		workers = '4',
		construction = {
			['gold coins'] = '50',
			stone = '10',
			planks = '15'
		},
		maintenance = '5'
	},
	['weaver hut'] = {
		population = '1 [[Commoner]]',
		workers = '2',
		requirements = {
			'wool'
		},
		products = {
			'cloth'
		},
		construction = {
			['gold coins'] = '100',
			stone = '10',
			planks = '10',
			tools = '5'
		},
		maintenance = '15'
	},
	['well'] = {
		products = {
			'water'
		},
		construction = {
			['gold coins'] = '20',
			stone = '5',
			wood = '10'
		},
		maintenance = '5'
	},
	['wheat farm'] = {
		population = '10 [[Serf]]s',
		workers = '3',
		products = {
			'wheat'
		},
		construction = {
			['gold coins'] = '75',
			planks = '20',
			tools = '10'
		},
		maintenance = '15'
	},
	['windmill'] = {
		population = '10 [[Serf]]s',
		works = '2',
		requirements = {
			'wheat'
		},
		products = {
			'flour'
		},
		construction = {
			['gold coins'] = '100',
			stone = '10',
			planks = '10',
			tools = '10'
		},
		maintenance = '15'
	},
	['wooden bridge'] = {
		population = '10 [[Villager]]s',
		construction = {
			planks = '10'
		},
		maintenance = '0'
	},
	['wooden keep'] = {
		workers = '10',
		construction = {
			planks = '30'
		},
		maintenance = '5'
	}
}