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/maps/allies-02/map.yaml b/mods/ra/maps/allies-02/map.yaml index fb9dcdc61a..d1cc2864a6 100644 --- a/mods/ra/maps/allies-02/map.yaml +++ b/mods/ra/maps/allies-02/map.yaml @@ -819,6 +819,15 @@ Rules: DOMF: Buildable: Prerequisites: ~disabled + ATEF: + Buildable: + Prerequisites: ~disabled + MSLF: + Buildable: + Prerequisites: ~disabled + PDOF: + Buildable: + Prerequisites: ~disabled Sequences: diff --git a/mods/ra/maps/allies-03a/map.yaml b/mods/ra/maps/allies-03a/map.yaml index 72552473c8..e9920b2017 100644 --- a/mods/ra/maps/allies-03a/map.yaml +++ b/mods/ra/maps/allies-03a/map.yaml @@ -1534,18 +1534,6 @@ Rules: SHOK: Buildable: Prerequisites: ~disabled - FACF: - Buildable: - Prerequisites: ~disabled - WEAF: - Buildable: - Prerequisites: ~disabled - SYRF: - Buildable: - Prerequisites: ~disabled - DOMF: - Buildable: - Prerequisites: ~disabled Sequences: diff --git a/mods/ra/maps/survival01/map.yaml b/mods/ra/maps/survival01/map.yaml index df6116f0c4..19aea2974c 100644 --- a/mods/ra/maps/survival01/map.yaml +++ b/mods/ra/maps/survival01/map.yaml @@ -1368,6 +1368,15 @@ Rules: DOMF: Buildable: Prerequisites: ~disabled + ATEF: + Buildable: + Prerequisites: ~disabled + MSLF: + Buildable: + Prerequisites: ~disabled + PDOF: + Buildable: + Prerequisites: ~disabled Sequences: diff --git a/mods/ra/mod.yaml b/mods/ra/mod.yaml index 7a888b3089..f99b6b52e5 100644 --- a/mods/ra/mod.yaml +++ b/mods/ra/mod.yaml @@ -47,6 +47,7 @@ Rules: ./mods/ra/rules/decoration.yaml ./mods/ra/rules/aircraft.yaml ./mods/ra/rules/ships.yaml + ./mods/ra/rules/fakes.yaml Sequences: ./mods/ra/sequences/ships.yaml diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index ccb29745a9..2ded9840f8 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -495,6 +495,17 @@ -GpsDot: -MustBeDestroyed: +^FakeBuilding: + Inherits: ^Building + -GivesBuildableArea: + Health: + HP: 100 + RevealsShroud: + Range: 4c0 + Fake: + -EmitInfantryOnSell: + -MustBeDestroyed: + ^AmmoBox: Inherits: ^TechBuilding Selectable: diff --git a/mods/ra/rules/fakes.yaml b/mods/ra/rules/fakes.yaml new file mode 100644 index 0000000000..60e355eee9 --- /dev/null +++ b/mods/ra/rules/fakes.yaml @@ -0,0 +1,180 @@ +FACF: + Inherits: ^FakeBuilding + Buildable: + BuildPaletteOrder: 940 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.medium + Tooltip: + Icon: fake-icon + Name: Fake Construction Yard + Description: Looks like a Construction Yard. + GenericName: Construction Yard + GenericVisibility: Enemy + GenericStancePrefix: False + Building: + Footprint: xxx xxx xxx + Dimensions: 3,3 + Bib: + RenderBuilding: + Image: FACT + Valued: + Cost: 250 + +WEAF: + Inherits: ^FakeBuilding + Buildable: + BuildPaletteOrder: 920 + Prerequisites: ~structures.alliesvanilla, ~techlevel.medium + Queue: Defense + Tooltip: + Icon: fake-icon + Name: Fake War Factory + Description: Looks like a War Factory. + GenericName: War Factory + GenericVisibility: Enemy + GenericStancePrefix: False + Building: + Footprint: xxx xxx + Dimensions: 3,2 + Bib: + -RenderBuilding: + RenderBuildingWarFactory: + Image: WEAP + Valued: + Cost: 200 + +SYRF: + Inherits: ^FakeBuilding + Buildable: + BuildPaletteOrder: 900 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.medium + Tooltip: + Icon: fake-icon + Name: Fake Shipyard + Description: Looks like a Shipyard. + GenericName: Shipyard + GenericVisibility: Enemy + GenericStancePrefix: False + TargetableBuilding: + TargetTypes: Ground, Water + Building: + Footprint: xxx xxx xxx + Dimensions: 3,3 + Adjacent: 8 + TerrainTypes: Water + RenderBuilding: + Image: SYRD + Valued: + Cost: 100 + +SPEF: + Inherits: ^FakeBuilding + TargetableBuilding: + TargetTypes: Ground, Water + Buildable: + BuildPaletteOrder: 910 + Queue: Defense + Prerequisites: ~disabled + Tooltip: + Icon: fake-icon + Name: Fake Sub Pen + Description: Looks like a Sub Pen. + GenericName: Sub Pen + GenericVisibility: Enemy + GenericStancePrefix: False + Building: + Footprint: xxx xxx xxx + Dimensions: 3,3 + Adjacent: 8 + TerrainTypes: Water + RenderBuilding: + Image: SPEN + Valued: + Cost: 100 + +DOMF: + Inherits: ^FakeBuilding + Tooltip: + Icon: fake-icon + Name: Fake Radar Dome + Description: Looks like a Radar Dome. + GenericName: Radar Dome + GenericVisibility: Enemy + GenericStancePrefix: False + Buildable: + BuildPaletteOrder: 930 + Queue: Defense + Prerequisites: ~structures.alliesvanilla, ~techlevel.medium + Building: + Footprint: xx xx + Dimensions: 2,2 + Bib: + RenderBuilding: + Image: DOME + Valued: + Cost: 180 + +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 + Valued: + Cost: 150 + +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 + Valued: + Cost: 150 + +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 + Valued: + Cost: 250 \ No newline at end of file diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index e4b288a873..77139683f9 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1451,163 +1451,6 @@ FIX: Power: Amount: -30 -FACF: - Inherits: ^Building - Valued: - Cost: 200 - Buildable: - BuildPaletteOrder: 940 - Queue: Defense - Prerequisites: ~structures.alliesvanilla, ~techlevel.medium - Tooltip: - Icon: fake-icon - Name: Fake Construction Yard - Description: Looks like a Construction Yard. - GenericName: Construction Yard - GenericVisibility: Enemy - GenericStancePrefix: False - 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 - Buildable: - BuildPaletteOrder: 920 - Prerequisites: ~structures.alliesvanilla, ~techlevel.medium - Queue: Defense - Tooltip: - Icon: fake-icon - Name: Fake War Factory - Description: Looks like a War Factory. - GenericName: War Factory - GenericVisibility: Enemy - GenericStancePrefix: False - 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 - Buildable: - BuildPaletteOrder: 900 - Queue: Defense - Prerequisites: ~structures.alliesvanilla, ~techlevel.medium - Tooltip: - Icon: fake-icon - Name: Fake Shipyard - Description: Looks like a Shipyard. - GenericName: Shipyard - GenericVisibility: Enemy - GenericStancePrefix: False - TargetableBuilding: - TargetTypes: Ground, Water - Building: - Footprint: xxx xxx xxx - 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 - TargetableBuilding: - TargetTypes: Ground, Water - Buildable: - BuildPaletteOrder: 910 - Queue: Defense - Prerequisites: ~disabled - Tooltip: - Icon: fake-icon - Name: Fake Sub Pen - Description: Looks like a Sub Pen. - GenericName: Sub Pen - GenericVisibility: Enemy - GenericStancePrefix: False - Building: - Footprint: xxx xxx xxx - 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 - Tooltip: - Icon: fake-icon - Name: Fake Radar Dome - Description: Looks like a Radar Dome. - GenericName: Radar Dome - GenericVisibility: Enemy - GenericStancePrefix: False - Buildable: - BuildPaletteOrder: 930 - Queue: Defense - Prerequisites: ~structures.alliesvanilla, ~techlevel.medium - Building: - Footprint: xx xx - Dimensions: 2,2 - -GivesBuildableArea: - Health: - HP: 100 - RevealsShroud: - Range: 4c0 - Bib: - RenderBuilding: - Image: DOME - Fake: - -EmitInfantryOnSell: - -MustBeDestroyed: - SBAG: Inherits: ^Wall Buildable: 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: