Skip to content

Commit 46c180b

Browse files
author
Saurav Tripathi
committed
compact additional buildings section
1 parent 3fda527 commit 46c180b

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

js/techtree.js

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,11 +1030,6 @@ function getDefaultTree() {
10301030
fortifiedchurchlane.rows.castle_2.push(uniqueunit(WARRIOR_PRIEST));
10311031
tree.lanes.push(fortifiedchurchlane);
10321032

1033-
1034-
let houselane = new Lane();
1035-
houselane.rows.dark_1.push(building(HOUSE));
1036-
tree.lanes.push(houselane);
1037-
10381033
let towncenterlane = new Lane();
10391034
towncenterlane.rows.dark_1.push(building(TOWN_CENTER));
10401035
towncenterlane.rows.dark_2.push(unit(VILLAGER));
@@ -1049,22 +1044,15 @@ function getDefaultTree() {
10491044
tree.lanes.push(towncenterlane);
10501045

10511046

1052-
let additionaltowncenterlane = new Lane();
1053-
additionaltowncenterlane.rows.castle_1.push(building(TOWN_CENTER_2));
1054-
tree.lanes.push(additionaltowncenterlane);
1055-
1056-
1057-
let wonderlane = new Lane();
1058-
wonderlane.rows.imperial_1.push(building(WONDER));
1059-
tree.lanes.push(wonderlane);
1060-
1061-
1062-
let feitorialane = new Lane();
1063-
feitorialane.rows.imperial_1.push(building(FEITORIA));
1064-
tree.lanes.push(feitorialane);
1047+
let houselane = new Lane();
1048+
houselane.rows.dark_1.push(building(HOUSE));
1049+
houselane.rows.castle_1.push(building(TOWN_CENTER_2));
1050+
houselane.rows.imperial_1.push(building(WONDER));
1051+
houselane.rows.imperial_2.push(building(FEITORIA));
1052+
tree.lanes.push(houselane);
10651053

10661054
let caravanserailane = new Lane();
1067-
caravanserailane.rows.imperial_1.push(building(CARAVANSERAI));
1055+
caravanserailane.rows.imperial_2.push(building(CARAVANSERAI));
10681056
tree.lanes.push(caravanserailane);
10691057

10701058

0 commit comments

Comments
 (0)