diff --git a/mods/cnc/mod.yaml b/mods/cnc/mod.yaml index b62ceafb47..29e3893fbb 100644 --- a/mods/cnc/mod.yaml +++ b/mods/cnc/mod.yaml @@ -156,6 +156,7 @@ LobbyDefaults: FragileAlliances: false Shroud: true Fog: true + TechLevel: Unrestricted ChromeMetrics: mods/cnc/metrics.yaml diff --git a/mods/cnc/rules/aircraft.yaml b/mods/cnc/rules/aircraft.yaml index d229b496d4..e274ea21ec 100644 --- a/mods/cnc/rules/aircraft.yaml +++ b/mods/cnc/rules/aircraft.yaml @@ -52,7 +52,7 @@ HELI: Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks Buildable: BuildPaletteOrder: 20 - Prerequisites: hpad, anyhq + Prerequisites: hpad, anyhq, ~techlevel.medium Queue: Aircraft.Nod Selectable: Bounds: 30,24 @@ -104,7 +104,7 @@ ORCA: Description: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry Buildable: BuildPaletteOrder: 20 - Prerequisites: hpad, anyhq + Prerequisites: hpad, anyhq, ~techlevel.medium Queue: Aircraft.GDI Selectable: Bounds: 30,24 diff --git a/mods/cnc/rules/infantry.yaml b/mods/cnc/rules/infantry.yaml index 6bbfab34fd..7a3ec38cfd 100644 --- a/mods/cnc/rules/infantry.yaml +++ b/mods/cnc/rules/infantry.yaml @@ -30,7 +30,7 @@ E2: Description: Fast infantry armed with grenades. \n Strong vs Buildings, slow-moving targets Buildable: BuildPaletteOrder: 40 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Infantry.GDI Selectable: Bounds: 12,17,0,-6 @@ -87,7 +87,7 @@ E4: Description: Advanced Anti-infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Tanks Buildable: BuildPaletteOrder: 40 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Infantry.Nod Selectable: Bounds: 12,17,0,-6 @@ -117,7 +117,7 @@ E5: Description: Advanced general-purpose infantry.\n Strong vs all Ground units Buildable: BuildPaletteOrder: 50 - Prerequisites: tmpl + Prerequisites: tmpl, ~techlevel.high Queue: Infantry.Nod Selectable: Bounds: 12,17,0,-6 @@ -181,7 +181,7 @@ RMBO: Description: Elite sniper infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles Buildable: BuildPaletteOrder: 50 - Prerequisites: eye + Prerequisites: eye, ~techlevel.high Queue: Infantry.GDI Selectable: Bounds: 12,17,0,-6 diff --git a/mods/cnc/rules/player.yaml b/mods/cnc/rules/player.yaml index e069fb86b8..d1e0dd8ff8 100644 --- a/mods/cnc/rules/player.yaml +++ b/mods/cnc/rules/player.yaml @@ -17,4 +17,15 @@ Player: PlayerStatistics: FrozenActorLayer: PlaceBeacon: - + ProvidesTechPrerequisite@low: + Name: Low + Prerequisites: techlevel.low + ProvidesTechPrerequisite@medium: + Name: Medium + Prerequisites: techlevel.low, techlevel.medium + ProvidesTechPrerequisite@nosuper: + Name: No Powers + Prerequisites: techlevel.low, techlevel.medium, techlevel.high + ProvidesTechPrerequisite@all: + Name: Unrestricted + Prerequisites: techlevel.low, techlevel.medium, techlevel.high, techlevel.superweapons \ No newline at end of file diff --git a/mods/cnc/rules/structures.yaml b/mods/cnc/rules/structures.yaml index 62a41172c7..bf141851b0 100644 --- a/mods/cnc/rules/structures.yaml +++ b/mods/cnc/rules/structures.yaml @@ -110,7 +110,7 @@ NUK2: Prerequisite: anypower Buildable: BuildPaletteOrder: 30 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Building.GDI, Building.Nod Building: Power: 200 @@ -402,7 +402,7 @@ HQ: Prerequisite: anyhq Buildable: BuildPaletteOrder: 70 - Prerequisites: proc + Prerequisites: proc, ~techlevel.medium Queue: Building.GDI, Building.Nod Building: Power: -40 @@ -423,6 +423,7 @@ HQ: DetectCloaked: Range: 5 AirstrikePower: + Prerequisites: ~techlevel.superweapons Icon: airstrike ChargeTime: 180 SquadSize: 3 @@ -477,7 +478,7 @@ EYE: Prerequisite: anyhq Buildable: BuildPaletteOrder: 100 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.high Queue: Building.GDI Building: Power: -200 @@ -498,6 +499,7 @@ EYE: DetectCloaked: Range: 5 IonCannonPower: + Prerequisites: ~techlevel.superweapons Icon: ioncannon ChargeTime: 180 Description: Ion Cannon @@ -522,7 +524,7 @@ TMPL: Prerequisite: anyhq Buildable: BuildPaletteOrder: 100 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.high Queue: Building.Nod Building: Power: -150 @@ -537,6 +539,7 @@ TMPL: Range: 6c0 Bib: NukePower: + Prerequisites: ~techlevel.superweapons Icon: abomb ChargeTime: 300 Description: Nuclear Strike @@ -646,7 +649,7 @@ OBLI: Description: Advanced base defense. \nRequires power to operate.\n Strong vs all Ground units\n Cannot target Aircraft Buildable: BuildPaletteOrder: 60 - Prerequisites: tmpl + Prerequisites: tmpl, ~techlevel.high Queue: Defence.Nod Building: Power: -150 @@ -729,7 +732,7 @@ ATWR: Description: All-purpose defensive structure.\n Strong vs Aircraft, Tanks\n Weak vs Infantry Buildable: BuildPaletteOrder: 60 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Defence.GDI Building: Power: -40 diff --git a/mods/cnc/rules/vehicles.yaml b/mods/cnc/rules/vehicles.yaml index f6cfeea34b..6c4d4ab7f3 100644 --- a/mods/cnc/rules/vehicles.yaml +++ b/mods/cnc/rules/vehicles.yaml @@ -7,7 +7,7 @@ MCV: Description: Deploys into another Construction Yard.\n Unarmed Buildable: BuildPaletteOrder: 100 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.GDI, Vehicle.Nod Selectable: Priority: 3 @@ -130,7 +130,7 @@ ARTY: Description: Long-range artillery.\n Strong vs Infantry, Vehicles & Buildings Buildable: BuildPaletteOrder: 60 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.Nod Mobile: ROT: 2 @@ -166,7 +166,7 @@ FTNK: Description: Heavily armored flame-throwing vehicle.\n Strong vs Infantry, Buildings & Vehicles\n Weak vs Tanks Buildable: BuildPaletteOrder: 50 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.Nod Mobile: ROT: 7 @@ -309,7 +309,7 @@ LTNK: Description: Fast, light tank.\n Strong vs Vehicles, Tanks\n Weak vs Infantry Buildable: BuildPaletteOrder: 40 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.Nod Mobile: ROT: 7 @@ -348,7 +348,7 @@ MTNK: Description: General-Purpose GDI Tank.\n Strong vs Tanks, Vehicles\n Weak vs Infantry Buildable: BuildPaletteOrder: 40 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.GDI Mobile: Speed: 85 @@ -388,7 +388,7 @@ HTNK: Description: Heavily armored GDI Tank. \nCan attack Aircraft.\n Strong vs Everything Buildable: BuildPaletteOrder: 60 - Prerequisites: eye + Prerequisites: eye, ~techlevel.high Queue: Vehicle.GDI Mobile: Crushes: wall, heavywall, crate, infantry @@ -441,7 +441,7 @@ MSAM: Description: Long range rocket artillery.\n Strong vs all Ground units. Buildable: BuildPaletteOrder: 50 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.GDI Mobile: Speed: 85 @@ -478,7 +478,7 @@ MLRS: Description: Powerful anti-air unit. \nCannot attack Ground units. Buildable: BuildPaletteOrder: 70 - Prerequisites: anyhq + Prerequisites: anyhq, ~techlevel.medium Queue: Vehicle.Nod Mobile: Speed: 99 @@ -518,7 +518,7 @@ STNK: Description: Long-range missile tank that can cloak. \nCan attack Aircraft. \nHas weak armor. Can be spotted by infantry.\n Strong vs Vehicles, Tanks\n Weak vs Infantry. Buildable: BuildPaletteOrder: 90 - Prerequisites: tmpl + Prerequisites: tmpl, ~techlevel.high Queue: Vehicle.Nod Mobile: ROT: 10