Difference between revisions of "Module:Buildings"

From Foundation - Wiki
Jump to navigation Jump to search
Line 13: Line 13:
},
},
['bakery'] = {
['bakery'] = {
population = '10 Serfs',
population = '10 [[Serfs]]',
workers = 2,
workers = 2,
requirements = {
requirements = {
Line 29: Line 29:
},
},
maintenance = '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'
},
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'
}
}
}
}

Revision as of 21:09, 11 August 2022

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'
		},
		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'
	}
}