diff --git a/mods/ra/mod.yaml b/mods/ra/mod.yaml index 6db8254436..4690287d8b 100644 --- a/mods/ra/mod.yaml +++ b/mods/ra/mod.yaml @@ -154,6 +154,7 @@ LobbyDefaults: FragileAlliances: false Shroud: true Fog: true + TechLevel: Unrestricted ChromeMetrics: mods/ra/metrics.yaml diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index beea42f9e1..cea9f195b1 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -77,7 +77,7 @@ MIG: Buildable: Queue: Plane BuildPaletteOrder: 100 - Prerequisites: afld, stek + Prerequisites: afld, stek, ~techlevel.unrestricted Hotkey: m Valued: Cost: 2000 @@ -129,7 +129,7 @@ YAK: Buildable: Queue: Plane BuildPaletteOrder: 50 - Prerequisites: afld + Prerequisites: afld, ~techlevel.medium Hotkey: y Valued: Cost: 1000 @@ -187,7 +187,7 @@ TRAN: Buildable: Queue: Helicopter BuildPaletteOrder: 110 - Prerequisites: hpad + Prerequisites: hpad, ~techlevel.medium Hotkey: t Valued: Cost: 900 @@ -229,7 +229,7 @@ HELI: Buildable: Queue: Helicopter BuildPaletteOrder: 90 - Prerequisites: hpad, atek + Prerequisites: hpad, atek, ~techlevel.unrestricted Hotkey: l Valued: Cost: 2000 @@ -279,7 +279,7 @@ HIND: Buildable: Queue: Helicopter BuildPaletteOrder: 90 - Prerequisites: hpad + Prerequisites: hpad, ~techlevel.medium Hotkey: h Valued: Cost: 1000 diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index 65c89714bc..00f4ee5a5a 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -3,7 +3,7 @@ DOG: Buildable: Queue: Infantry BuildPaletteOrder: 30 - Prerequisites: ~barr + Prerequisites: ~barr, ~techlevel.infonly Hotkey: o Valued: Cost: 200 @@ -33,6 +33,7 @@ E1: Buildable: Queue: Infantry BuildPaletteOrder: 10 + Prerequisites: ~techlevel.infonly Hotkey: i Valued: Cost: 100 @@ -63,7 +64,7 @@ E2: Buildable: Queue: Infantry BuildPaletteOrder: 10 - Prerequisites: ~barr + Prerequisites: ~barr, ~techlevel.infonly Hotkey: g Valued: Cost: 160 @@ -99,6 +100,7 @@ E3: Buildable: Queue: Infantry BuildPaletteOrder: 20 + Prerequisites: ~techlevel.infonly Hotkey: r Valued: Cost: 300 @@ -132,7 +134,7 @@ E4: Buildable: Queue: Infantry BuildPaletteOrder: 60 - Prerequisites: ~barr, ftur + Prerequisites: ~barr, ftur, ~techlevel.low Hotkey: t Valued: Cost: 300 @@ -164,6 +166,7 @@ E6: Buildable: Queue: Infantry BuildPaletteOrder: 50 + Prerequisites: ~techlevel.infonly Hotkey: e Valued: Cost: 500 @@ -195,7 +198,7 @@ SPY: Buildable: Queue: Infantry BuildPaletteOrder: 60 - Prerequisites: dome, ~tent + Prerequisites: dome, ~tent, ~techlevel.medium Hotkey: p Valued: Cost: 500 @@ -231,7 +234,7 @@ E7: Buildable: Queue: Infantry BuildPaletteOrder: 110 - Prerequisites: ~tent, atek + Prerequisites: ~tent, atek, ~techlevel.unrestricted Hotkey: y BuildLimit: 1 Valued: @@ -271,7 +274,7 @@ MEDI: Buildable: Queue: Infantry BuildPaletteOrder: 20 - Prerequisites: ~tent + Prerequisites: ~tent, ~techlevel.infonly Hotkey: m Valued: Cost: 200 @@ -306,7 +309,7 @@ MECH: Buildable: Queue: Infantry BuildPaletteOrder: 70 - Prerequisites: ~tent, fix + Prerequisites: ~tent, fix, ~techlevel.medium Hotkey: c Valued: Cost: 500 @@ -422,7 +425,7 @@ HIJACKER: Buildable: Queue: Infantry BuildPaletteOrder: 90 - Prerequisites: ~tent, fix + Prerequisites: ~tent, fix, ~techlevel.medium Hotkey: j Valued: Cost: 500 @@ -449,7 +452,7 @@ SHOK: Buildable: Queue: Infantry BuildPaletteOrder: 70 - Prerequisites: ~barr, stek, tsla + Prerequisites: ~barr, stek, tsla, ~techlevel.unrestricted Hotkey: l Valued: Cost: 400 @@ -488,7 +491,7 @@ SNIPER: Buildable: Queue: Infantry BuildPaletteOrder: 80 - Prerequisites: ~barr, dome + Prerequisites: ~barr, dome, ~techlevel.medium Hotkey: h Selectable: Bounds: 12,17,0,-6 diff --git a/mods/ra/rules/player.yaml b/mods/ra/rules/player.yaml index a9fa7ece49..2c5eb383e2 100644 --- a/mods/ra/rules/player.yaml +++ b/mods/ra/rules/player.yaml @@ -64,4 +64,15 @@ Player: BaseAttackNotifier: PlayerStatistics: PlaceBeacon: - + ProvidesTechPrerequisite@infonly: + Name: Infantry Only + Prerequisites: techlevel.infonly + ProvidesTechPrerequisite@low: + Name: Low + Prerequisites: techlevel.infonly, techlevel.low + ProvidesTechPrerequisite@medium: + Name: Medium + Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium + ProvidesTechPrerequisite@unrestricted: + Name: Unrestricted + Prerequisites: techlevel.infonly, techlevel.low, techlevel.medium, techlevel.unrestricted \ No newline at end of file diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index 3eb3ae0dd0..0e974d6194 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -3,7 +3,7 @@ SS: Buildable: Queue: Ship BuildPaletteOrder: 50 - Prerequisites: ~spen + Prerequisites: ~spen, ~techlevel.medium Hotkey: u Valued: Cost: 950 @@ -55,7 +55,7 @@ MSUB: Buildable: Queue: Ship BuildPaletteOrder: 60 - Prerequisites: ~spen, stek + Prerequisites: ~spen, stek, ~techlevel.unrestricted Hotkey: m Valued: Cost: 2400 @@ -107,7 +107,7 @@ DD: Buildable: Queue: Ship BuildPaletteOrder: 70 - Prerequisites: ~syrd, dome + Prerequisites: ~syrd, dome, ~techlevel.medium Hotkey: r Valued: Cost: 1000 @@ -156,7 +156,7 @@ CA: Buildable: Queue: Ship BuildPaletteOrder: 100 - Prerequisites: ~syrd, atek + Prerequisites: ~syrd, atek, ~techlevel.unrestricted Hotkey: c Valued: Cost: 2400 @@ -217,6 +217,7 @@ LST: Buildable: Queue: Ship BuildPaletteOrder: 30 + Prerequisites: ~techlevel.low Hotkey: t Valued: Cost: 700 @@ -249,7 +250,7 @@ PT: Buildable: Queue: Ship BuildPaletteOrder: 50 - Prerequisites: ~syrd + Prerequisites: ~syrd, ~techlevel.medium Hotkey: b Valued: Cost: 500 diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 04dd5a0ca3..365521a928 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -8,7 +8,7 @@ MSLO: Buildable: Queue: Defense BuildPaletteOrder: 130 - Prerequisites: techcenter + Prerequisites: techcenter, ~techlevel.unrestricted BuildLimit: 1 Hotkey: m Building: @@ -55,7 +55,7 @@ GAP: Buildable: Queue: Defense BuildPaletteOrder: 100 - Prerequisites: atek, ~structures.allies + Prerequisites: atek, ~structures.allies, ~techlevel.unrestricted Hotkey: g Building: Power: -60 @@ -93,7 +93,7 @@ SPEN: Buildable: Queue: Building BuildPaletteOrder: 50 - Prerequisites: anypower, ~structures.soviet + Prerequisites: anypower, ~structures.soviet, ~techlevel.low Hotkey: y TargetableBuilding: TargetTypes: Ground, Water @@ -144,7 +144,7 @@ SYRD: Buildable: Queue: Building BuildPaletteOrder: 50 - Prerequisites: anypower, ~structures.allies + Prerequisites: anypower, ~structures.allies, ~techlevel.low Hotkey: y Valued: Cost: 1000 @@ -196,7 +196,7 @@ IRON: Buildable: Queue: Defense BuildPaletteOrder: 120 - Prerequisites: stek, ~structures.soviet + Prerequisites: stek, ~structures.soviet, ~techlevel.unrestricted BuildLimit: 1 Hotkey: c Valued: @@ -240,7 +240,7 @@ PDOX: Buildable: Queue: Defense BuildPaletteOrder: 120 - Prerequisites: atek, ~structures.allies + Prerequisites: atek, ~structures.allies, ~techlevel.unrestricted BuildLimit: 1 Hotkey: o Valued: @@ -284,7 +284,7 @@ TSLA: Buildable: Queue: Defense BuildPaletteOrder: 70 - Prerequisites: weap, ~structures.soviet + Prerequisites: weap, ~structures.soviet, ~techlevel.medium Hotkey: u Valued: Cost: 1200 @@ -327,7 +327,7 @@ AGUN: Buildable: Queue: Defense BuildPaletteOrder: 50 - Prerequisites: dome, ~structures.allies + Prerequisites: dome, ~structures.allies, ~techlevel.medium Hotkey: y Valued: Cost: 800 @@ -373,7 +373,7 @@ DOME: Buildable: Queue: Building BuildPaletteOrder: 80 - Prerequisites: proc + Prerequisites: proc, ~techlevel.medium Hotkey: r Valued: Cost: 1800 @@ -413,7 +413,7 @@ PBOX: Buildable: Queue: Defense BuildPaletteOrder: 20 - Prerequisites: tent, ~structures.allies + Prerequisites: tent, ~structures.allies, ~techlevel.low Hotkey: p -GivesBuildableArea: Valued: @@ -458,7 +458,7 @@ HBOX: Buildable: Queue: Defense BuildPaletteOrder: 20 - Prerequisites: tent, ~structures.allies + Prerequisites: tent, ~structures.allies, ~techlevel.medium Hotkey: l -GivesBuildableArea: Valued: @@ -501,7 +501,7 @@ GUN: Buildable: Queue: Defense BuildPaletteOrder: 40 - Prerequisites: tent, ~structures.allies + Prerequisites: tent, ~structures.allies, ~techlevel.medium Hotkey: t Valued: Cost: 600 @@ -541,7 +541,7 @@ FTUR: Buildable: Queue: Defense BuildPaletteOrder: 20 - Prerequisites: barr, ~structures.soviet + Prerequisites: barr, ~structures.soviet, ~techlevel.low Hotkey: t Valued: Cost: 600 @@ -579,7 +579,7 @@ SAM: Buildable: Queue: Defense BuildPaletteOrder: 90 - Prerequisites: dome, ~structures.soviet + Prerequisites: dome, ~structures.soviet, ~techlevel.medium Hotkey: y Valued: Cost: 750 @@ -624,7 +624,7 @@ ATEK: Buildable: Queue: Building BuildPaletteOrder: 100 - Prerequisites: weap, dome, ~structures.allies + Prerequisites: weap, dome, ~structures.allies, ~techlevel.unrestricted Hotkey: t Valued: Cost: 1500 @@ -663,7 +663,7 @@ WEAP: Buildable: Queue: Building BuildPaletteOrder: 70 - Prerequisites: proc + Prerequisites: proc, ~techlevel.low Hotkey: w Valued: Cost: 2000 @@ -751,7 +751,7 @@ PROC: Buildable: Queue: Building BuildPaletteOrder: 10 - Prerequisites: anypower + Prerequisites: anypower, ~techlevel.infonly Hotkey: e Valued: Cost: 1400 @@ -797,7 +797,7 @@ SILO: Buildable: Queue: Building BuildPaletteOrder: 60 - Prerequisites: proc + Prerequisites: proc, ~techlevel.infonly Hotkey: o Valued: Cost: 150 @@ -828,7 +828,7 @@ HPAD: Buildable: Queue: Building BuildPaletteOrder: 90 - Prerequisites: dome, ~structures.allies + Prerequisites: dome, ~structures.allies, ~techlevel.medium Hotkey: i Valued: Cost: 500 @@ -863,7 +863,7 @@ AFLD: Buildable: Queue: Building BuildPaletteOrder: 90 - Prerequisites: dome, ~structures.soviet + Prerequisites: dome, ~structures.soviet, ~techlevel.medium Hotkey: i Valued: Cost: 500 @@ -924,6 +924,7 @@ POWR: Buildable: Queue: Building BuildPaletteOrder: 0 + Prerequisites: ~techlevel.infonly Hotkey: p Valued: Cost: 300 @@ -951,7 +952,7 @@ APWR: Buildable: Queue: Building BuildPaletteOrder: 20 - Prerequisites: dome + Prerequisites: dome, ~techlevel.medium Hotkey: l Valued: Cost: 500 @@ -979,7 +980,7 @@ STEK: Buildable: Queue: Building BuildPaletteOrder: 100 - Prerequisites: weap, dome, ~structures.soviet + Prerequisites: weap, dome, ~structures.soviet, ~techlevel.unrestricted Hotkey: t Valued: Cost: 1500 @@ -1006,7 +1007,7 @@ BARR: Buildable: Queue: Building BuildPaletteOrder: 30 - Prerequisites: anypower, ~structures.soviet + Prerequisites: anypower, ~structures.soviet, ~techlevel.infonly Hotkey: b Valued: Cost: 400 @@ -1042,7 +1043,7 @@ TENT: Buildable: Queue: Building BuildPaletteOrder: 30 - Prerequisites: anypower, ~structures.allies + Prerequisites: anypower, ~structures.allies, ~techlevel.infonly Hotkey: b Valued: Cost: 400 @@ -1095,7 +1096,7 @@ FIX: Buildable: Queue: Building BuildPaletteOrder: 40 - Prerequisites: weap + Prerequisites: weap, ~techlevel.medium Hotkey: m Valued: Cost: 1200 @@ -1270,7 +1271,7 @@ SBAG: Buildable: Queue: Defense BuildPaletteOrder: 1000 - Prerequisites: fact, ~structures.allies + Prerequisites: fact, ~structures.allies, ~techlevel.low Hotkey: b Valued: Cost: 25 @@ -1296,7 +1297,7 @@ FENC: Buildable: Queue: Defense BuildPaletteOrder: 1000 - Prerequisites: fact, ~structures.soviet + Prerequisites: fact, ~structures.soviet, ~techlevel.low Hotkey: n Valued: Cost: 25 @@ -1322,7 +1323,7 @@ BRIK: Buildable: Queue: Defense BuildPaletteOrder: 1000 - Prerequisites: fact + Prerequisites: fact, ~techlevel.medium Hotkey: w Valued: Cost: 100 diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index dea9dc837e..95c7af4b15 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -3,7 +3,7 @@ V2RL: Buildable: Queue: Vehicle BuildPaletteOrder: 40 - Prerequisites: dome, ~vehicles.soviet + Prerequisites: dome, ~vehicles.soviet, ~techlevel.medium Hotkey: v Valued: Cost: 900 @@ -32,7 +32,7 @@ V2RL: Buildable: Queue: Vehicle BuildPaletteOrder: 40 - Prerequisites: ~vehicles.allies + Prerequisites: ~vehicles.allies, ~techlevel.low Hotkey: l Valued: Cost: 700 @@ -71,7 +71,7 @@ V2RL: Buildable: Queue: Vehicle BuildPaletteOrder: 60 - Prerequisites: fix, ~vehicles.allies + Prerequisites: fix, ~vehicles.allies, ~techlevel.medium Hotkey: m Valued: Cost: 850 @@ -113,7 +113,7 @@ V2RL: Buildable: Queue: Vehicle BuildPaletteOrder: 40 - Prerequisites: fix, ~vehicles.soviet + Prerequisites: fix, ~vehicles.soviet, ~techlevel.medium Hotkey: h Valued: Cost: 1150 @@ -155,7 +155,7 @@ V2RL: Buildable: Queue: Vehicle BuildPaletteOrder: 100 - Prerequisites: fix, stek, ~vehicles.soviet + Prerequisites: fix, stek, ~vehicles.soviet, ~techlevel.unrestricted Hotkey: m Valued: Cost: 2000 @@ -211,7 +211,7 @@ ARTY: Buildable: Queue: Vehicle BuildPaletteOrder: 80 - Prerequisites: dome, ~vehicles.allies + Prerequisites: dome, ~vehicles.allies, ~techlevel.medium Hotkey: r Valued: Cost: 800 @@ -244,7 +244,7 @@ HARV: Buildable: Queue: Vehicle BuildPaletteOrder: 10 - Prerequisites: proc + Prerequisites: proc, ~techlevel.infonly Hotkey: e Valued: Cost: 1100 @@ -287,7 +287,7 @@ MCV: Buildable: Queue: Vehicle BuildPaletteOrder: 110 - Prerequisites: fix + Prerequisites: fix, ~techlevel.medium Hotkey: b CustomBuildTimeValue: Value: 2000 @@ -328,7 +328,7 @@ JEEP: Buildable: Queue: Vehicle BuildPaletteOrder: 30 - Prerequisites: ~vehicles.allies + Prerequisites: ~vehicles.allies, ~techlevel.low Hotkey: n Valued: Cost: 500 @@ -369,7 +369,7 @@ APC: Queue: Vehicle BuildPaletteOrder: 50 Hotkey: c - Prerequisites: ~vehicles.soviet + Prerequisites: ~vehicles.soviet, ~techlevel.low Valued: Cost: 850 Tooltip: @@ -404,7 +404,7 @@ MNLY.AP: Buildable: Queue: Vehicle BuildPaletteOrder: 30 - Prerequisites: fix, ~vehicles.soviet + Prerequisites: fix, ~vehicles.soviet, ~techlevel.medium Hotkey: i Valued: Cost: 800 @@ -438,7 +438,7 @@ MNLY.AT: Buildable: Queue: Vehicle BuildPaletteOrder: 30 - Prerequisites: fix, ~vehicles.allies + Prerequisites: fix, ~vehicles.allies, ~techlevel.medium Hotkey: i Valued: Cost: 800 @@ -472,7 +472,7 @@ TRUK: Buildable: Queue: Vehicle BuildPaletteOrder: 120 - Prerequisites: weap + Prerequisites: weap, ~techlevel.low Hotkey: u Valued: Cost: 500 @@ -499,7 +499,7 @@ MGG: Buildable: Queue: Vehicle BuildPaletteOrder: 160 - Prerequisites: atek, ~vehicles.allies + Prerequisites: atek, ~vehicles.allies, ~techlevel.unrestricted Hotkey: y Valued: Cost: 1200 @@ -537,7 +537,7 @@ MRJ: Buildable: Queue: Vehicle BuildPaletteOrder: 150 - Prerequisites: atek, ~vehicles.allies + Prerequisites: atek, ~vehicles.allies, ~techlevel.unrestricted Hotkey: k Health: HP: 220 @@ -568,7 +568,7 @@ TTNK: Buildable: Queue: Vehicle BuildPaletteOrder: 130 - Prerequisites: tsla, stek, ~vehicles.soviet + Prerequisites: tsla, stek, ~vehicles.soviet, ~techlevel.unrestricted Hotkey: t Valued: Cost: 1350 @@ -604,7 +604,7 @@ FTRK: Queue: Vehicle BuildPaletteOrder: 30 Hotkey: k - Prerequisites: ~vehicles.soviet + Prerequisites: ~vehicles.soviet, ~techlevel.low Valued: Cost: 600 Tooltip: @@ -643,7 +643,7 @@ DTRK: Buildable: Queue: Vehicle BuildPaletteOrder: 140 - Prerequisites: stek, ~vehicles.soviet + Prerequisites: stek, ~vehicles.soviet, ~techlevel.unrestricted Hotkey: o Valued: Cost: 2500 @@ -672,7 +672,7 @@ CTNK: Buildable: Queue: Vehicle BuildPaletteOrder: 140 - Prerequisites: atek, pdox, ~vehicles.allies + Prerequisites: atek, pdox, ~vehicles.allies, ~techlevel.unrestricted Hotkey: j Valued: Cost: 1350 @@ -711,7 +711,7 @@ QTNK: Buildable: Queue: Vehicle BuildPaletteOrder: 150 - Prerequisites: fix, stek, ~vehicles.soviet + Prerequisites: fix, stek, ~vehicles.soviet, ~techlevel.unrestricted Hotkey: q Valued: Cost: 2500 @@ -742,7 +742,7 @@ STNK: Buildable: Queue: Vehicle BuildPaletteOrder: 170 - Prerequisites: atek, ~vehicles.allies + Prerequisites: atek, ~vehicles.allies, ~techlevel.unrestricted Hotkey: p Valued: Cost: 1350