Difference between revisions of "Module:Buildings"

From Foundation - Wiki
Jump to navigation Jump to search
Line 11: Line 11:
},
},
maintenance = 10
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'
}
}
}
}

Revision as of 20:51, 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'
	}
}