Module:Buildings

From Foundation - Wiki
Revision as of 08:02, 23 December 2023 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,
		rank = 'Serf',
		products = {
			'honey',
			'wax'
		},
		construction = {
			planks = 30,
			tools = 5
		},
		maintenance = 10
	},
	['bakery'] = {
		population = '10 [[Serf]]s',
		workers = 2,
		rank = 'Commoner',
		prosperity = {
			rank = '20',
			gold = ''
		},
		requirements = {
			'water',
			'flour'
		},
		products = {
			'bread'
		},
		construction = {
			['gold coins'] = '150',
			['stone'] = '20',
			['planks'] = '20',
			['tools'] = '20'
		},
		maintenance = '20'
	},
	['blacksmith'] = {
		population = '10 [[Serf]]s',
		workers = '2',
		prosperity = {
			rank = '50',
			gold = ''
		},
		requirements = {
			'coal',
			'iron'
		},
		products = {
			'tools'
		},
		construction = {
			['gold coins'] = '200',
			stone = '20',
			wood = '20',
			tools = '20'
		},
		maintenance = '30'
	},
	['brewery'] = {
		population = '20 [[Commoner]]s',
		prosperity = {
			rank = '50',
			gold = ''
		},
		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',
		rank = 'Serf',
		construction = {
			wood = '5'
		},
		tax = '0',
		maintenance = '0'
	},
	['candle workshop'] = {
		prosperity = {
			rank = '100',
			gold = ''
		},	
	},
	['charcoal hut'] = {
		population = '10 [[Serf]]s',
		workers = '3',
		prosperity = {
			rank = '50',
			gold = ''
		},
		requirements = {
			'wood'
		},
		products = {
			'coal'
		},
		construction = {
			['gold coins'] = '100',
			wood = '20',
			tools = '10'
		},
		maintenance = '20'
	},
	['cheesemaker'] = {
		population = '1 [[Commoner]]',
		workers = '2',
		prosperity = {
			rank = '100',
			gold = ''
		},
		requirements = {
			'milk'
		},
		products = {
			'cheese'
		},
		construction = {
			['gold coins'] = '150',
			planks = '15',
			['polished stone'] = '10',
			tools = '5'
		},
		maintenance = '25'
	},
	['church'] = {
	},
	['common wares workshop'] = {
		prosperity = {
			rank = '100',
			gold = ''
		},
	},
	['cooperage'] = {
		population = '20 [[Commoner]]s',
		workers = '3',
		prosperity = {
			rank = '100',
			gold = ''
		},
		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',
		prosperity = {
			rank = '100',
			gold = ''
		},
		products = {
			'milk'
		},
		construction = {
			gold = '75',
			planks = '25',
			tools = '5'
		},
		maintenance = '25'
	},
	['fisher\'s hut'] = {
		population = '20 [[Serf]]s',
		workers = '1',
		splendor = {
			labor = '6'
		},
		prosperity = {
			rank = '20',
			gold = ''
		},
		products = {
			'fish'
		},
		construction = {
			['gold coins'] = '20',
			wood = '40'
		},
		maintenance = '15'
	},
	['forester camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1',
		rank = 'Serf',
		construction = {
		--	['gold coins'] = '50',
			planks = '10'
		},
		maintenance = '1'
	},
	['gathering hut'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		rank = 'Serf',
		products = {
			'berries'
		},
		construction = {
			['gold coins'] = '20',
			wood = '10'
		},
		maintenance = '5'
	},
	['glass smelter'] = {
		prosperity = {
			rank = '200',
			gold = ''
		},
	},
	['gold smelter'] = {
		prosperity = {
			rank = '200',
			gold = ''
		},
	},
	['granary'] = {
		building = '[[Builder\'s workshop]]',
		workers = '4',
		rank = 'Serf',
		construction = {
			['gold coins'] = '50',
			stone = '5',
			wood = '15'
		},
		bundles = {
			{
				stone = '5',
				wood = '3'
			},
			{
				wood = '7'
			},
			{
				wood = '5'
			}
		},
		maintenance = '1'
	},
	['hop farm'] = {
		population = '20 [[Commoner]]s',
		workers = '3',
		prosperity = {
			rank = '50',
			gold = ''
		},
		products = {
			'hops'
		},
		construction = {
			['gold coins'] = '100',
			planks = '30',
			['polished stone'] = '10',
			tools = '10'
		},
		maintenance = '20'
	},
	['house'] = {
		construction = {
			wood = '10'
		}
	},
	['hunter\'s hut'] = {
		workers = '1',
		rank = 'Serf',
		construction = {
			wood = '20',
			tools = '2',
			gold = '10',
		},
		prosperity = {
			rank = '100',
			gold = ''
		},
		maintenance = '1',
	},
	['iron smelter'] = {
		population = '10 [[Serfs]]',
		workers = '2',
		prosperity = {
			rank = '50',
			gold = ''
		},
		requirements = {
			'iron ore',
			'coal'
		},
		products = {
			'iron'
		},
		construction = {
			['gold coins'] = '150',
			stone = '10',
			planks = '20',
			tools = '10'
		},
		maintenance = '30'
	},
	['jeweler\'s workshop'] = {
		prosperity = {
			rank = '200',
			gold = ''
		},
	},
	['manor house'] = {
		construction = {
			stone = '6',
			planks = '10'
		},
		maintenance = '5'
	},
	['lumber camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		products = {
			'wood'
		},
		construction = {
			['gold coins'] = '20',
			tools = '5'
		},
		maintenance = '0'
	},
	['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'
		},
		bundles = {
			{
				stone = '5',
				wood = '10'
			},
			{
				stone = '5',
				wood = '10'
			},
		},
		maintenance = '1'
	},
	['sheep farm'] = {
		population = '1 [[Commoner]]',
		workers = '1',
		prosperity = {
			rank = '20',
			gold = ''
		},
		products = {
			'wool'
		},
		construction = {
			['gold coins'] = '50',
			stone = '10',
			wood = '10',
			tools = '5'
		},
		maintenance = '15'
	},
	['stone bridge'] = {
		prosperity = {
			rank = '200',
			gold = ''
		},
	},
	['stonecutter camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '5',
		rank = 'Serf',
		products = {
			'stone'
		},
		construction = {
			['gold coins'] = '25',
			wood = '10',
			tools = '5'
		},
		maintenance = '0'
	},
	['stonemason hut'] = {
		population = '10 [[Serf]]s',
		workers = 1,
		rank = 'Commoner',
		prosperity = {
			rank = '20',
			gold = '50'
		},
		requirements = {
			'stone'
		},
		products = {
			'polished stone'
		},
		construction = {
			['gold coins'] = '25',
			wood = '10',
			cloth = '5'
		},
		maintenance = '15'
	},
	['tailor\'s workshop'] = {
		population = '1 [[Commoner]]',
		workers = '1',
		prosperity = {
			rank = '20',
			gold = ''
		},
		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'
		},
		prosperity = {
			rank = '0',
			gold = '50'
		},
		workers = '4',
		rank = 'Serf',
		construction = {
			['gold coins'] = '50',
			stone = '10',
			planks = '15'
		},
		bundle = {
			{
				stone = '10',
			},
			{
				planks = '15'
			}
		},
		maintenance = '2'
	},
	['weaver hut'] = {
		population = '1 [[Commoner]]',
		workers = '2',
		prosperity = {
			rank = '20',
			gold = ''
		},
		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'
		},
		bundles = {
			{
				stone = '5',
				wood = '10'
			}
		},
		maintenance = '0'
	},
	['wheat farm'] = {
		population = '10 [[Serf]]s',
		workers = '3',
		prosperity = {
			rank = '20',
			gold = ''
		},
		products = {
			'wheat'
		},
		construction = {
			['gold coins'] = '75',
			planks = '20',
			tools = '10'
		},
		maintenance = '15'
	},
	['windmill'] = {
		population = '10 [[Serf]]s',
		workers = '2',
		prosperity = {
			rank = '20',
			gold = ''
		},
		requirements = {
			'wheat'
		},
		products = {
			'flour'
		},
		construction = {
			['gold coins'] = '100',
			stone = '10',
			planks = '10',
			tools = '10'
		},
		maintenance = '15'
	},
	['wooden bridge'] = {
		population = '10 [[Villager]]s',
		prosperity = {
			rank = '0',
			gold = '25'
		},
		construction = {
			planks = '10'
		},
		maintenance = '0'
	},
	['wooden keep'] = {
		workers = '10',
		construction = {
			planks = '30'
		},
		maintenance = '5'
	}
}