Skip to content

Commit

Permalink
fix scrin commander tree
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Dec 14, 2023
1 parent e2b5674 commit 371029c
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 107 deletions.
4 changes: 2 additions & 2 deletions mods/ca/rules/scrin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
124 changes: 121 additions & 3 deletions mods/ca/rules/scrin/commander-tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down
Loading

0 comments on commit 371029c

Please sign in to comment.