From d01630b3798bfdc50994a24ccf9fd5c7cd8d34de Mon Sep 17 00:00:00 2001 From: SoScared Date: Fri, 16 Nov 2018 00:17:11 +0100 Subject: [PATCH] add new MapPreview trait to actors --- mods/ura/rules/civilian.yaml | 9 +++++++++ mods/ura/rules/defaults.yaml | 5 +++++ mods/ura/rules/misc.yaml | 5 +++++ 3 files changed, 19 insertions(+) diff --git a/mods/ura/rules/civilian.yaml b/mods/ura/rules/civilian.yaml index a51b375..f238ba1 100644 --- a/mods/ura/rules/civilian.yaml +++ b/mods/ura/rules/civilian.yaml @@ -115,6 +115,7 @@ BIO: GpsDot: String: Biohazard ProvidesPrerequisite@buildingname: + AppearsOnMapPreview: HOSP: Inherits: ^TechBuilding @@ -155,6 +156,7 @@ HOSP: DeathSequence: dead UseDeathTypeSuffix: false ProvidesPrerequisite@buildingname: + AppearsOnMapPreview: MISS: Inherits: ^TechBuilding @@ -219,6 +221,7 @@ MISS: DeathSequence: dead UseDeathTypeSuffix: false ProvidesPrerequisite@buildingname: + AppearsOnMapPreview: FCOM: Inherits: ^TechBuilding @@ -285,6 +288,7 @@ FCOM: OwnerLostAction: Action: ChangeOwner ProvidesPrerequisite@buildingname: + AppearsOnMapPreview: OILB: Inherits: ^TechBuilding @@ -329,6 +333,7 @@ OILB: EngineerRepairable: OwnerLostAction: Action: ChangeOwner + AppearsOnMapPreview: # Decoration structures @@ -775,6 +780,8 @@ BARL: -SoundOnDamageTransition: MapEditorData: Categories: Decoration + AppearsOnMapPreview: + Terrain: Tree BRL3: Inherits: ^TechBuilding @@ -799,6 +806,8 @@ BRL3: -SoundOnDamageTransition: MapEditorData: Categories: Decoration + AppearsOnMapPreview: + Terrain: Tree AMMOBOX1: Inherits: ^AmmoBox diff --git a/mods/ura/rules/defaults.yaml b/mods/ura/rules/defaults.yaml index fa860fd..1b5cf90 100644 --- a/mods/ura/rules/defaults.yaml +++ b/mods/ura/rules/defaults.yaml @@ -950,6 +950,7 @@ IsPlayerPalette: True WithMakeAnimation: Condition: build-incomplete + AppearsOnMapPreview: ^ScienceBuilding: Inherits: ^Building @@ -1017,6 +1018,8 @@ WithWallSpriteBody: MapEditorData: Categories: Wall + AppearsOnMapPreview: + Terrain: Tree ^FakeBuilding: Inherits: ^Building @@ -1177,6 +1180,8 @@ MapEditorData: ExcludeTilesets: INTERIOR Categories: Tree + AppearsOnMapPreview: + Terrain: Tree ^Bridge: Inherits@shape: ^1x1Shape diff --git a/mods/ura/rules/misc.yaml b/mods/ura/rules/misc.yaml index 81b2495..3e33237 100644 --- a/mods/ura/rules/misc.yaml +++ b/mods/ura/rules/misc.yaml @@ -159,6 +159,7 @@ CRATE: Range: 1c512 Duration: 750 TimeDelay: 9000 + AppearsOnRadar: MONEYCRATE: Inherits: ^Crate @@ -374,6 +375,8 @@ MINE: SeedsResource: MapEditorData: Categories: Resource spawn + AppearsOnMapPreview: + Terrain: Ore GMINE: Inherits@1: ^SpriteActor @@ -394,6 +397,8 @@ GMINE: ResourceType: Gems MapEditorData: Categories: Resource spawn + AppearsOnMapPreview: + Terrain: Gems RAILMINE: Inherits@1: ^SpriteActor