Files
oboe/rsrc/dialogs/edit-town-advanced.xml
Celtic Minstrel 41fbd73ef9 Get the scenario, town, and outdoor details dialogs updated for new stuff
- Advanced town details now offers edit buttons to edit the specials immediately

Changes to dialog engine:
- Fix tiny buttons stretching to fill label area
- Fix LEDs stretching if label area is higher than LED button
- Fix LEDs ignoring font setting
2015-01-21 15:59:09 -05:00

63 lines
4.0 KiB
XML

<?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='onexit1' top='77' left='308' width='67' height='16'/>
<field name='onexit2' top='105' left='308' width='67' height='16'/>
<field name='onexit3' top='77' left='440' width='67' height='16'/>
<field name='onexit4' top='105' left='440' width='67' height='16'/>
<field name='onenter' top='134' left='405' width='67' height='16'/>
<field name='onenterdead' top='162' left='405' width='67' height='16'/>
<field name='onhostile' top='190' left='405' width='67' height='16'/>
<field name='exit1-x' top='231' left='323' width='39' height='16'/>
<field name='exit1-y' top='231' left='371' width='39' height='16'/>
<field name='exit2-x' top='258' left='323' width='39' height='16'/>
<field name='exit2-y' top='258' left='371' width='39' height='16'/>
<field name='exit3-x' top='285' left='323' width='39' height='16'/>
<field name='exit3-y' top='285' left='371' width='39' height='16'/>
<field name='exit4-x' top='312' left='323' width='39' height='16'/>
<field name='exit4-y' top='312' left='371' width='39' height='16'/>
<button name='okay' type='regular' top='380' left='452'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='380' left='386'>Cancel</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='256' height='17'>Advanced town details</text>
<text top='25' left='50' width='439' height='40'>
You can use this window to edit some of the more esoteric details for each town,
such as specials called when entering or leaving town.
All of these options are decribed in the documentation chapter on town editing.
</text>
<text top='207' left='50' width='197' height='64'>
Exit town location:
(these are the locations the party ends up at outdoors if they leave in the given direction.
Leave at -1 for the regular location to be used.)
</text>
<text top='134' left='50' width='202' height='66'>
Town entry special node:
(Enter the number of the town special node to call if the party enters the town when it's still alive, and/or when it's been abandoned.)
</text>
<text top='68' left='50' width='197' height='64'>
Exit town specials:
(These are the numbers of the town special nodes to call when the party tries to leave town in the given direction.)
</text>
<button name='edit-onenter' type='tiny' top='135' left='259' width='120' height='15'>Still alive</button>
<button name='edit-onenterdead' type='tiny' top='162' left='259' width='120' height='15'>Been abandoned</button>
<button name='edit-onhostile' type='tiny' top='189' left='259' width='120' height='15'>When Goes Hostile</button>
<button name='edit-onexit1' type='tiny' top='81' left='251' width='49' height='15'>Top</button>
<button name='edit-onexit2' type='tiny' top='109' left='251' width='49' height='15'>Left</button>
<button name='edit-onexit3' type='tiny' top='81' left='382' width='53' height='15'>Bottom</button>
<button name='edit-onexit4' type='tiny' top='109' left='382' width='49' height='15'>Right</button>
<text top='232' left='257' width='49' height='15'>Top</text>
<text top='259' left='258' width='49' height='15'>Left</text>
<text top='285' left='258' width='53' height='15'>Bottom</text>
<text top='313' left='259' width='49' height='15'>Right</text>
<text top='212' left='331' width='35' height='15'>X</text>
<text top='212' left='379' width='40' height='15'>Y</text>
<text top='319' left='50' width='100' height='16'>Town Properties:</text>
<led name='hidden' font='plain' top='336' left='50' width='450'>
Town hidden?
(This town cannot be seen until it's made visible with a special encounter.)
</led>
<led name='nomap' font='plain' top='353' left='50' width='200'>No automap in this town</led>
<led name='noscry' font='plain' top='370' left='50' width='200'>Defy scrying (Magic Map doesn't work)</led>
<led name='barrier' font='plain' top='387' left='50' width='220'>Magical barriers are stronger in this town</led>
</dialog>