Convert more dialogs related to town settings

This commit is contained in:
2014-12-19 16:29:15 -05:00
parent 728c294d0e
commit e88eb9b949
5 changed files with 323 additions and 201 deletions

View File

@@ -0,0 +1,61 @@
<?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='142' left='405' width='67' height='16'/>
<field name='onenterdead' top='170' 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='367' left='452'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='367' 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 its still alive, and/or when its 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>
<text top='143' left='259' width='137' height='15'>Still alive</text>
<text top='170' left='259' width='137' height='15'>Been abandoned</text>
<text top='77' left='250' width='49' height='15'>Top</text>
<text top='105' left='251' width='49' height='15'>Left</text>
<text top='77' left='381' width='53' height='15'>Bottom</text>
<text top='105' left='382' width='49' height='15'>Right</text>
<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='207' left='331' width='35' height='15'>X</text>
<text top='207' left='379' width='40' height='15'>Y</text>
<!--
TODO: Move this LED label into the LED element.
-->
<text top='336' left='50' width='320' height='27'>
Town hidden?
(This town cannot be seen until its made visible with a special encounter.)
</text>
<led name='hidden' top='342' left='373'/>
</dialog>

View File

@@ -0,0 +1,39 @@
<?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='name' top='29' left='186' width='151' height='16'/>
<field name='chop' top='77' left='327' width='43' height='16'/>
<field name='key' top='101' left='327' width='43' height='16'/>
<field name='population' top='219' left='294' width='54' height='16'/>
<field name='difficulty' top='265' left='294' width='54' height='16'/>
<button name='okay' type='regular' top='317' left='309'>OK</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='256' height='17'>Town Details</text>
<text top='30' left='50' width='130' height='14'>Town name:</text>
<text top='58' left='50' width='130' height='14'>Town timing:</text>
<text top='78' left='59' width='242' height='14'>Day when town dies: (if -1, it doesn't)</text>
<text top='98' left='59' width='261' height='41'>Number of event which prevents town death (if -1 or 0, none) - see chapter in documentation on time for more details.</text>
<text top='143' left='50' width='63' height='14'>Lighting:</text>
<!--
TODO: Put these LED labels in the LED elementes
-->
<text top='143' left='122' width='164' height='14'>Fully Lit</text>
<text top='160' left='122' width='164' height='14'>Dark</text>
<text top='177' left='122' width='204' height='14'>Very dark (light used 10x as fast</text>
<text top='194' left='122' width='164' height='14'>Totally dark (no light)</text>
<group name='lighting'>
<led name='lit' top='143' left='329'/>
<led name='dark' top='160' left='329'/>
<led name='drains' top='177' left='329'/>
<led name='no-light' top='194' left='329'/>
</group>
<text top='216' left='50' width='234' height='42'>
Maximum number of monsters:
(When this many monsters are killed, the dungeon will be abandoned)
</text>
<text top='262' left='50' width='235' height='53'>
Town difficulty (0-10):
(Determines how fast wandering monsters appear, how nasty traps are, and how hard it is to unlock doors.)
</text>
</dialog>

View File

@@ -0,0 +1,43 @@
<?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='time1' top='122' left='146' width='67' height='16'/>
<field name='time2' top='150' left='146' width='67' height='16'/>
<field name='time3' top='178' left='146' width='67' height='16'/>
<field name='time4' top='206' left='146' width='67' height='16'/>
<field name='time5' top='234' left='146' width='67' height='16'/>
<field name='time6' top='262' left='146' width='67' height='16'/>
<field name='time7' top='290' left='146' width='67' height='16'/>
<field name='time8' top='318' left='146' width='67' height='16'/>
<field name='spec1' top='122' left='270' width='39' height='16'/>
<field name='spec2' top='150' left='270' width='39' height='16'/>
<field name='spec3' top='178' left='270' width='39' height='16'/>
<field name='spec4' top='206' left='270' width='39' height='16'/>
<field name='spec5' top='234' left='270' width='39' height='16'/>
<field name='spec6' top='262' left='270' width='39' height='16'/>
<field name='spec7' top='290' left='270' width='39' height='16'/>
<field name='spec8' top='318' left='270' width='39' height='16'/>
<button name='okay' type='regular' top='317' left='431'>OK</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='256' height='17'>Town event timers</text>
<text top='25' left='50' width='439' height='40'>
At certain time intervals, you can have a town special node be called.
Enter below the number of moves between each calling of the special node, and the number of the node to call.
</text>
<text top='68' left='50' width='439' height='14'>For more information on how this works, see the documentation.</text>
<text top='88' left='123' width='120' height='28'>Number of moves between each call.</text>
<text top='88' left='244' width='118' height='25'>Town special node to call.</text>
<text top='216' left='4' width='106' height='120'>
Note: If you leave the time between calls at 0, no special node is called.
Dont have special nodes called too often ... it slows the game down.
</text>
<button name='edit1' type='large' top='119' left='325'>Create/Edit</button>
<button name='edit2' type='large' top='147' left='325'>Create/Edit</button>
<button name='edit3' type='large' top='174' left='325'>Create/Edit</button>
<button name='edit4' type='large' top='203' left='325'>Create/Edit</button>
<button name='edit5' type='large' top='231' left='325'>Create/Edit</button>
<button name='edit6' type='large' top='258' left='325'>Create/Edit</button>
<button name='edit7' type='large' top='287' left='325'>Create/Edit</button>
<button name='edit8' type='large' top='315' left='325'>Create/Edit</button>
</dialog>

View File

@@ -0,0 +1,45 @@
<?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='group1-monst1' top='137' left='174' width='39' height='16'/>
<field name='group1-monst2' top='165' left='174' width='39' height='16'/>
<field name='group1-monst3' top='193' left='174' width='39' height='16'/>
<field name='group1-monst4' top='221' left='174' width='39' height='16'/>
<field name='group2-monst1' top='137' left='239' width='39' height='16'/>
<field name='group2-monst2' top='165' left='239' width='39' height='16'/>
<field name='group2-monst3' top='193' left='239' width='39' height='16'/>
<field name='group2-monst4' top='221' left='239' width='39' height='16'/>
<field name='group3-monst1' top='137' left='304' width='39' height='16'/>
<field name='group3-monst2' top='165' left='304' width='39' height='16'/>
<field name='group3-monst3' top='193' left='304' width='39' height='16'/>
<field name='group3-monst4' top='221' left='304' width='39' height='16'/>
<field name='group4-monst1' top='137' left='369' width='39' height='16'/>
<field name='group4-monst2' top='165' left='369' width='39' height='16'/>
<field name='group4-monst3' top='193' left='369' width='39' height='16'/>
<field name='group4-monst4' top='221' left='369' width='39' height='16'/>
<button name='okay' type='regular' top='243' left='436'>OK</button>
<text top='6' left='50' width='256' height='17'>Town wandering monsters</text>
<text top='25' left='50' width='439' height='40'>
Wandering monsters in towns appear in groups of up to 5.
Enter the numbers of the wandering monsters in each group type,
or press the Choose button to select the appearing monsters from a list.
</text>
<text top='68' left='50' width='437' height='40'>
A group of wandering monsters contains one each of the first three monsters, and 1 or 2 of the fourth.
Leave a field at 0 for no monster to appear.
</text>
<text top='115' left='166' width='58' height='14'>Group 1</text>
<pict type='dlog' num='16' top='8' left='8'/>
<text top='115' left='231' width='58' height='14'>Group 2</text>
<text top='115' left='294' width='58' height='14'>Group 3</text>
<text top='115' left='357' width='58' height='14'>Group 4</text>
<button name='choose1' type='regular' top='243' left='162'>Choose</button>
<button name='choose2' type='regular' top='243' left='227'>Choose</button>
<button name='choose3' type='regular' top='243' left='292'>Choose</button>
<button name='choose4' type='regular' top='243' left='357'>Choose</button>
<text top='138' left='8' width='150' height='14'>Monster 1 (1 appears)</text>
<text top='166' left='8' width='150' height='14'>Monster 2 (1 appears)</text>
<text top='194' left='8' width='150' height='14'>Monster 3 (1 appears)</text>
<text top='222' left='8' width='150' height='14'>Monster 4 (1-2 appears)</text>
</dialog>