summaryrefslogtreecommitdiff
path: root/maps/002-4.tmx
blob: 6d834da496648e3902dd81c80428908e6b1494ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="128" height="128" tilewidth="32" tileheight="32">
 <properties>
  <property name="minimap" value="graphics/minimaps/002-4.png"/>
  <property name="music" value="finalman_and_yakslem-cavesong.ogg"/>
  <property name="name" value="Desert mines"/>
 </properties>
 <tileset name="cave" firstgid="1" tilewidth="32" tileheight="32">
  <image source="../graphics/tiles/cave.png" trans="ff00ff"/>
 </tileset>
 <tileset name="collision" firstgid="129" tilewidth="32" tileheight="32">
  <image source="../graphics/tiles/collision.png" trans="000000"/>
 </tileset>
 <layer name="Ground" width="128" height="128">
  <data encoding="base64" compression="gzip">
   H4sIAAAAAAAAAO2dS48NQRSAe+GVYGOGDTZeQ7DBMBY2GI9fgESwQzx3SIT56epkbkVp9TjVt/pZ3+KL66avbvWdU326u6r6ZNM0JwEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZsGC72wImBj/XKBNpybmwZzhu2DTsrth2eGZ4bXjjf7Xg++74715SNAfdYffu829o2FCvEyV/uGG4adg1PVuw6vDW8M7x3vnvi+ez77kZTNgbcY/Xt84LjOBTT7fhub+N+Lh2/U+Sx4YHhYIBvhu+GH4afke183G/KxsCpyLHKsd1ynIZiuh3f7W3cz3Lsbp+yRE5F/H3I9J2KgXXrhtixCg8dp48KHfvmBB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P7z6nP+gb/w7al5p4u/pfpX3tPF//L859zTxf/y/Jv3fcxzwD/4/j3ra8QGrs5Vff4795uvvH1obGbU3Vf+7q/6/j3ja/vMnaT3J+nf217xvYRG4+/Lqn1f2rPfevmSME2X/dZfEns+elj44+B2nPf4o79s7FwuGOba/yv+14hbe5/avb9h+aA4j8cCyX7xjHy3+a+8LL5W6NIXLxp8J9yVbJtUv5z3zsem3Ns+xbXv5v7UrPu9fB/hLj/WI2R+95xd85x6Dxlr03c65N2rYn/4bDnFV8c5Mw3tnOOrfeua75S+48bBy451x8+79r94H2akLcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAX/gDPco5eAAABAA==
  </data>
 </layer>
 <layer name="Fringe" width="128" height="128">
  <data encoding="base64" compression="gzip">
   H4sIAAAAAAAAAO3ZwQkAIAgF0OZohPYfsAU8GEFkvXe0m6CQvzUAAAAAAAAAAAAAAAAAAAAAgHeNzXcAAABq8P+7R9Rr/Yc7ZWfTDAMAEOnJGgAAALXJ/wAAAP4g/wOAmtxrAVgl/wOoy74GAFbI/wAAAP4g/wMAAAAAAAAAAAAAAAAAAAAAAAAAAOCECcTTfqQAAAEA
  </data>
 </layer>
 <layer name="Over" width="128" height="128">
  <data encoding="base64" compression="gzip">
   H4sIAAAAAAAAAO3dQQ6CMBAAQK76AfX/H1UODWhAt4iltjMJNwgku21K2dVhAAAAAAAAAAAAAAAAAAAAgMnlcdyC512D5wIAAABtSvsDpfYISt+PuNMwxUZ86hbd/wMAaM24Djof/RBAMfM9hB7G/ut7+ZajhXfFFPceYt6D3LwWdwAAAPgP6n8AAAAAAKAtavVhf/Nvar6r9WVpTk111Z/ywHzctjEP1nJA7Puw1mNRQ+y39DXV8NzkM998591cDgAAAAAAAABQO7Uj0Cdjn96p/WNeK51y4bXvRw01tC/NBcYxe/nlGmPrb75a+5cV7RuNWvq/pqV1TOQ6ylnqy8sdt5H41dybyLOcXk3xAwAAAAAAAAAAAAAAjnQHmAw3eAAAAQA=
  </data>
 </layer>
 <layer name="Collision" width="128" height="128" opacity="0.42">
  <data encoding="base64" compression="gzip">
   H4sIAAAAAAAAAO3S0Y6DMAxEUb69X77qW7XC4Dh2JoY70tFKXUKCJ5/jOD4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAXs8T73O/z686q3p+nVkZ7dt6x6p7GrnTK8++K+u7R+bjfa6y/4qou3lC//+fpf+9WN88MpvMVPZ/947//1d3o+hfnZ3Oqu6G/umf/umf/umf/vc6y1NUJbpP9KwV36Xu5kn9e/et7N/zDu9ZnuJsBhn3Ymbvqv5Ho+7myf1H1o3slxF1Nzv1753p5+cv/e/v6ttnQv89VKV7/+pe6J/+6X9t/+ouuorOcnTNVWb6V8+vu8hMrWT1D/oH/YP+Qf94Tv9n60fuyuhZkd+/p8OZTkeinl93kZlaqe4/cu+wf/8zd0U9v+4iM7WS1f/IXVDPr7vITH+f8667ykz/nvOipv+RdVeZWec5L57Zv/e8yO3/bF30ztyt9UQ9w84i87RC//1E5mmF/vUyQv/9jCbaI/3vJzv030dFdu3feo+6g7f1f7ZvxZ3xfp+6g7f1H1k3ssZ6LnreJxuZiTc79j9z3ieLzOM44mvpfy/ReczM0cro89aa0ag76Nh/9p5X+15FPb/uFDO1kvU85vrYac+rqOf2FKtnayWrf2/Uc9/F6vl497uL9/3Wu9Rz38Vduve/6ru6Wj0vz/tnzvP7/xXf01U01f3PnmPVd3SXEfrvKzOze0fOQ/+1/VfNMiuz71XPXy0z9N9PZlT7zkQ9f7XM0H8/maH/fjLTrftv1PNXywz995Mxt7PfOnT/jXr+ahlzO/uN7nvImN3Zb7t3/4169jvIzOgelffibn/13HeRmRV7RM9y9/83y4rn/Svug+cb1TPfVcVsVufuu6xnUDObVbHOf/z7/ewZ1N6plbHu9NUz6HcHonuoZ/FmGYnuo/52zN0J9TkBAAAAAAAAAAAAAAAAAAAAAMC7/QFyeCdZAAABAA==
  </data>
 </layer>
 <objectgroup name="Object Group 1" width="0" height="0">
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1280" y="1440" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1600" y="1440" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="1376" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="1376" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="1600" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="1600" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="1824" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="1824" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="2048" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="2048" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="2272" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="2272" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="2496" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="2496" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1920" y="2720" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2080" y="2720" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1440" y="2176" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="1440" y="2368" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2848" y="1120" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="3104" y="1120" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="2848" y="1344" width="32" height="32"/>
  <object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="3104" y="1344" width="32" height="32"/>
  <object name="Naem the Miner" type="NPC" x="1040" y="3024">
   <properties>
    <property name="NPC_ID" value="109"/>
    <property name="SCRIPT">
     function npc_handler(npc, ch)
       do_message(npc, ch, "Do you want me to lift you to the upper level?")
       local v = do_choice(npc, ch, "Sure", "Not yet!")
       if v == 1 then
         tmw.chr_warp(ch, 2, 87 * 32 + 16, 99 * 32 + 16)
       end
     end
    </property>
   </properties>
  </object>
  <object name="Chest" type="NPC" x="2976" y="1184">
   <properties>
    <property name="NPC_ID" value="111"/>
    <property name="SCRIPT">
     function npc_handler(npc, ch)
       local g = tonumber(get_quest_var(npc, ch, "005_chest"))
       if not g then
         do_message(npc, ch, "Would you try to open it?")
         local v = do_choice(npc, ch, "Yup", "Nope")
         if v == 1 then
           if tmw.chr_inv_change(ch, 537, -3, 536, 1) then
             do_message(npc, ch, "You opened it and found a short sword!")
             tmw.chr_set_quest(ch, "005_chest", 1)
           else
             do_message(npc, ch, "It seems that this is not the right key...")   
           end
         end
       else
         do_message(npc, ch, "You already opened this chest.")
       end
     end
    </property>
   </properties>
  </object>
  <object name="Spider" type="SPAWN" x="0" y="0">
   <properties>
    <property name="MAX_BEINGS" value="20"/>
    <property name="MONSTER_ID" value="10"/>
    <property name="SPAWN_RATE" value="10"/>
   </properties>
  </object>
  <object name="Yellow Slime" type="SPAWN" x="0" y="0">
   <properties>
    <property name="MAX_BEINGS" value="25"/>
    <property name="MONSTER_ID" value="5"/>
    <property name="SPAWN_RATE" value="10"/>
   </properties>
  </object>
  <object name="toLevel1" type="warp" x="1088" y="3168" width="32" height="32">
   <properties>
    <property name="dest_map" value="002-3"/>
    <property name="dest_x" value="2176"/>
    <property name="dest_y" value="3168"/>
   </properties>
  </object>
 </objectgroup>
</map>