XML Docs - austinread/wordworlds Wiki

Player.xml

<Player
    Name="Bilbo Baggins"
/>

Game.xml

<Game
    Name="The Hobbit 2: The Search for More Dragon Gold"
    Start="Bag End"
/>

AnyGivenZone.xml

Zone

<Zone Name="Bag End" 
Start="Foyer">
    <Rooms>
        <Room...
    </Rooms>
</Zone>

Room

<Room Name="Foyer"
Description="What a lovely place it is"
Discovered="true">
    <Neighbors>
        <Neighbor Direction="North" Name="Sitting Room"/>
    </Neighbors>
    <Items><!-- optional -->
        <Item Name="Handkerchief"/>
    </Items>
    <NPCs><!-- optional -->
        <NPC Name="Gandalf"/>
    </NPCs>
</Room>

Items/AnyGivenItem.xml

Item

<Item
    Name="Handkerchief"
    Description="Never leave home without it!"
    Takeable="True"<!--defaults to false-->
/>

NPCs/AnyGivenNPC.xml

NPC

<NPC
    Name="Gandalf"
    Description="A good and loyal friend.  Never late."
/>
⚠️ **GitHub.com Fallback** ⚠️