diff --git a/mods/ra/bits/ateficon.shp b/mods/ra/bits/ateficon.shp new file mode 100644 index 0000000000..00eab652bd Binary files /dev/null and b/mods/ra/bits/ateficon.shp differ diff --git a/mods/ra/bits/mslficon.shp b/mods/ra/bits/mslficon.shp new file mode 100644 index 0000000000..1599d05651 Binary files /dev/null and b/mods/ra/bits/mslficon.shp differ diff --git a/mods/ra/bits/pdoficon.shp b/mods/ra/bits/pdoficon.shp new file mode 100644 index 0000000000..463b90f50c Binary files /dev/null and b/mods/ra/bits/pdoficon.shp differ diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index ccb29745a9..154b067f98 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -495,6 +495,19 @@ -GpsDot: -MustBeDestroyed: +^FakeBuilding: + Inherits: ^Building + -GivesBuildableArea: + Health: + HP: 100 + Valued: + Cost: 200 + RevealsShroud: + Range: 4c0 + Fake: + -EmitInfantryOnSell: + -MustBeDestroyed: + ^AmmoBox: Inherits: ^TechBuilding Selectable: diff --git a/mods/ra/rules/fakes.yaml b/mods/ra/rules/fakes.yaml index 50b3d3aa0a..5e3903ddcb 100644 --- a/mods/ra/rules/fakes.yaml +++ b/mods/ra/rules/fakes.yaml @@ -1,7 +1,5 @@ FACF: - Inherits: ^Building - Valued: - Cost: 200 + Inherits: ^FakeBuilding Buildable: BuildPaletteOrder: 940 Queue: Defense @@ -16,22 +14,12 @@ FACF: Building: Footprint: xxx xxx xxx Dimensions: 3,3 - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 Bib: RenderBuilding: Image: FACT - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: WEAF: - Inherits: ^Building - Valued: - Cost: 200 + Inherits: ^FakeBuilding Buildable: BuildPaletteOrder: 920 Prerequisites: ~structures.alliesvanilla, ~techlevel.medium @@ -46,23 +34,13 @@ WEAF: Building: Footprint: xxx xxx Dimensions: 3,2 - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 Bib: -RenderBuilding: RenderBuildingWarFactory: Image: WEAP - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: SYRF: - Inherits: ^Building - Valued: - Cost: 200 + Inherits: ^FakeBuilding Buildable: BuildPaletteOrder: 900 Queue: Defense @@ -81,21 +59,11 @@ SYRF: Dimensions: 3,3 Adjacent: 8 TerrainTypes: Water - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 RenderBuilding: Image: SYRD - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: SPEF: - Inherits: ^Building - Valued: - Cost: 200 + Inherits: ^FakeBuilding TargetableBuilding: TargetTypes: Ground, Water Buildable: @@ -114,21 +82,11 @@ SPEF: Dimensions: 3,3 Adjacent: 8 TerrainTypes: Water - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 RenderBuilding: Image: SPEN - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: DOMF: - Inherits: ^Building - Valued: - Cost: 200 + Inherits: ^FakeBuilding Tooltip: Icon: fake-icon Name: Fake Radar Dome @@ -143,14 +101,64 @@ DOMF: Building: Footprint: xx xx Dimensions: 2,2 - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 Bib: RenderBuilding: Image: DOME - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: \ No newline at end of file + +ATEF: + Inherits: ^FakeBuilding + Tooltip: + Icon: fake-icon + Name: Fake Allied Tech Center + Description: Looks like an Allied Tech Center. + GenericName: Allied Tech Center + GenericVisibility: Enemy + GenericStancePrefix: False + Buildable: + BuildPaletteOrder: 940 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.unrestricted + Building: + Footprint: xx xx + Dimensions: 2,2 + Bib: + RenderBuilding: + Image: ATEK + +PDOF: + Inherits: ^FakeBuilding + Tooltip: + Icon: fake-icon + Name: Fake Chronosphere + Description: Looks like a Chronosphere. + GenericName: Chronosphere + GenericVisibility: Enemy + GenericStancePrefix: False + Buildable: + BuildPaletteOrder: 950 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.unrestricted + Building: + Footprint: xx xx + Dimensions: 2,2 + RenderBuilding: + Image: PDOX + +MSLF: + Inherits: ^FakeBuilding + Tooltip: + Icon: fake-icon + Name: Fake Missile Silo + Description: Looks like a Missile Silo. + GenericName: Missile Silo + GenericVisibility: Enemy + GenericStancePrefix: False + Buildable: + BuildPaletteOrder: 960 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.unrestricted + Building: + Footprint: xx + Dimensions: 2,1 + RenderBuilding: + Image: MSLO \ No newline at end of file diff --git a/mods/ra/sequences/structures.yaml b/mods/ra/sequences/structures.yaml index 9bd42bfaea..3428d2fdf8 100644 --- a/mods/ra/sequences/structures.yaml +++ b/mods/ra/sequences/structures.yaml @@ -230,6 +230,8 @@ atek: Length: * icon: atekicon Start: 0 + fake-icon: ateficon + Start: 0 stek: idle: @@ -604,6 +606,8 @@ pdox: Offset: 0,-4 icon: pdoxicon Start: 0 + fake-icon: pdoficon + Start: 0 mslo: idle: @@ -622,6 +626,8 @@ mslo: Length: 7 icon: msloicon2 Start: 0 + fake-icon: mslficon + Start: 0 miss: idle: