Use an editable string picker for job boards when editing quests or dialogue nodes

This commit is contained in:
2025-03-02 19:49:45 -05:00
committed by Celtic Minstrel
parent 6e94d23e05
commit 50637d3ddd
10 changed files with 49 additions and 6 deletions

View File

@@ -24,7 +24,9 @@
<led name='start' wrap='true' top='246' left='345'>Player is given quest when scenario starts</led>
<led name='inbank' top='285' left='345'>Include in a job bank:</led>
<field name='bank1' top='306' left='359' width='110' height='16'/>
<button name='choose-bank1' type='regular' anchor='bank1' relative='pos pos-in' top='-4' left='8'>Choose</button>
<field name='bank2' top='332' left='359' width='110' height='16'/>
<button name='choose-bank2' type='regular' anchor='bank2' relative='pos pos-in' top='-4' left='8'>Choose</button>
<button name='left' type='left' def-key='left' top='358' left='50'/>
<button name='right' type='right' def-key='right' top='358' left='115'/>
<button name='cancel' type='regular' def-key='esc' top='358' left='322'>Cancel</button>

View File

@@ -314,6 +314,7 @@ attribute specifies which sound it applies to.
* `<event>` - (max unbounded) Gives a name to a major event flag. These names are shown (and editable) when showing the Pick Event dialog in various places. The required `id` attribute specifies which event.
* `<item-class>` - (max unbounded) Gives a name to an item special class. These names are shown (and editable) when showing the Pick Item Class dialog in various places. The required `id` attribute specifies which class.
* `<item-typeflag>` - (max unbounded) Gives a name to an item type flag. These names are shown (and editable) when showing the Pick Item Type Flag dialog in the item editor. The required `id` attribute specifies which flag.
* `<job-board>` - (max unbounded) Gives a name to a job board. These names are shown (and editable) when showing the Pick Job Board dialog in the item editor. The required `id` attribute specifies which board.
* `<sdf>` - (max unbounded) Gives a name to a Stuff Done Flag. These names are shown (and editable) when showing the Pick Stuff Done Flag dialog in the item editor. The required `row` and `col` attributes specify which flag.
Terrain Types

View File

@@ -391,6 +391,15 @@
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="job-board" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" use="required" type="xs:integer"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="sdf" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>