From: Hendrik <nh...@us...> - 2006-08-03 19:52:22
|
Update of /cvsroot/arianne/stendhal/data/conf In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28788/data/conf Modified Files: quests.xml Added Files: quests.xsd Log Message: initial checkin of quests.xsd an small changes to quests.xml to be complined to it. --- NEW FILE: quests.xsd --- <?xml version="1.0" encoding="ISO-8859-1"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://arianne.sf.net/stendhal/schema/quests" targetNamespace="http://arianne.sf.net/stendhal/schema/quests"> <xsd:element name="quests" type="Quests"/> <xsd:element name="quest" type="Quest"/> <xsd:complexType name="Quests"> <xsd:sequence> <xsd:element name="quest" type="Quest" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="Quest"> <xsd:sequence> <xsd:element name="title" type="xsd:string" minOccurs="1"/> <xsd:element name="repeatable" type="xsd:boolean" minOccurs="1"/> <xsd:element name="description" type="xsd:string" minOccurs="1"/> <xsd:element name="gm-description" type="xsd:string" minOccurs="1"/> <xsd:element name="history" type="History" minOccurs="0"/> <xsd:element name="hints" type="Hints" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="name" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="History"> <xsd:sequence> <xsd:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> <xsd:complexType name="Hints"> <xsd:sequence> <xsd:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> <xsd:complexType name="Item"> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="name" type="xsd:string" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:schema> Index: quests.xml =================================================================== RCS file: /cvsroot/arianne/stendhal/data/conf/quests.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** quests.xml 3 Aug 2006 19:24:12 -0000 1.1 --- quests.xml 3 Aug 2006 19:52:18 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- <?xml version="1.0" encoding="ISO-8859-1"?> + + <!-- quests.xml *************** *** 9,17 **** --> ! <quests> <quest name="ArmorForDagobert"> <title>Armor For Dagobert</title> <description> Dagobert, the consultant at the bank of Semos, asks you to --- 11,22 ---- --> ! <quests xmlns="http://arianne.sf.net/stendhal/schema/quests" ! xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ! xsi:schemaLocation="http://arianne.sf.net/stendhal/schema/quests quests.xsd"> <quest name="ArmorForDagobert"> <title>Armor For Dagobert</title> + <repeatable>true</repeatable> <description> Dagobert, the consultant at the bank of Semos, asks you to *************** *** 37,44 **** </gm-description> <history> ! <event name="x">I have met Dagobert.</event> </history> <hints> ! <hint name="x">A leather_cuirass is the traditional cyclops armor. Some cyclopes are living in the dungeon deep under the city.</hint> </hints> </quest> --- 42,49 ---- </gm-description> <history> ! <item name="x">I have met Dagobert.</item> </history> <hints> ! <item name="x">A leather_cuirass is the traditional cyclops armor. Some cyclopes are living in the dungeon deep under the city.</item> </hints> </quest> |