Editing town entrance, allow Create/Edit

This commit is contained in:
2025-05-28 11:28:21 -05:00
parent b99e49da45
commit 75944686b3
5 changed files with 45 additions and 13 deletions

View File

@@ -7,7 +7,7 @@
<button name='okay' type='regular' top='181' left='278'>OK</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='175' height='17'>Importing a town</text>
<text name='prompt' top='143' left='50' width='162' height='27'>What town do you wish to import?</text>
<text name='prompt' top='143' left='50' width='162' height='27'>What town do you wish to import? (0 - {{max-num}})</text>
<text top='27' left='50' width='301' height='54'>
Enter a town number and hit OK, and you will be asked to select a scenario file.
The town with that number in the selected scenario will then be loaded in over the current town.

View File

@@ -9,7 +9,7 @@
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='167' height='17'>Pick Town to Edit:</text>
<text name='prompt' top='25' left='50' width='185' height='28'>
Enter the number of the town you want to edit next:
Enter the number of the town you want to edit next: (0 - {{max-num}})
</text>
<button name='choose' type='regular' top='56' left='169'>Choose</button>
</dialog>

View File

@@ -2,14 +2,16 @@
<!-- 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'>
<!-- OK button -->
<field type='uint' name='town' top='71' left='119' width='62' height='16'/>
<button name='okay' type='regular' top='95' left='206'>OK</button>
<button name='cancel' type='regular' top='95' left='140'>Cancel</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='207' height='17'>Entrance to what town?</text>
<text name='prompt' top='25' left='50' width='213' height='42'>
What town do you want the party to end up in when they walk into this space?
What town do you want the party to end up in when they walk into this space? (0 - {{max-num}} for existing, {{next-num}} for new.)
</text>
<field type='uint' name='town' top='71' left='119' width='62' height='16'/>
<button name='choose' type='regular' top='69' left='186'>Choose</button>
<button name='cancel' type='regular' top='95' left='5'>Cancel</button>
<button name='edit' type='large' top='95' left='100'>Create/Edit</button>
<button name='okay' type='regular' top='95' left='206'>OK</button>
</dialog>