Add Campaign Tooltip to D2K

This commit is contained in:
Mustafa Alperen Seki
2017-11-22 10:18:46 +03:00
committed by abcdefg30
parent 45f346c004
commit 69e9b94c5d
30 changed files with 86 additions and 27 deletions

View File

@@ -111,4 +111,4 @@ Actors:
Location: 13,13 Location: 13,13
Owner: Neutral Owner: Neutral
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -110,4 +110,4 @@ Actors:
Location: 22,20 Location: 22,20
Owner: Neutral Owner: Neutral
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -168,4 +168,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 30,28 Location: 30,28
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -138,4 +138,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 30,28 Location: 30,28
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -135,4 +135,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 39,30 Location: 39,30
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -132,4 +132,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 15,34 Location: 15,34
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -413,6 +413,6 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 56,54 Location: 56,54
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml
Sequences: sequences.yaml Sequences: sequences.yaml

View File

@@ -363,4 +363,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 49,4 Location: 49,4
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -106,4 +106,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 29,7 Location: 29,7
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -106,4 +106,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 28,2 Location: 28,2
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -162,4 +162,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 47,4 Location: 47,4
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -144,4 +144,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 23,16 Location: 23,16
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -177,4 +177,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 29,2 Location: 29,2
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -207,4 +207,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 65,45 Location: 65,45
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -379,4 +379,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 22,91 Location: 22,91
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -512,4 +512,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,29 Location: 2,29
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -709,4 +709,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,68 Location: 2,68
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -646,4 +646,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,9 Location: 2,9
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -767,4 +767,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,27 Location: 2,27
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -1038,4 +1038,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,13 Location: 2,13
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -101,4 +101,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 29,15 Location: 29,15
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -101,4 +101,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 24,2 Location: 24,2
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -152,4 +152,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 25,17 Location: 25,17
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -137,4 +137,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 9,8 Location: 9,8
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -143,4 +143,4 @@ Actors:
Owner: Harkonnen Owner: Harkonnen
Location: 4,60 Location: 4,60
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -254,4 +254,4 @@ Actors:
Owner: Neutral Owner: Neutral
Location: 2,20 Location: 2,20
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -523,4 +523,4 @@ Actors:
Owner: Smugglers Owner: Smugglers
Location: 49,19 Location: 49,19
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -0,0 +1,45 @@
^Vehicle:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false
^Tank:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false
^Infantry:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false
^Plane:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false
^Building:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false
^Husk:
Tooltip:
GenericVisibility: Enemy, Ally, Neutral
GenericStancePrefix: false
ShowOwnerRow: false
^Crate:
Tooltip:
ShowOwnerRow: false
wall:
Tooltip:
GenericVisibility: Enemy, Neutral
NeutralPrefix: Neutral
ShowOwnerRow: false

View File

@@ -164,6 +164,8 @@
^Vehicle: ^Vehicle:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Tooltip:
GenericName: Unit
Huntable: Huntable:
Mobile: Mobile:
Crushes: crate, spicebloom Crushes: crate, spicebloom
@@ -232,6 +234,8 @@
Type: light Type: light
HiddenUnderFog: HiddenUnderFog:
Type: CenterPosition Type: CenterPosition
Tooltip:
GenericName: Destroyed Unit
ScriptTriggers: ScriptTriggers:
WithFacingSpriteBody: WithFacingSpriteBody:
HitShape: HitShape:
@@ -256,6 +260,8 @@
^AircraftHusk: ^AircraftHusk:
Inherits: ^Husk Inherits: ^Husk
Tooltip:
GenericName: Unit
WithShadow: WithShadow:
FallsToEarth: FallsToEarth:
Spins: False Spins: False
@@ -266,6 +272,8 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor Inherits@3: ^SpriteActor
Tooltip:
GenericName: Unit
Huntable: Huntable:
Health: Health:
Armor: Armor:
@@ -343,6 +351,8 @@
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Interactable: Interactable:
Tooltip:
GenericName: Unit
Huntable: Huntable:
AppearsOnRadar: AppearsOnRadar:
UseLocation: true UseLocation: true
@@ -361,6 +371,8 @@
^Building: ^Building:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor Inherits@2: ^SpriteActor
Tooltip:
GenericName: Structure
Huntable: Huntable:
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:

View File

@@ -13,6 +13,7 @@
TerrainTypes: Rock TerrainTypes: Rock
Tooltip: Tooltip:
Name: Concrete Name: Concrete
GenericName: Structure
RenderSprites: RenderSprites:
KillsSelf: KillsSelf:
RemoveInstead: true RemoveInstead: true
@@ -698,6 +699,7 @@ wall:
Value: 0 Value: 0
Tooltip: Tooltip:
Name: Concrete Wall Name: Concrete Wall
GenericName: Structure
AppearsOnRadar: AppearsOnRadar:
Building: Building:
BuildSounds: CHUNG.WAV BuildSounds: CHUNG.WAV