diff --git a/src/data/buildings.ts b/src/data/buildings.ts index d03ccff..2296435 100644 --- a/src/data/buildings.ts +++ b/src/data/buildings.ts @@ -56,6 +56,10 @@ export default [ }, constructionTimeReductionPerLevel: 0.025, }, + description: { + short: '', + long: 'Increases the construction time of buildings by 2,5% per level, and unlocks new buildings.' + }, }, { type: 'woodcutter', @@ -84,6 +88,10 @@ export default [ return prod; }, }, + description: { + short: '', + long: 'Produces wood.' + }, }, { type: 'mine', @@ -112,6 +120,10 @@ export default [ return prod; }, }, + description: { + short: '', + long: 'Produces iron.' + }, }, { type: 'pit', @@ -140,6 +152,10 @@ export default [ return prod; }, }, + description: { + short: '', + long: 'Produces stone.' + }, }, { type: 'field', @@ -164,6 +180,10 @@ export default [ return prod; }, }, + description: { + short: '', + long: 'Produces food.' + }, }, { type: 'warehouse', @@ -191,6 +211,10 @@ export default [ }; }, }, + description: { + short: 'Stores wood, stone and iron', + long: 'Stores wood, stone and iron.' + }, }, { type: 'granary', @@ -218,6 +242,10 @@ export default [ }; }, }, + description: { + short: 'Stores food', + long: 'Stores food.' + }, }, { type: 'great-warehouse', @@ -245,6 +273,10 @@ export default [ }; }, }, + description: { + short: 'Stores great quantities of wood, stone and iron', + long: 'Stores great quantities of wood, stone and iron.' + }, }, { type: 'great-granary', @@ -272,6 +304,10 @@ export default [ }; }, }, + description: { + short: 'Stores great quantities of food', + long: 'Stores great quantities of food.' + }, }, { type: 'university', @@ -299,6 +335,10 @@ export default [ recruitmentTime: (V: VillageState, self: BuildingType) => 3 - 0.06 * self.level, }, }, + description: { + short: 'To recruit philosophers', + long: 'Recruit philosophers. Recruitment time is lowered by 2% per level.' + }, }, { type: 'barracks', @@ -323,9 +363,13 @@ export default [ }, units: { type: 'soldier', - recruitmentTime: (V: VillageState, self: BuildingType) => 2 - 0.03 * self.level, + recruitmentTime: (V: VillageState, self: BuildingType) => 2 - 0.04 * self.level, }, }, + description: { + short: 'To recruit soldiers', + long: 'Recruit soldiers. Recruitment time is lowered by 2% per level.' + }, }, { type: 'palace', @@ -357,6 +401,10 @@ export default [ }, }, }, + description: { + short: 'Attracts heroes', + long: 'Attracts a new hero at levels 5 and 10.' + }, }, { type: 'sawmill', @@ -384,6 +432,10 @@ export default [ return prod; }, }, + description: { + short: 'Improves wood production', + long: 'Improves wood production by 5% per level.' + }, }, { type: 'stonecutter', @@ -411,6 +463,10 @@ export default [ return prod; }, }, + description: { + short: 'Improves stone production', + long: 'Improves stone production by 5% per level.' + }, }, { type: 'blacksmith', @@ -438,6 +494,10 @@ export default [ return prod; }, }, + description: { + short: 'Improves iron production', + long: 'Improves iron production by 5% per level.' + }, }, { type: 'bakery', @@ -465,6 +525,10 @@ export default [ return prod; }, }, + description: { + short: 'Improves food production', + long: 'Improves food production by 5% per level.' + }, }, { type: 'wonder', @@ -496,5 +560,9 @@ export default [ }, }, }, + description: { + short: 'Provides a huge culture boost', + long: 'Gives 18,000 culture points upon construction.' + }, }, ]; diff --git a/src/hud/BuildingCreator.svelte b/src/hud/BuildingCreator.svelte index afc805c..afdb151 100644 --- a/src/hud/BuildingCreator.svelte +++ b/src/hud/BuildingCreator.svelte @@ -1,9 +1,10 @@