]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
added gif support
authorClyne Sullivan <tullivan99@gmail.com>
Sat, 29 Jul 2017 22:28:40 +0000 (18:28 -0400)
committerClyne Sullivan <tullivan99@gmail.com>
Sat, 29 Jul 2017 22:38:00 +0000 (18:38 -0400)
xml/!town.xml

index 28d3a9b751356c02dc7ca223aa34c2dd80b2cb46..c2a7cd25ea16ba67c6c1c55a2f53ff0207cf87d0 100644 (file)
                <layer path="bg/dirt.png"/>
                <layer path="bg/grass.png"/>
        </style>
-    <generation width="320"/>
+       <generation width="320"/>
        <weather>Sunny</weather>
-    <link right="!town2.xml"/>
-    <spawnx>-300</spawnx>
+       <link right="!town2.xml"/>
+       <spawnx>-300</spawnx>
        <time>8000</time>
-    <npc name="Sanc" hasDialog="true"/>
-    <npc name="Bob" hasDialog="true" position="50.0,100.0"/>
-    <structure type="1" position="300.0,100.0"/>
-    <structure inside="bobshouse.xml" type="1" position="10.0,100.0"/>
+       <npc name="Sanc" hasDialog="true"/>
+       <npc name="Bob" hasDialog="true" position="50.0,100.0"/>
+       <structure type="1" position="300.0,100.0"/>
+       <structure inside="bobshouse.xml" type="1" position="10.0,100.0"/>
        <skirl />
 </World>
 
 <Dialog name="Bob">
-    <text id="0" nextid="1">
-           <give name="Hunters Bow" count="1"/>
-           <give name="Arrow" count="50"/>
+       <text id="0" nextid="1">
+               <give name="Hunters Bow" count="1"/>
+               <give name="Arrow" count="50"/>
                <option name="Yes" />
-        <content>
+               <content>
                        Hey there! The name's Bob. Good to see you've finally woken up from your nap by the cliff there... lol
                </content>
-    </text>
-    <text id="1" pause="true" nextid="2">
-        <quest assign="Check out m&apos;swag, man!" desc="Go inside Bob&apos;s house and check out the stuff he has.">
+       </text>
+       <text id="1" pause="true" nextid="2">
+               <quest assign="Check out m&apos;swag, man!" desc="Go inside Bob&apos;s house and check out the stuff he has.">
                        Debug, 5,
                        Reward,
                        Dank MayMay, 50
                </quest>
-        <content>
+               <content>
                        Looks like you've got yourself pretty empty handed... you know, I have a simple solution for that. Come on inside, I have somethin' to show you.
                </content>
-    </text>
+       </text>
        <text id="2">
                <quest check="Check out m&apos;swag, man!" />
                <content>Hooray!</content>