town wandering encounter dlog: 4 pick buttons, loc picker

Fix #686
This commit is contained in:
2025-06-14 13:01:20 -05:00
parent 534dc682be
commit 2d26fa7bb3
4 changed files with 43 additions and 32 deletions

View File

@@ -2,29 +2,34 @@
<!-- NOTE: This file should be updated to use relative positioning the next time it changes. -->
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='okay' escbtn='cancel'>
<field name='group1-monst1' type='uint' top='137' left='174' width='39' height='16'/>
<field name='group1-monst2' type='uint' top='165' left='174' width='39' height='16'/>
<field name='group1-monst3' type='uint' top='193' left='174' width='39' height='16'/>
<field name='group1-monst4' type='uint' top='221' left='174' width='39' height='16'/>
<field name='group2-monst1' type='uint' top='137' left='239' width='39' height='16'/>
<field name='group2-monst2' type='uint' top='165' left='239' width='39' height='16'/>
<field name='group2-monst3' type='uint' top='193' left='239' width='39' height='16'/>
<field name='group2-monst4' type='uint' top='221' left='239' width='39' height='16'/>
<field name='group3-monst1' type='uint' top='137' left='304' width='39' height='16'/>
<field name='group3-monst2' type='uint' top='165' left='304' width='39' height='16'/>
<field name='group3-monst3' type='uint' top='193' left='304' width='39' height='16'/>
<field name='group3-monst4' type='uint' top='221' left='304' width='39' height='16'/>
<field name='group4-monst1' type='uint' top='137' left='369' width='39' height='16'/>
<field name='group4-monst2' type='uint' top='165' left='369' width='39' height='16'/>
<field name='group4-monst3' type='uint' top='193' left='369' width='39' height='16'/>
<field name='group4-monst4' type='uint' top='221' left='369' width='39' height='16'/>
<field name='group1-monst1' type='uint' top='137' left='174' width='39' height='16'/><button name='pick1-monst1' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group1-monst2' type='uint' top='165' left='174' width='39' height='16'/><button name='pick1-monst2' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group1-monst3' type='uint' top='193' left='174' width='39' height='16'/><button name='pick1-monst3' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group1-monst4' type='uint' top='221' left='174' width='39' height='16'/><button name='pick1-monst4' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<text name='group1-loc' top='248' left='174' width='39' height='16'/><button name='pick1-loc' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group2-monst1' type='uint' top='137' left='239' width='39' height='16'/><button name='pick2-monst1' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group2-monst2' type='uint' top='165' left='239' width='39' height='16'/><button name='pick2-monst2' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group2-monst3' type='uint' top='193' left='239' width='39' height='16'/><button name='pick2-monst3' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group2-monst4' type='uint' top='221' left='239' width='39' height='16'/><button name='pick2-monst4' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<text name='group2-loc' top='248' left='239' width='39' height='16'/><button name='pick2-loc' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group3-monst1' type='uint' top='137' left='304' width='39' height='16'/><button name='pick3-monst1' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group3-monst2' type='uint' top='165' left='304' width='39' height='16'/><button name='pick3-monst2' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group3-monst3' type='uint' top='193' left='304' width='39' height='16'/><button name='pick3-monst3' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group3-monst4' type='uint' top='221' left='304' width='39' height='16'/><button name='pick3-monst4' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<text name='group3-loc' top='248' left='304' width='39' height='16'/><button name='pick3-loc' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group4-monst1' type='uint' top='137' left='369' width='39' height='16'/><button name='pick4-monst1' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group4-monst2' type='uint' top='165' left='369' width='39' height='16'/><button name='pick4-monst2' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group4-monst3' type='uint' top='193' left='369' width='39' height='16'/><button name='pick4-monst3' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<field name='group4-monst4' type='uint' top='221' left='369' width='39' height='16'/><button name='pick4-monst4' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<text name='group4-loc' top='248' left='369' width='39' height='16'/><button name='pick4-loc' type='tiny' relative='neg pos-in' rel-anchor='prev' top='2' left='20'></button>
<button name='okay' type='regular' top='273' left='436'>OK</button>
<button name='cancel' type='regular' relative='neg pos-in' rel-anchor='prev' top='0' left='71'>Cancel</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.
or press the small button next to each field to choose 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.
@@ -35,12 +40,9 @@
<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>
<text top='250' left='8' width='150' height='14'>Location</text>
</dialog>