Skip to content

Commit

Permalink
Add some tooltips to the test scenario's labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Müller committed Dec 13, 2014
1 parent 28bc06a commit 1bf6564
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/scenario-test.cfg
Expand Up @@ -542,6 +542,7 @@ Xu, Xu, Qxu, Qxu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Gg, Gg, Gg, Gg, Gg
[label]
x,y=20,12
text="Enhance Vision"
tooltip="Set the unit's vision to 15."
[/label]
[event]
name=moveto
Expand All @@ -564,6 +565,7 @@ Xu, Xu, Qxu, Qxu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Gg, Gg, Gg, Gg, Gg
[label]
x,y=18,7
text="Hero or not?"
tooltip="Toggle the hero status."
[/label]
[event]
name=moveto
Expand Down Expand Up @@ -596,6 +598,7 @@ Xu, Xu, Qxu, Qxu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Gg, Gg, Gg, Gg, Gg
[label]
x,y=14,10
text="Vision Test"
tooltip="Visibility Check of (8,15)"
[/label]
[event]
name=moveto
Expand Down Expand Up @@ -1505,6 +1508,9 @@ My best advancement costs $next_cost gold and I’m $experience|% there."
[label]
x,y=8,11
text="Filter Area"
tooltip="Test filtering areas
<b>filter</b> with area=test_area
<span color='#bcb088'><b>x,y=8,11</b></span>"
[/label]
[time_area]
x,y=8,11
Expand Down Expand Up @@ -2466,6 +2472,7 @@ For game purposes, the races group into factions; for example, orcs often cooper
[label]
x,y=10,9
text="Let’s fight"
tooltip="Trigger attack animation."
[/label]

[event]
Expand Down Expand Up @@ -3516,6 +3523,14 @@ Result:
[label]
x,y=23,10
text="livingness"
tooltip="<b>Tooltip for the livingness label</b>
Moving to this hex will show you:
<span color='red'><b>not_living</b> Subsums every of the following:</span>
<span color='yellow'><b>unpoisonable</b> - Some more text here.</span>
<span color='brown'><b>undrainable</b></span> - You see that markup works here.
<span color='green'><b>unplagueable</b> - And so on</span>"
[/label]
[event]
name=moveto
Expand Down

0 comments on commit 1bf6564

Please sign in to comment.