Skip to content

Commit 2bd3b97

Browse files
committed
Add remaining carets
1 parent 58586d4 commit 2bd3b97

File tree

1 file changed

+119
-5
lines changed

1 file changed

+119
-5
lines changed

js/techtree.js

Lines changed: 119 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,10 @@ function getDefaultTree() {
127127
archerylane.rows.feudal_1.push(building("Archery Range"));
128128
archerylane.rows.feudal_2.push(unit("Archer"));
129129
archerylane.rows.feudal_2.push(unit("Skirmisher"));
130-
131130
archerylane.rows.castle_1.push(unit("Crossbowman"));
132131
archerylane.rows.castle_1.push(unit("Elite Skirmisher"));
133132
archerylane.rows.castle_1.push(unit("Cavalry Archer"));
134133
archerylane.rows.castle_1.push(tech("Thumbring"));
135-
136134
archerylane.rows.imperial_1.push(unit("Arbalest"));
137135
archerylane.rows.imperial_1.push(unit("Hand Cannoneer"));
138136
archerylane.rows.imperial_1.push(unit("Heavy Cav Archer"));
@@ -143,17 +141,14 @@ function getDefaultTree() {
143141
let barrackslane = new Lane();
144142
barrackslane.rows.dark_1.push(building("Barracks"));
145143
barrackslane.rows.dark_2.push(unit("Militia"));
146-
147144
barrackslane.rows.feudal_1.push(unit("Man-at-Arms"));
148145
barrackslane.rows.feudal_1.push(unit("Spearman"));
149146
barrackslane.rows.feudal_1.push(unit("Eagle Scout"));
150147
barrackslane.rows.feudal_1.push(tech("Tracking"));
151-
152148
barrackslane.rows.castle_1.push(unit("Long Swordsman"));
153149
barrackslane.rows.castle_1.push(unit("Pikeman"));
154150
barrackslane.rows.castle_1.push(unit("Eagle Warrior"));
155151
barrackslane.rows.castle_1.push(tech("Squires"));
156-
157152
barrackslane.rows.imperial_1.push(unit("Two Handed Swordsman"));
158153
barrackslane.rows.imperial_2.push(unit("Champion"));
159154
barrackslane.rows.imperial_1.push(unit("Halberdier"));
@@ -241,9 +236,128 @@ function getDefaultTree() {
241236

242237
let castlelane = new Lane();
243238
castlelane.rows.castle_1.push(building("Castle"));
239+
castlelane.rows.castle_2.push(new Caret(TYPES.UNIQUEUNIT, "UNIQUE UNIT"));
240+
castlelane.rows.castle_2.push(unit("Petard"));
241+
castlelane.rows.castle_2.push(tech("UNIQUE TECH 1"));
242+
castlelane.rows.imperial_1.push(new Caret(TYPES.UNIQUEUNIT, "ELITE UNIQUE UNIT"));
243+
castlelane.rows.imperial_1.push(unit("Trebuchet"));
244+
castlelane.rows.imperial_1.push(tech("UNIQUE TECH 2"));
245+
castlelane.rows.imperial_1.push(tech("Hoardings"));
246+
castlelane.rows.imperial_1.push(tech("Sappers"));
247+
castlelane.rows.imperial_1.push(tech("Conscription"));
248+
castlelane.rows.imperial_1.push(tech("Spies/Treason"));
244249
tree.lanes.push(castlelane);
245250

246251

252+
let houselane = new Lane();
253+
houselane.rows.dark_1.push(building("House"));
254+
tree.lanes.push(houselane);
255+
256+
let towncenterlane = new Lane();
257+
towncenterlane.rows.dark_1.push(building("Town Center"));
258+
towncenterlane.rows.dark_2.push(unit("Villager"));
259+
towncenterlane.rows.dark_2.push(tech("Feudal Age"));
260+
towncenterlane.rows.dark_2.push(tech("Loom"));
261+
towncenterlane.rows.feudal_1.push(tech("Town Watch"));
262+
towncenterlane.rows.feudal_1.push(tech("Castle Age"));
263+
towncenterlane.rows.feudal_1.push(tech("Wheelbarrow"));
264+
towncenterlane.rows.castle_1.push(tech("Town Patrol"));
265+
towncenterlane.rows.castle_1.push(tech("Imperial Age"));
266+
towncenterlane.rows.castle_1.push(tech("Hand Cart"));
267+
tree.lanes.push(towncenterlane);
268+
269+
270+
let additionaltowncenterlane = new Lane();
271+
additionaltowncenterlane.rows.castle_1.push(building("Town Center"));
272+
tree.lanes.push(additionaltowncenterlane);
273+
274+
275+
let siegeworkshoplane = new Lane();
276+
siegeworkshoplane.rows.castle_1.push(building("Siege Workshop"));
277+
siegeworkshoplane.rows.castle_2.push(unit("Mangonel"));
278+
siegeworkshoplane.rows.castle_2.push(unit("Battering Ram"));
279+
siegeworkshoplane.rows.castle_2.push(unit("Scorpion"));
280+
siegeworkshoplane.rows.imperial_1.push(unit("Onager"));
281+
siegeworkshoplane.rows.imperial_1.push(unit("Capped Ram"));
282+
siegeworkshoplane.rows.imperial_1.push(unit("Heavy Scorpion"));
283+
siegeworkshoplane.rows.imperial_1.push(unit("Bombard Cannon"));
284+
siegeworkshoplane.rows.imperial_2.push(unit("Siege Onager"));
285+
siegeworkshoplane.rows.imperial_2.push(unit("Siege Ram"));
286+
tree.lanes.push(siegeworkshoplane);
287+
288+
289+
let blacksmithlane = new Lane();
290+
blacksmithlane.rows.feudal_1.push(building("Blacksmith"));
291+
blacksmithlane.rows.feudal_2.push(tech("Padded Archer Armor"));
292+
blacksmithlane.rows.feudal_2.push(tech("Fletching"));
293+
blacksmithlane.rows.feudal_2.push(tech("Forging"));
294+
blacksmithlane.rows.feudal_2.push(tech("Scale Barding Armor"));
295+
blacksmithlane.rows.feudal_2.push(tech("Scale Mail Armor"));
296+
blacksmithlane.rows.castle_1.push(tech("Leather Archer Armor"));
297+
blacksmithlane.rows.castle_1.push(tech("Bodkin Arrow"));
298+
blacksmithlane.rows.castle_1.push(tech("Iron Casting"));
299+
blacksmithlane.rows.castle_1.push(tech("Chain Barding Armor"));
300+
blacksmithlane.rows.castle_1.push(tech("Chain Mail Armor"));
301+
blacksmithlane.rows.imperial_1.push(tech("Ring Archer Armor"));
302+
blacksmithlane.rows.imperial_1.push(tech("Bracer"));
303+
blacksmithlane.rows.imperial_1.push(tech("Blast Furnance"));
304+
blacksmithlane.rows.imperial_1.push(tech("Plate Barding Armor"));
305+
blacksmithlane.rows.imperial_1.push(tech("Plate Mail Armor"));
306+
tree.lanes.push(blacksmithlane);
307+
308+
309+
let universitylane = new Lane();
310+
universitylane.rows.castle_1.push(building("University"));
311+
universitylane.rows.castle_2.push(tech("Masonry"));
312+
universitylane.rows.castle_2.push(tech("Fortified Wall"));
313+
universitylane.rows.castle_2.push(tech("Ballistics"));
314+
universitylane.rows.castle_2.push(tech("Guard Tower"));
315+
universitylane.rows.castle_2.push(tech("Heated Shot"));
316+
universitylane.rows.castle_2.push(tech("Murder Holes"));
317+
universitylane.rows.castle_2.push(tech("Treadmill Crane"));
318+
universitylane.rows.imperial_1.push(tech("Architecture"));
319+
universitylane.rows.imperial_1.push(tech("Chemistry"));
320+
universitylane.rows.imperial_1.push(tech("Siege Engineers"));
321+
universitylane.rows.imperial_1.push(tech("Keep"));
322+
universitylane.rows.imperial_2.push(tech("Bombard Tower"));
323+
tree.lanes.push(universitylane);
324+
325+
let miningcamplane = new Lane();
326+
miningcamplane.rows.dark_1.push(building("Mining Camp"));
327+
miningcamplane.rows.feudal_1.push(tech("Stone Mining"));
328+
miningcamplane.rows.feudal_1.push(tech("Gold Mining"));
329+
miningcamplane.rows.castle_1.push(tech("Stone Shaft Mining"));
330+
miningcamplane.rows.castle_1.push(tech("Gold Shaft Mining"));
331+
tree.lanes.push(miningcamplane);
332+
333+
334+
let lumbercamplane = new Lane();
335+
lumbercamplane.rows.dark_1.push(building("Lumber Camp"));
336+
lumbercamplane.rows.feudal_1.push(tech("Double-Bit Axe"));
337+
lumbercamplane.rows.castle_1.push(tech("Bow Saw"));
338+
lumbercamplane.rows.imperial_1.push(tech("Two-Man Saw"));
339+
tree.lanes.push(lumbercamplane);
340+
341+
342+
let marketlane = new Lane();
343+
marketlane.rows.feudal_1.push(building("Market"));
344+
marketlane.rows.feudal_2.push(tech("Cartography"));
345+
marketlane.rows.feudal_2.push(tech("Coinage"));
346+
marketlane.rows.feudal_2.push(unit("Trade Cart"));
347+
marketlane.rows.castle_1.push(tech("Caravan"));
348+
marketlane.rows.castle_1.push(tech("Banking"));
349+
marketlane.rows.imperial_1.push(tech("Guilds"));
350+
tree.lanes.push(marketlane);
351+
352+
353+
let milllane = new Lane();
354+
milllane.rows.dark_1.push(building("Mill"));
355+
milllane.rows.dark_2.push(building("Farm"));
356+
milllane.rows.feudal_1.push(tech("Horse Collar"));
357+
milllane.rows.castle_1.push(tech("Heavy Plow"));
358+
milllane.rows.imperial_1.push(tech("Crop Rotation"));
359+
tree.lanes.push(milllane);
360+
247361
tree.updatePositions();
248362

249363
return tree;

0 commit comments

Comments
 (0)