Convert the last two core scenario dialogs

- Edit special encounter dialog now expects a parent and returns false if the user cancelled.
This commit is contained in:
2014-12-16 21:47:07 -05:00
parent 2ef6d01ec7
commit 045e49543c
6 changed files with 172 additions and 123 deletions

View File

@@ -0,0 +1,24 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog skin='light' defbtn='okay' debug='true'>
<!-- OK button -->
<field name='town-num' top='77' left='181' width='43' height='16'/>
<field name='town-x' top='104' left='181' width='43' height='16'/>
<field name='town-y' top='104' left='280' width='43' height='16'/>
<button name='okay' type='regular' top='185' left='359'>OK</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text top='25' left='50' width='371' height='41'>
Enter the town the party will start the scenario in.
Also enter the x-y location in the town to place the party at.
Dont forget to place that town somewhere in your scenario.
</text>
<text size='large' top='6' left='50' width='256' height='17'>Starting Location</text>
<text top='105' left='50' width='120' height='14'>Start location: X =</text>
<text top='105' left='232' width='39' height='14'>Y =</text>
<button name='cancel' type='regular' top='185' left='293'>Cancel</button>
<text top='129' left='51' width='372' height='55'>
NOTE: You also need to set the starting location outdoors.
This is where the party ends up when they leave town for the first time.
To set this, use the Set Starting Location option in the outdoors menu.
</text>
</dialog>