From 371029c683e924d15fd61a1726036655da6b68f4 Mon Sep 17 00:00:00 2001 From: Patrick Wieth Date: Thu, 14 Dec 2023 15:53:03 +0100 Subject: [PATCH] fix scrin commander tree --- mods/ca/rules/scrin.yaml | 4 +- mods/ca/rules/scrin/commander-tree.yaml | 124 +++++++++++++++++++++++- mods/ca/sequences/commander-tree.yaml | 102 ------------------- 3 files changed, 123 insertions(+), 107 deletions(-) diff --git a/mods/ca/rules/scrin.yaml b/mods/ca/rules/scrin.yaml index d6537c3c..3f5077ae 100644 --- a/mods/ca/rules/scrin.yaml +++ b/mods/ca/rules/scrin.yaml @@ -773,8 +773,8 @@ INTL.AA: INTL.Teleport: Inherits: INTL - WithProductionIconOverlay@Eye: - Types: Eye + WithProductionIconOverlay@Wrench: + Types: Wrench Buildable: Prerequisites: wsph, ~vehicles.scrin, ~commander_tree.interloper.teleport Description: Heavily armoured transport craft.\n Can detect mines.\n Can teleport short distances (use alt-key).\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft diff --git a/mods/ca/rules/scrin/commander-tree.yaml b/mods/ca/rules/scrin/commander-tree.yaml index 1de2cbed..548a6e77 100644 --- a/mods/ca/rules/scrin/commander-tree.yaml +++ b/mods/ca/rules/scrin/commander-tree.yaml @@ -2,6 +2,10 @@ commander_tree.Gunwalker.Sensor: Inherits: ^default.commander_tree_item + RenderSprites: + Image: GUNW + WithProductionIconOverlay@Eye: + Types: Eye Tooltip: Name: Gunwalker Sensors Upgrade Buildable: @@ -25,6 +29,10 @@ hack.cameo_filler.401: commander_tree.Interloper.AA: Inherits: ^default.commander_tree_item + RenderSprites: + Image: INTL + WithProductionIconOverlay@Air: + Types: Air Tooltip: Name: Interloper Anti-Air Upgrade Buildable: @@ -38,6 +46,10 @@ commander_tree.Interloper.AA: commander_tree.Interloper.Teleport: Inherits: ^default.commander_tree_item + RenderSprites: + Image: INTL + WithProductionIconOverlay@Wrench: + Types: Wrench Tooltip: Name: Interloper Teleport Upgrade Buildable: @@ -63,6 +75,10 @@ hack.cameo_filler.403: commander_tree.Corrupter.Area: Inherits: ^default.commander_tree_item + RenderSprites: + Image: CORR + WithProductionIconOverlay@Bullets: + Types: Bullets Tooltip: Name: Corrupter Area Upgrade Buildable: @@ -76,6 +92,10 @@ commander_tree.Corrupter.Area: commander_tree.Corrupter.Range: Inherits: ^default.commander_tree_item + RenderSprites: + Image: CORR + WithProductionIconOverlay@Crosshair: + Types: Crosshair Tooltip: Name: Corrupter Range Upgrade Buildable: @@ -101,6 +121,10 @@ hack.cameo_filler.405: commander_tree.Devourer.Acid: Inherits: ^default.commander_tree_item + RenderSprites: + Image: DEVO + WithProductionIconOverlay@Hazard: + Types: Hazard Tooltip: Name: Devourer Acid Upgrade Buildable: @@ -114,6 +138,10 @@ commander_tree.Devourer.Acid: commander_tree.Devourer.Heavy: Inherits: ^default.commander_tree_item + RenderSprites: + Image: DEVO + WithProductionIconOverlay@Shield: + Types: Shield Tooltip: Name: Devourer Heavy Upgrade Buildable: @@ -139,11 +167,14 @@ hack.cameo_filler.407: commander_tree.Darkener.Chain: Inherits: ^default.commander_tree_item + RenderSprites: + Image: DARK + WithProductionIconOverlay@Chainer: + Types: Chainer Tooltip: Name: Darkener Chain Upgrade Buildable: Queue: Commander_Tree - IconPalette: chrometd BuildPaletteOrder: 417 ForceIconLocation: true Prerequisites: prerequisite.has_points, nerv, ~vehicles.harvester, ~!commander_tree.darkener.disc @@ -153,6 +184,10 @@ commander_tree.Darkener.Chain: commander_tree.Darkener.Disc: Inherits: ^default.commander_tree_item + RenderSprites: + Image: DARK + WithProductionIconOverlay@Shell: + Types: Shell Tooltip: Name: Darkener Disc Upgrade Buildable: @@ -178,6 +213,10 @@ hack.cameo_filler.409: commander_tree.Seeker.PLD: Inherits: ^default.commander_tree_item + RenderSprites: + Image: SEEK + WithProductionIconOverlay@PDL: + Types: PDL Tooltip: Name: Seeker PLD Upgrade Buildable: @@ -191,6 +230,10 @@ commander_tree.Seeker.PLD: commander_tree.Seeker.Reflector: Inherits: ^default.commander_tree_item + RenderSprites: + Image: SEEK + WithProductionIconOverlay@Reflector: + Types: Reflector Tooltip: Name: Seeker Reflector Upgrade Buildable: @@ -216,6 +259,10 @@ hack.cameo_filler.411: commander_tree.Lacerator.PLD: Inherits: ^default.commander_tree_item + RenderSprites: + Image: LACE + WithProductionIconOverlay@PDL: + Types: PDL Tooltip: Name: Lacerator PLD Upgrade Buildable: @@ -229,6 +276,10 @@ commander_tree.Lacerator.PLD: commander_tree.Lacerator.Reflector: Inherits: ^default.commander_tree_item + RenderSprites: + Image: LACE + WithProductionIconOverlay@Reflector: + Types: Reflector Tooltip: Name: Lacerator Reflector Upgrade Buildable: @@ -242,6 +293,10 @@ commander_tree.Lacerator.Reflector: commander_tree.Lacerator.AP: Inherits: ^default.commander_tree_item + RenderSprites: + Image: LACE + WithProductionIconOverlay@Shell: + Types: Shell Tooltip: Name: Lacerator AP Upgrade Buildable: @@ -267,6 +322,10 @@ hack.cameo_filler.413: commander_tree.Ruiner.Barrage: Inherits: ^default.commander_tree_item + RenderSprites: + Image: RUIN + WithProductionIconOverlay@Bullets: + Types: Bullets Tooltip: Name: Ruiner Barrage Upgrade Buildable: @@ -290,6 +349,10 @@ hack.cameo_filler.415: commander_tree.Tripod.Chainer: Inherits: ^default.commander_tree_item + RenderSprites: + Image: TPOD + WithProductionIconOverlay@Chainer: + Types: Chainer Tooltip: Name: Tripod Chainer Upgrade Buildable: @@ -303,6 +366,10 @@ commander_tree.Tripod.Chainer: commander_tree.Tripod.Acid: Inherits: ^default.commander_tree_item + RenderSprites: + Image: TPOD + WithProductionIconOverlay@Hazard: + Types: Hazard Tooltip: Name: Tripod Acid Upgrade Buildable: @@ -316,6 +383,10 @@ commander_tree.Tripod.Acid: commander_tree.Tripod.PLD: Inherits: ^default.commander_tree_item + WithProductionIconOverlay@PDL: + Types: PDL + RenderSprites: + Image: TPOD Tooltip: Name: Tripod PLD Upgrade Buildable: @@ -329,11 +400,14 @@ commander_tree.Tripod.PLD: commander_tree.Tripod.Reflector: Inherits: ^default.commander_tree_item + RenderSprites: + Image: TPOD + WithProductionIconOverlay@Reflector: + Types: Reflector Tooltip: Name: Tripod Reflector Upgrade Buildable: Queue: Commander_Tree - IconPalette: chrometd BuildPaletteOrder: 438 ForceIconLocation: true Prerequisites: prerequisite.has_points, techcenter, ~vehicles.tpod, ~filler.tripod, ~!commander_tree.tripod.pld @@ -355,6 +429,10 @@ hack.cameo_filler.416a: commander_tree.Reaper.Acid: Inherits: ^default.commander_tree_item + RenderSprites: + Image: RPTP + WithProductionIconOverlay@Hazard: + Types: Hazard Tooltip: Name: Reaper Acid Upgrade Buildable: @@ -368,6 +446,10 @@ commander_tree.Reaper.Acid: commander_tree.Reaper.Range: Inherits: ^default.commander_tree_item + RenderSprites: + Image: RPTP + WithProductionIconOverlay@Crosshair: + Types: Crosshair Tooltip: Name: Reaper Range Upgrade Buildable: @@ -381,6 +463,10 @@ commander_tree.Reaper.Range: commander_tree.Reaper.PLD: Inherits: ^default.commander_tree_item + RenderSprites: + Image: RPTP + WithProductionIconOverlay@PDL: + Types: PDL Tooltip: Name: Reaper Tripod PLD Upgrade Buildable: @@ -394,6 +480,10 @@ commander_tree.Reaper.PLD: commander_tree.Reaper.Reflector: Inherits: ^default.commander_tree_item + RenderSprites: + Image: RPTP + WithProductionIconOverlay@Reflector: + Types: Reflector Tooltip: Name: Reaper Reflector Upgrade Buildable: @@ -420,6 +510,10 @@ hack.cameo_filler.417a: commander_tree.Stormcrawler.PLD: Inherits: ^default.commander_tree_item + RenderSprites: + Image: STCR + WithProductionIconOverlay@PDL: + Types: PDL Tooltip: Name: Stormcrawler PLD Upgrade Buildable: @@ -433,6 +527,10 @@ commander_tree.Stormcrawler.PLD: commander_tree.Stormcrawler.Reflector: Inherits: ^default.commander_tree_item + RenderSprites: + Image: STCR + WithProductionIconOverlay@Reflector: + Types: Reflector Tooltip: Name: Stormcrawler Reflector Upgrade Buildable: @@ -458,6 +556,10 @@ hack.cameo_filler.419: commander_tree.Stormhunter: Inherits: ^default.commander_tree_item + WithProductionIconOverlay@Crosshair: + Types: Crosshair + RenderSprites: + Image: STMR Tooltip: Name: Stormhunter Upgrade Buildable: @@ -471,6 +573,10 @@ commander_tree.Stormhunter: commander_tree.Stormbomber: Inherits: ^default.commander_tree_item + RenderSprites: + Image: STMR + WithProductionIconOverlay@Grenade: + Types: Grenade Tooltip: Name: Stormbomber Upgrade Buildable: @@ -484,6 +590,10 @@ commander_tree.Stormbomber: commander_tree.Stormbomber.Torp: Inherits: ^default.commander_tree_item + RenderSprites: + Image: STMR + WithProductionIconOverlay@Torpedo: + Types: Torpedo Tooltip: Name: Stormbomber Torpedo Upgrade Buildable: @@ -503,7 +613,7 @@ hack.cameo_filler.420: Inherits: ^default.cameo_filler Buildable: BuildPaletteOrder: 453 - Prerequisites: prerequisite.has_points, nerv, grav, ~aircraft.scrin, disabled + Prerequisites: prerequisite.has_points, ~filler.stormrider, disabled hack.cameo_filler.421: Inherits: ^default.cameo_filler @@ -513,6 +623,10 @@ hack.cameo_filler.421: commander_tree.Devastator.Beam: Inherits: ^default.commander_tree_item + RenderSprites: + Image: deva + WithProductionIconOverlay@Ion: + Types: Ion Tooltip: Name: Devastator Beam Upgrade RenderSprites: @@ -530,6 +644,10 @@ commander_tree.Devastator.Beam: commander_tree.Devastator.Shard: Inherits: ^default.commander_tree_item + RenderSprites: + Image: deva + WithProductionIconOverlay@Missile: + Types: Missile Tooltip: Name: Devastator Shard Upgrade RenderSprites: diff --git a/mods/ca/sequences/commander-tree.yaml b/mods/ca/sequences/commander-tree.yaml index f885788f..a2272923 100644 --- a/mods/ca/sequences/commander-tree.yaml +++ b/mods/ca/sequences/commander-tree.yaml @@ -469,108 +469,6 @@ commander_tree.rebel_leader: commander_tree.reinforcements_coordinator: icon: coordinatoricon -commander_tree.gunwalker.sensor: - icon: gunwsensoricon - -commander_tree.interloper.aa: - icon: intlaaicon - -commander_tree.interloper.teleport: - icon: intlteleporticon - -commander_tree.corrupter.area: - icon: corrareaicon - -commander_tree.corrupter.range: - icon: corrrangeicon - -commander_tree.devourer.acid: - icon: devoacidicon - -commander_tree.devourer.heavy: - icon: devoheavyicon - -commander_tree.darkener.chain: - icon: darkenerchainicon - -commander_tree.darkener.disc: - icon: darkenerdiscicon - -commander_tree.seeker.pld: - icon: seekpldicon - -commander_tree.seeker.reflector: - icon: seekreflectoricon - -commander_tree.lacerator.pld: - icon: lacepldicon - -commander_tree.lacerator.reflector: - icon: lacereflectoricon - -commander_tree.lacerator.ap: - icon: laceapicon - -commander_tree.ruiner.barrage: - icon: ruinbarrageicon - -commander_tree.tripod.chainer: - icon: tpodchainericon - -commander_tree.tripod.chainer.reflector: - icon: tpodchainerreflectoricon - -commander_tree.tripod.acid: - icon: tpodacidicon - -commander_tree.tripod.acid.reflector: - icon: tpodacidreflectoricon - -commander_tree.tripod.pld: - icon: tpodpldicon - -commander_tree.tripod.reflector: - icon: tpodreflectoricon - -commander_tree.reaper.pld: - icon: rptppldicon - -commander_tree.reaper.reflector: - icon: rptpreflectoricon - -commander_tree.reaper.pld.reflector: - icon: rptppldreflectoricon - -commander_tree.reaper.acid: - icon: rptpacidicon - -commander_tree.reaper.acid.reflector: - icon: rptpacidreflectoricon - -commander_tree.reaper.range: - icon: rptprangeicon - -commander_tree.reaper.range.reflector: - icon: rptprangereflectoricon - -commander_tree.stormcrawler.pld: - icon: stcrpldicon - -commander_tree.stormcrawler.reflector: - icon: stcrreflectoricon - -commander_tree.stormhunter: - icon: stormhuntericon - -commander_tree.stormbomber: - icon: stormbombericon - -commander_tree.stormbomber.torp: - icon: stormridertorpicon - -commander_tree.devastator.beam: - icon: devabeamicon - #china commander_tree.battlemaster.autoloader: