Implement a quest system and job board
- The job board is loosely based on Exile III's job board; the dialog is converted from the one contained as a relic of E3 in BoE - Quest system is loosely based on a mix of Exile III jobs and Blades of Avernum quests - Talking to a monster (even a hostile one) can now trigger an arbitrary special node Dialog engine: - LED's now support wrapped labels
This commit is contained in:
@@ -129,6 +129,15 @@
|
||||
<sector-start x="20" y="20"/>
|
||||
<!-- Definitions of special items, if any -->
|
||||
<specials/>
|
||||
<!-- Define quests here -->
|
||||
<quest start-with='false'>
|
||||
<!-- Quests can have a deadline, and an event that waives the deadline -->
|
||||
<deadline relative='true' waive-if='5'>12</deadline>
|
||||
<!-- Quests can have an automatic reward -->
|
||||
<reward xp='12000' gold='250'/>
|
||||
<name>Sample Quest</name>
|
||||
<description>Your mission, if you choose to accept it, is...!!??</description>
|
||||
</quest>
|
||||
</game>
|
||||
|
||||
<editor>
|
||||
|
@@ -136,6 +136,32 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="quest" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name='deadline' minOccurs='0'>
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base='xs:integer'>
|
||||
<xs:attribute name="relative" type="bool"/>
|
||||
<xs:attribute name='waive-if' type='xs:integer'/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name='reward' minOccurs='0'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='xp' type='xs:integer'/>
|
||||
<xs:attribute name='gold' type='xs:integer'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name='bank' type='xs:integer' minOccurs='0' maxOccurs='2'/>
|
||||
<xs:element name="name" type="xs:string"/>
|
||||
<xs:element name="description" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="start-with" type="bool"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="timer" minOccurs="0" maxOccurs="20">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
|
Reference in New Issue
Block a user