Difference between revisions of "Module:Buildings"

From Foundation - Wiki
Jump to navigation Jump to search
Line 16: Line 16:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = 2,
workers = 2,
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'water',
'water',
Line 34: Line 38:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '2',
workers = '2',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'coal',
'coal',
Line 51: Line 59:
['brewery'] = {
['brewery'] = {
population = '20 [[Commoner]]s',
population = '20 [[Commoner]]s',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'wheat',
'wheat',
Line 75: Line 87:
},
},
tax = '0',
tax = '0',
maintenance = '1'
maintenance = '0'
},
['candle workshop'] = {
prosperity = {
rank = '100',
gold = ''
},
},
},
['charcoal hut'] = {
['charcoal hut'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '3',
workers = '3',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'wood'
'wood'
Line 96: Line 118:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '2',
workers = '2',
prosperity = {
rank = '100',
gold = ''
},
requirements = {
requirements = {
'milk'
'milk'
Line 111: Line 137:
},
},
['church'] = {
['church'] = {
},
['common wares workshop'] = {
prosperity = {
rank = '100',
gold = ''
},
},
},
['cooperage'] = {
['cooperage'] = {
population = '20 [[Commoner]]s',
population = '20 [[Commoner]]s',
workers = '3',
workers = '3',
prosperity = {
rank = '100',
gold = ''
},
requirements = {
requirements = {
'planks',
'planks',
Line 134: Line 170:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
prosperity = {
rank = '100',
gold = ''
},
products = {
products = {
'milk'
'milk'
Line 149: Line 189:
splendor = {
splendor = {
labor = '6'
labor = '6'
},
prosperity = {
rank = '20',
gold = ''
},
},
products = {
products = {
Line 163: Line 207:
workers = '1',
workers = '1',
construction = {
construction = {
['gold coins'] = '50',
-- ['gold coins'] = '50',
planks = '10'
planks = '10'
},
},
maintenance = '50'
maintenance = '1'
},
},
['gathering hut'] = {
['gathering hut'] = {
Line 180: Line 224:
},
},
maintenance = '5'
maintenance = '5'
},
['glass smelter'] = {
prosperity = {
rank = '200',
gold = ''
},
},
['gold smelter'] = {
prosperity = {
rank = '200',
gold = ''
},
},
},
['granary'] = {
['granary'] = {
Line 189: Line 245:
wood = '15'
wood = '15'
},
},
maintenance = '5'
bundles = {
{
stone = '5',
wood = '3'
},
{
wood = '7'
},
{
wood = '5'
}
},
maintenance = '1'
},
},
['hop farm'] = {
['hop farm'] = {
population = '20 [[Commoner]]s',
population = '20 [[Commoner]]s',
workers = '3',
workers = '3',
prosperity = {
rank = '50',
gold = ''
},
products = {
products = {
'hops'
'hops'
Line 209: Line 281:
wood = '10'
wood = '10'
}
}
},
['hunter\'s hut'] = {
prosperity = {
rank = '100',
gold = ''
},
},
},
['iron smelter'] = {
['iron smelter'] = {
population = '10 [[Serfs]]',
population = '10 [[Serfs]]',
workers = '2',
workers = '2',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'iron ore',
'iron ore',
Line 227: Line 309:
},
},
maintenance = '30'
maintenance = '30'
},
['jeweler\'s workshop'] = {
prosperity = {
rank = '200',
gold = ''
},
},
},
['lord manor'] = {
['lord manor'] = {
Line 245: Line 333:
tools = '5'
tools = '5'
},
},
maintenance = '5'
maintenance = '0'
},
},
['market'] = {
['market'] = {
Line 292: Line 380:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
prosperity = {
rank = '20',
gold = ''
},
products = {
products = {
'wool'
'wool'
Line 302: Line 394:
},
},
maintenance = '15'
maintenance = '15'
},
['stone bridge'] = {
prosperity = {
rank = '200',
gold = ''
},
},
},
['stonecutter camp'] = {
['stonecutter camp'] = {
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '5',
workers = '5',
rank = 'Serf',
products = {
products = {
'stone'
'stone'
Line 314: Line 413:
tools = '5'
tools = '5'
},
},
maintenance = '10'
maintenance = '0'
},
},
['stonemason hut'] = {
['stonemason hut'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = 1,
workers = 1,
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'stone'
'stone'
Line 335: Line 438:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'cloth'
'cloth'
Line 361: Line 468:
influence = {
influence = {
labor =  '1'
labor =  '1'
},
prosperity = {
rank = '0',
gold = '50'
},
},
workers = '4',
workers = '4',
Line 373: Line 484:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '2',
workers = '2',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'wool'
'wool'
Line 396: Line 511:
wood = '10'
wood = '10'
},
},
maintenance = '5'
bundles = {
{
stone = '5',
wood = '10'
}
},
maintenance = '0'
},
},
['wheat farm'] = {
['wheat farm'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '3',
workers = '3',
prosperity = {
rank = '20',
gold = ''
},
products = {
products = {
'wheat'
'wheat'
Line 413: Line 538:
['windmill'] = {
['windmill'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
works = '2',
workers = '2',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'wheat'
'wheat'
Line 430: Line 559:
['wooden bridge'] = {
['wooden bridge'] = {
population = '10 [[Villager]]s',
population = '10 [[Villager]]s',
prosperity = {
rank = '0',
gold = '25'
},
construction = {
construction = {
planks = '10'
planks = '10'

Revision as of 16:04, 26 October 2022

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,
		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',
		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 = '1',
		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'] = {
		prosperity = {
			rank = '100',
			gold = ''
		},
	},
	['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 = ''
		},
	},
	['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 = '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'
		},
		maintenance = '15'
	},
	['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,
		prosperity = {
			rank = '20',
			gold = ''
		},
		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',
		construction = {
			['gold coins'] = '50',
			stone = '10',
			planks = '15'
		},
		maintenance = '5'
	},
	['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'
	}
}