Difference between revisions of "Module:Buildings"

From Foundation - Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by one other user not shown)
Line 2: Line 2:
['apiary'] = {
['apiary'] = {
workers = 2,
workers = 2,
rank = 'Serf',
rank = 'Brother/Sister',
products = {
products = {
'honey',
'honey',
Line 16: Line 16:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = 2,
workers = 2,
rank = 'Commoner',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'water',
'water',
Line 34: Line 39:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '2',
workers = '2',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'coal',
'coal',
Line 51: Line 60:
['brewery'] = {
['brewery'] = {
population = '20 [[Commoner]]s',
population = '20 [[Commoner]]s',
prosperity = {
rank = '50',
gold = ''
},
requirements = {
requirements = {
'wheat',
'wheat',
Line 71: Line 84:
workers = '3',
workers = '3',
rank = 'Serf',
rank = 'Serf',
job = 'Builder',
construction = {
construction = {
wood = '5'
wood = '5'
},
},
tax = '0',
tax = '0',
maintenance = '0'
},
['butchery'] = {
workers = '2',
rank = 'Serf',
job = 'Butcher',
prosperity = {
rank = '0',
['gold coins'] = '25'
},
construction = {
tools = '3',
planks = '10',
stone = '10',
['gold coins'] = '10',
},
requirements = {
'Boar'
},
products = {
'Meat'
},
maintenance = '1'
maintenance = '1'
},
['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 142:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '2',
workers = '2',
prosperity = {
rank = '100',
gold = ''
},
requirements = {
requirements = {
'milk'
'milk'
Line 111: Line 161:
},
},
['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 194:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
prosperity = {
rank = '100',
gold = ''
},
products = {
products = {
'milk'
'milk'
Line 147: Line 211:
population = '20 [[Serf]]s',
population = '20 [[Serf]]s',
workers = '1',
workers = '1',
splendor = {
job = 'Fisherman',
labor = '6'
prosperity = {
rank = '20',
['gold coins'] = '25'
},
},
products = {
products = {
Line 162: Line 228:
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '1',
workers = '1',
rank = 'Serf',
job = 'Forester',
construction = {
construction = {
['gold coins'] = '50',
-- ['gold coins'] = '50',
planks = '10'
planks = '10'
},
},
maintenance = '50'
maintenance = '1'
},
},
['gathering hut'] = {
['gathering hut'] = {
Line 172: Line 240:
workers = '3',
workers = '3',
rank = 'Serf',
rank = 'Serf',
job = 'Gatherer',
products = {
products = {
'berries'
'berries'
Line 180: Line 249:
},
},
maintenance = '5'
maintenance = '5'
},
['glass smelter'] = {
prosperity = {
rank = '200',
gold = ''
},
},
['gold smelter'] = {
prosperity = {
rank = '200',
gold = ''
},
},
},
['granary'] = {
['granary'] = {
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '1',
workers = '4',
rank = 'Serf',
job = 'Transporter',
construction = {
construction = {
['gold coins'] = '50',
['gold coins'] = '50',
Line 189: Line 272:
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 308:
wood = '10'
wood = '10'
}
}
},
['hunter\'s hut'] = {
workers = '1',
rank = 'Serf',
job = 'Hunter',
construction = {
wood = '20',
tools = '2',
['gold coin'] = '10',
},
prosperity = {
rank = '0',
['gold coin'] = '25'
},
maintenance = '1',
},
},
['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 228: Line 346:
maintenance = '30'
maintenance = '30'
},
},
['lord manor'] = {
['jeweler\'s workshop'] = {
prosperity = {
rank = '200',
gold = ''
},
},
['manor house'] = {
construction = {
construction = {
stone = '6',
stone = '6',
Line 238: Line 362:
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '3',
workers = '3',
rank = 'Serf',
job = 'Woodcutter',
products = {
products = {
'wood'
'wood'
Line 245: Line 371:
tools = '5'
tools = '5'
},
},
maintenance = '5'
maintenance = '0'
},
},
['market'] = {
['market'] = {
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '1 (per stall)',
workers = '1 (per stall)',
rank = 'Serf',
construction = {
construction = {
['gold coins'] = '10',
['gold coins'] = '10',
Line 276: Line 403:
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '3',
workers = '3',
rank = 'Serf',
job = 'Carpenter',
requirements = {
requirements = {
'Wood'
'Wood'
Line 287: Line 416:
wood = '20'
wood = '20'
},
},
maintenance = '15'
bundles = {
{
stone = '5',
wood = '10'
},
{
stone = '5',
wood = '10'
},
},
maintenance = '1'
},
},
['sheep farm'] = {
['sheep farm'] = {
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
rank = 'Serf',
prosperity = {
rank = '20',
gold = ''
},
products = {
products = {
'wool'
'wool'
Line 302: Line 446:
},
},
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 465:
tools = '5'
tools = '5'
},
},
maintenance = '10'
maintenance = '0'
},
},
['stonemason hut'] = {
['stonemason hut'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = 1,
workers = 1,
rank = 'Commoner',
prosperity = {
rank = '20',
gold = '50'
},
requirements = {
requirements = {
'stone'
'stone'
Line 335: Line 491:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
rank = 'Commoner',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'cloth'
'cloth'
Line 349: Line 510:
},
},
['tavern'] = {
['tavern'] = {
workers = '1',
rank = 'Commoner',
construction = {
construction = {
['gold coins'] = '150',
['gold coins'] = '150',
Line 359: Line 522:
['warehouse'] = {
['warehouse'] = {
population = '10 [[Villager]]s',
population = '10 [[Villager]]s',
workers = '4',
rank = 'Serf',
influence = {
influence = {
labor =  '1'
labor =  '1'
},
prosperity = {
rank = '0',
['gold coins'] = '25'
},
},
workers = '4',
workers = '4',
rank = 'Serf',
construction = {
construction = {
['gold coins'] = '50',
['gold coins'] = '10',
stone = '10',
stone = '10',
planks = '15'
planks = '15'
},
},
maintenance = '5'
bundle = {
{
stone = '10',
},
{
planks = '15'
}
},
maintenance = '2'
},
},
['weaver hut'] = {
['weaver hut'] = {
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '2',
workers = '2',
rank = 'Commoner',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'wool'
'wool'
Line 396: Line 579:
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',
rank = 'Serf',
prosperity = {
rank = '20',
gold = ''
},
products = {
products = {
'wheat'
'wheat'
Line 413: Line 607:
['windmill'] = {
['windmill'] = {
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
works = '2',
workers = '2',
rank = 'Serf',
prosperity = {
rank = '20',
gold = ''
},
requirements = {
requirements = {
'wheat'
'wheat'
Line 430: Line 629:
['wooden bridge'] = {
['wooden bridge'] = {
population = '10 [[Villager]]s',
population = '10 [[Villager]]s',
prosperity = {
rank = '0',
['gold coins'] = '25'
},
construction = {
construction = {
planks = '10'
planks = '10'

Latest revision as of 11:41, 10 February 2024

Documentation for this module may be created at Module:Buildings/doc

return {
	['apiary'] = {
		workers = 2,
		rank = 'Brother/Sister',
		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',
		job = 'Builder',
		construction = {
			wood = '5'
		},
		tax = '0',
		maintenance = '0'
	},
	['butchery'] = {
		workers = '2',
		rank = 'Serf',
		job = 'Butcher',
		prosperity = {
			rank = '0',
			['gold coins'] = '25'
		},
		construction = {
			tools = '3',
			planks = '10',
			stone = '10',
			['gold coins'] = '10',
		},
		requirements = {
			'Boar'
		},
		products = {
			'Meat'
		},
		maintenance = '1'
	},
	['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',
		job = 'Fisherman',
		prosperity = {
			rank = '20',
			['gold coins'] = '25'
		},
		products = {
			'fish'
		},
		construction = {
			['gold coins'] = '20',
			wood = '40'
		},
		maintenance = '15'
	},
	['forester camp'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1',
		rank = 'Serf',
		job = 'Forester',
		construction = {
		--	['gold coins'] = '50',
			planks = '10'
		},
		maintenance = '1'
	},
	['gathering hut'] = {
		building = '[[Builder\'s workshop]]',
		workers = '3',
		rank = 'Serf',
		job = 'Gatherer',
		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',
		job = 'Transporter',
		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',
		job = 'Hunter',
		construction = {
			wood = '20',
			tools = '2',
			['gold coin'] = '10',
		},
		prosperity = {
			rank = '0',
			['gold coin'] = '25'
		},
		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',
		rank = 'Serf',
		job = 'Woodcutter',
		products = {
			'wood'
		},
		construction = {
			['gold coins'] = '20',
			tools = '5'
		},
		maintenance = '0'
	},
	['market'] = {
		building = '[[Builder\'s workshop]]',
		workers = '1 (per stall)',
		rank = 'Serf',
		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',
		rank = 'Serf',
		job = 'Carpenter',
		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',
		rank = 'Serf',
		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',
		rank = 'Commoner',
		prosperity = {
			rank = '20',
			gold = ''
		},
		requirements = {
			'cloth'
		},
		products = {
			'clothes'
		},
		construction = {
			['gold coins'] = '50',
			planks = '5',
			['polished stone'] = '5',
			tools = '2'
		}
	},
	['tavern'] = {
		workers = '1',
		rank = 'Commoner',
		construction = {
			['gold coins'] = '150',
			planks = '40',
			tools = '25'
		},
		maintenance = '15'
	},
	['village center'] = {},
	['warehouse'] = {
		population = '10 [[Villager]]s',
		workers = '4',
		rank = 'Serf',
		influence = {
			labor =  '1'
		},
		prosperity = {
			rank = '0',
			['gold coins'] = '25'
		},
		workers = '4',
		rank = 'Serf',
		construction = {
			['gold coins'] = '10',
			stone = '10',
			planks = '15'
		},
		bundle = {
			{
				stone = '10',
			},
			{
				planks = '15'
			}
		},
		maintenance = '2'
	},
	['weaver hut'] = {
		population = '1 [[Commoner]]',
		workers = '2',
		rank = 'Commoner',
		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',
		rank = 'Serf',
		prosperity = {
			rank = '20',
			gold = ''
		},
		products = {
			'wheat'
		},
		construction = {
			['gold coins'] = '75',
			planks = '20',
			tools = '10'
		},
		maintenance = '15'
	},
	['windmill'] = {
		population = '10 [[Serf]]s',
		workers = '2',
		rank = 'Serf',
		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 coins'] = '25'
		},
		construction = {
			planks = '10'
		},
		maintenance = '0'
	},
	['wooden keep'] = {
		workers = '10',
		construction = {
			planks = '30'
		},
		maintenance = '5'
	}
}