Skip to content

Commit

Permalink
fix suk.conc crash
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Jul 27, 2024
1 parent 220a2ae commit 25c6490
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion mods/ca/rules/ai/brutal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Player:
yak: Building, Infantry
mig: Aircraft, Vehicle, Defense
suk: Vehicle, Defense
suk.upg: Building
suk.conc: Building
kiro: Building
orca: Aircraft, Vehicle
orca_bomber: Vehicle, Defense
Expand Down
2 changes: 1 addition & 1 deletion mods/ca/rules/ai/hard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Player:
yak: Building, Infantry
mig: Aircraft, Vehicle, Defense
suk: Vehicle, Defense
suk.upg: Building
suk.conc: Building
kiro: Building
orca: Aircraft, Vehicle
orca_bomber: Vehicle, Defense
Expand Down
4 changes: 2 additions & 2 deletions mods/ca/rules/commander-tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ hack.cameo_filler.117:
commander_tree.Sukhoi:
Inherits: ^default.commander_tree_item
Tooltip:
Name: Sukhoi
Name: SU-27 Flanker
Buildable:
Queue: Commander_Tree
BuildPaletteOrder: 137
Expand All @@ -1089,7 +1089,7 @@ commander_tree.Sukhoi:
commander_tree.Sukhoi_Concussion:
Inherits: ^default.commander_tree_item
Tooltip:
Name: Sukhoi Concussion Bombs
Name: SU-27 Concussion Bombs
Buildable:
Queue: Commander_Tree
IconPalette: chrometd
Expand Down
9 changes: 6 additions & 3 deletions mods/ca/rules/soviet/aircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ SUK:
Inherits: ^VoxelJet
RenderVoxels:
Scale: 0.6
Image: suk
RenderSprites:
Image: suk
Inherits: ^FightingPlane
Inherits: ^BiologicalPilot
Inherits: ^PrioAntiLight
Expand All @@ -63,7 +66,6 @@ SUK:
Queue: Aircraft
BuildAtProductionType: Plane
BuildPaletteOrder: 51
IconPalette: chrome
Prerequisites: ~afld, stek, ~commander_tree.sukhoi, ~!commander_tree.sukhoi_concussion
Description: Fast ground attack aircraft armed\nwith powerful explosive missiles.\n Strong vs Tanks, Defenses\n Weak vs Aircraft
Valued:
Expand Down Expand Up @@ -100,11 +102,12 @@ SUK.Conc:
Queue: Aircraft
BuildAtProductionType: Plane
BuildPaletteOrder: 51
IconPalette: chrometd
Prerequisites: ~afld, stek, ~commander_tree.sukhoi_concussion,
Description: Fast ground attack aircraft armed\nwith powerful explosive missiles.\n Missiles cause concussion on units\n Strong vs Tanks, Defenses\n Weak vs Aircraft
WithProductionIconOverlay@Dynamite:
Types: Dynamite
Tooltip:
Name: Sukhoi Attack Plane (Concussion)
Name: SU-27 Flanker (Concussion)
Armament@primary:
Weapon: MaverickSU.Concussion

Expand Down
4 changes: 0 additions & 4 deletions mods/ca/sequences/aircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,6 @@ suk:
Facings: 8
icon: sukicon

suk.conc:
Inherits: suk
icon: sukhoiconcussionicon

orcaca:
Inherits: ^VehicleOverlays
idle: invisibleitem
Expand Down

0 comments on commit 25c6490

Please sign in to comment.