Skip to content

More compact economy section #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 14 additions & 34 deletions js/techtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1030,11 +1030,6 @@ function getDefaultTree() {
fortifiedchurchlane.rows.castle_2.push(uniqueunit(WARRIOR_PRIEST));
tree.lanes.push(fortifiedchurchlane);


let houselane = new Lane();
houselane.rows.dark_1.push(building(HOUSE));
tree.lanes.push(houselane);

let towncenterlane = new Lane();
towncenterlane.rows.dark_1.push(building(TOWN_CENTER));
towncenterlane.rows.dark_2.push(unit(VILLAGER));
Expand All @@ -1050,34 +1045,24 @@ function getDefaultTree() {


let additionaltowncenterlane = new Lane();
additionaltowncenterlane.rows.dark_1.push(building(HOUSE));
additionaltowncenterlane.rows.castle_1.push(building(TOWN_CENTER_2));
additionaltowncenterlane.rows.imperial_1.push(building(WONDER));
tree.lanes.push(additionaltowncenterlane);


let wonderlane = new Lane();
wonderlane.rows.imperial_1.push(building(WONDER));
tree.lanes.push(wonderlane);


let feitorialane = new Lane();
feitorialane.rows.imperial_1.push(building(FEITORIA));
tree.lanes.push(feitorialane);

let caravanserailane = new Lane();
caravanserailane.rows.imperial_1.push(building(CARAVANSERAI));
tree.lanes.push(caravanserailane);


let miningcamplane = new Lane();
miningcamplane.rows.dark_1.push(building(MINING_CAMP));
miningcamplane.rows.feudal_1.push(tech(GOLD_MINING));
miningcamplane.rows.feudal_1.push(tech(STONE_MINING));
miningcamplane.rows.castle_1.push(tech(GOLD_SHAFT_MINING));
miningcamplane.rows.castle_1.push(tech(STONE_SHAFT_MINING));
miningcamplane.rows.imperial_1.push(building(FEITORIA));
tree.lanes.push(miningcamplane);

let mulecartlane = new Lane();
mulecartlane.rows.dark_1.push(building(MULE_CART));
mulecartlane.rows.imperial_1.push(building(CARAVANSERAI));
tree.lanes.push(mulecartlane);


Expand All @@ -1090,34 +1075,30 @@ function getDefaultTree() {


let marketlane = new Lane();
marketlane.rows.dark_1.push(building(FOLWARK));
marketlane.rows.feudal_1.push(building(MARKET));
marketlane.rows.feudal_2.push(unit(TRADE_CART));
marketlane.rows.castle_1.push(tech(COINAGE));
marketlane.rows.castle_2.push(tech(COINAGE));
marketlane.rows.castle_1.push(tech(CARAVAN));
marketlane.rows.imperial_1.push(tech(BANKING));
marketlane.rows.imperial_1.push(tech(GUILDS));
marketlane.rows.imperial_2.push(tech(GUILDS));
tree.lanes.push(marketlane);


let farmlane = new Lane();
farmlane.rows.dark_1.push(building(FOLWARK));
farmlane.rows.dark_1.push(building(MILL));
farmlane.rows.dark_2.push(building(FARM));
farmlane.rows.feudal_1.push(tech(HORSE_COLLAR));
farmlane.rows.castle_1.push(tech(HEAVY_PLOW));
farmlane.rows.imperial_1.push(tech(CROP_ROTATION));
tree.lanes.push(farmlane);


let milllane = new Lane();
milllane.rows.dark_1.push(building(MILL));
milllane.rows.feudal_1.push(tech(HORSE_COLLAR));
milllane.rows.feudal_1.push(tech(DOMESTICATION));
milllane.rows.castle_1.push(tech(HEAVY_PLOW));
milllane.rows.castle_1.push(tech(PASTORALISM));
milllane.rows.imperial_1.push(tech(CROP_ROTATION));
milllane.rows.imperial_1.push(tech(TRANSHUMANCE));
tree.lanes.push(milllane);


let pasturelane = new Lane();
pasturelane.rows.dark_1.push(building(PASTURE));
pasturelane.rows.feudal_1.push(tech(DOMESTICATION));
pasturelane.rows.castle_1.push(tech(PASTORALISM));
pasturelane.rows.imperial_1.push(tech(TRANSHUMANCE));
tree.lanes.push(pasturelane);


Expand Down Expand Up @@ -1303,7 +1284,6 @@ function getConnections() {
[b(LUMBER_CAMP), t(DOUBLE_BIT_AXE)],
[t(DOUBLE_BIT_AXE), t(BOW_SAW)],
[t(BOW_SAW), t(TWO_MAN_SAW)],
[b(MARKET), t(CARAVAN)],
[t(COINAGE), t(BANKING)],
[b(MARKET), u(TRADE_CART)],
[b(MILL), b(MARKET)],
Expand Down