Skip to content

Commit

Permalink
add new MapPreview trait to actors
Browse files Browse the repository at this point in the history
  • Loading branch information
SoScared committed Nov 15, 2018
1 parent d529924 commit d01630b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mods/ura/rules/civilian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ BIO:
GpsDot:
String: Biohazard
ProvidesPrerequisite@buildingname:
AppearsOnMapPreview:

HOSP:
Inherits: ^TechBuilding
Expand Down Expand Up @@ -155,6 +156,7 @@ HOSP:
DeathSequence: dead
UseDeathTypeSuffix: false
ProvidesPrerequisite@buildingname:
AppearsOnMapPreview:

MISS:
Inherits: ^TechBuilding
Expand Down Expand Up @@ -219,6 +221,7 @@ MISS:
DeathSequence: dead
UseDeathTypeSuffix: false
ProvidesPrerequisite@buildingname:
AppearsOnMapPreview:

FCOM:
Inherits: ^TechBuilding
Expand Down Expand Up @@ -285,6 +288,7 @@ FCOM:
OwnerLostAction:
Action: ChangeOwner
ProvidesPrerequisite@buildingname:
AppearsOnMapPreview:

OILB:
Inherits: ^TechBuilding
Expand Down Expand Up @@ -329,6 +333,7 @@ OILB:
EngineerRepairable:
OwnerLostAction:
Action: ChangeOwner
AppearsOnMapPreview:

# Decoration structures

Expand Down Expand Up @@ -775,6 +780,8 @@ BARL:
-SoundOnDamageTransition:
MapEditorData:
Categories: Decoration
AppearsOnMapPreview:
Terrain: Tree

BRL3:
Inherits: ^TechBuilding
Expand All @@ -799,6 +806,8 @@ BRL3:
-SoundOnDamageTransition:
MapEditorData:
Categories: Decoration
AppearsOnMapPreview:
Terrain: Tree

AMMOBOX1:
Inherits: ^AmmoBox
Expand Down
5 changes: 5 additions & 0 deletions mods/ura/rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@
IsPlayerPalette: True
WithMakeAnimation:
Condition: build-incomplete
AppearsOnMapPreview:

^ScienceBuilding:
Inherits: ^Building
Expand Down Expand Up @@ -1017,6 +1018,8 @@
WithWallSpriteBody:
MapEditorData:
Categories: Wall
AppearsOnMapPreview:
Terrain: Tree

^FakeBuilding:
Inherits: ^Building
Expand Down Expand Up @@ -1177,6 +1180,8 @@
MapEditorData:
ExcludeTilesets: INTERIOR
Categories: Tree
AppearsOnMapPreview:
Terrain: Tree

^Bridge:
Inherits@shape: ^1x1Shape
Expand Down
5 changes: 5 additions & 0 deletions mods/ura/rules/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ CRATE:
Range: 1c512
Duration: 750
TimeDelay: 9000
AppearsOnRadar:

MONEYCRATE:
Inherits: ^Crate
Expand Down Expand Up @@ -374,6 +375,8 @@ MINE:
SeedsResource:
MapEditorData:
Categories: Resource spawn
AppearsOnMapPreview:
Terrain: Ore

GMINE:
Inherits@1: ^SpriteActor
Expand All @@ -394,6 +397,8 @@ GMINE:
ResourceType: Gems
MapEditorData:
Categories: Resource spawn
AppearsOnMapPreview:
Terrain: Gems

RAILMINE:
Inherits@1: ^SpriteActor
Expand Down

0 comments on commit d01630b

Please sign in to comment.