Difference between revisions of "Module:Buildings"

From Foundation - Wiki
Jump to navigation Jump to search
 
(7 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 84: Line 84:
workers = '3',
workers = '3',
rank = 'Serf',
rank = 'Serf',
job = 'Builder',
construction = {
construction = {
wood = '5'
wood = '5'
Line 89: Line 90:
tax = '0',
tax = '0',
maintenance = '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'] = {
['candle workshop'] = {
Line 188: Line 211:
population = '20 [[Serf]]s',
population = '20 [[Serf]]s',
workers = '1',
workers = '1',
splendor = {
job = 'Fisherman',
labor = '6'
},
prosperity = {
prosperity = {
rank = '20',
rank = '20',
gold = ''
['gold coins'] = '25'
},
},
products = {
products = {
Line 208: Line 229:
workers = '1',
workers = '1',
rank = 'Serf',
rank = 'Serf',
job = 'Forester',
construction = {
construction = {
-- ['gold coins'] = '50',
-- ['gold coins'] = '50',
Line 218: Line 240:
workers = '3',
workers = '3',
rank = 'Serf',
rank = 'Serf',
job = 'Gatherer',
products = {
products = {
'berries'
'berries'
Line 243: Line 266:
workers = '4',
workers = '4',
rank = 'Serf',
rank = 'Serf',
job = 'Transporter',
construction = {
construction = {
['gold coins'] = '50',
['gold coins'] = '50',
Line 288: Line 312:
workers = '1',
workers = '1',
rank = 'Serf',
rank = 'Serf',
job = 'Hunter',
construction = {
construction = {
wood = '20',
wood = '20',
tools = '2',
tools = '2',
gold = '10',
['gold coin'] = '10',
},
},
prosperity = {
prosperity = {
rank = '100',
rank = '0',
gold = ''
['gold coin'] = '25'
},
},
maintenance = '1',
maintenance = '1',
Line 337: Line 362:
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '3',
workers = '3',
rank = 'Serf',
job = 'Woodcutter',
products = {
products = {
'wood'
'wood'
Line 349: Line 376:
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 375: Line 403:
building = '[[Builder\'s workshop]]',
building = '[[Builder\'s workshop]]',
workers = '3',
workers = '3',
rank = 'Serf',
job = 'Carpenter',
requirements = {
requirements = {
'Wood'
'Wood'
Line 401: Line 431:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
rank = 'Serf',
prosperity = {
prosperity = {
rank = '20',
rank = '20',
Line 460: Line 491:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '1',
workers = '1',
rank = 'Commoner',
prosperity = {
prosperity = {
rank = '20',
rank = '20',
Line 478: Line 510:
},
},
['tavern'] = {
['tavern'] = {
workers = '1',
rank = 'Commoner',
construction = {
construction = {
['gold coins'] = '150',
['gold coins'] = '150',
Line 488: Line 522:
['warehouse'] = {
['warehouse'] = {
population = '10 [[Villager]]s',
population = '10 [[Villager]]s',
workers = '4',
rank = 'Serf',
influence = {
influence = {
labor =  '1'
labor =  '1'
Line 493: Line 529:
prosperity = {
prosperity = {
rank = '0',
rank = '0',
gold = '50'
['gold coins'] = '25'
},
},
workers = '4',
workers = '4',
rank = 'Serf',
rank = 'Serf',
construction = {
construction = {
['gold coins'] = '50',
['gold coins'] = '10',
stone = '10',
stone = '10',
planks = '15'
planks = '15'
Line 515: Line 551:
population = '1 [[Commoner]]',
population = '1 [[Commoner]]',
workers = '2',
workers = '2',
rank = 'Commoner',
prosperity = {
prosperity = {
rank = '20',
rank = '20',
Line 553: Line 590:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '3',
workers = '3',
rank = 'Serf',
prosperity = {
prosperity = {
rank = '20',
rank = '20',
Line 570: Line 608:
population = '10 [[Serf]]s',
population = '10 [[Serf]]s',
workers = '2',
workers = '2',
rank = 'Serf',
prosperity = {
prosperity = {
rank = '20',
rank = '20',
Line 592: Line 631:
prosperity = {
prosperity = {
rank = '0',
rank = '0',
gold = '25'
['gold coins'] = '25'
},
},
construction = {
construction = {

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