Replace repair indicator effect with a Decoration subclass.
This commit is contained in:
@@ -697,6 +697,12 @@
|
||||
Capturable:
|
||||
CaptureThreshold: 55
|
||||
WithMakeAnimation:
|
||||
WithBuildingRepairDecoration:
|
||||
Image: allyrepair
|
||||
Sequence: repair
|
||||
ReferencePoint: Center
|
||||
Palette: player
|
||||
IsPlayerPalette: True
|
||||
|
||||
^CivBuilding:
|
||||
Inherits: ^Building
|
||||
@@ -744,6 +750,12 @@
|
||||
ShowOwnerRow: True
|
||||
EditorTilesetFilter:
|
||||
Categories: Tech building
|
||||
WithBuildingRepairDecoration:
|
||||
Image: allyrepair
|
||||
Sequence: repair
|
||||
ReferencePoint: Center
|
||||
Palette: player
|
||||
IsPlayerPalette: True
|
||||
|
||||
^CivField:
|
||||
Inherits: ^CivBuilding
|
||||
|
||||
@@ -147,3 +147,4 @@ sietch:
|
||||
ProvidesPrerequisite@buildingname:
|
||||
-WithMakeAnimation:
|
||||
-WithCrumbleOverlay:
|
||||
-WithBuildingRepairDecoration:
|
||||
|
||||
@@ -430,6 +430,12 @@
|
||||
EditorTilesetFilter:
|
||||
Categories: Building
|
||||
CommandBarBlacklist:
|
||||
WithBuildingRepairDecoration:
|
||||
Image: allyrepair
|
||||
Sequence: repair
|
||||
ReferencePoint: Center
|
||||
Palette: player
|
||||
IsPlayerPalette: True
|
||||
|
||||
^Defense:
|
||||
Inherits: ^Building
|
||||
|
||||
@@ -90,6 +90,7 @@ AFLD:
|
||||
|
||||
GUN:
|
||||
-RepairableBuilding:
|
||||
-WithBuildingRepairDecoration:
|
||||
|
||||
HARV:
|
||||
Harvester:
|
||||
|
||||
@@ -622,6 +622,12 @@
|
||||
String: Structure
|
||||
Sellable:
|
||||
SellSounds: cashturn.aud
|
||||
WithBuildingRepairDecoration:
|
||||
Image: allyrepair
|
||||
Sequence: repair
|
||||
ReferencePoint: Center
|
||||
Palette: player
|
||||
IsPlayerPalette: True
|
||||
|
||||
^ScienceBuilding:
|
||||
Inherits: ^Building
|
||||
|
||||
@@ -344,7 +344,6 @@
|
||||
Capturable:
|
||||
RepairableBuilding:
|
||||
RepairStep: 700
|
||||
IndicatorPalette: mouse
|
||||
PlayerExperience: 25
|
||||
WithDeathAnimation:
|
||||
DeathSequence: dead
|
||||
@@ -365,6 +364,11 @@
|
||||
Pieces: 3, 5
|
||||
ThrowsShrapnel@LARGE:
|
||||
Pieces: 2, 3
|
||||
WithBuildingRepairDecoration:
|
||||
Image: allyrepair
|
||||
Sequence: repair
|
||||
ReferencePoint: Center
|
||||
Palette: mouse
|
||||
|
||||
^CivBuilding:
|
||||
Inherits: ^BasicBuilding
|
||||
|
||||
Reference in New Issue
Block a user