summaryrefslogtreecommitdiff
path: root/maps/new_5-1.tmx
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-03-26 13:07:18 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-03-26 13:07:18 +0000
commit6ac3309d89226dc8ff86af24a785d5694f8e93ad (patch)
treeb99eaa9f99af62558bcec407e0a3e23a09c8128f /maps/new_5-1.tmx
parent3c3a3da1fdcb7b72ef14a51037982f4cb89da34e (diff)
downloadclientdata-6ac3309d89226dc8ff86af24a785d5694f8e93ad.tar.gz
clientdata-6ac3309d89226dc8ff86af24a785d5694f8e93ad.tar.bz2
clientdata-6ac3309d89226dc8ff86af24a785d5694f8e93ad.tar.xz
clientdata-6ac3309d89226dc8ff86af24a785d5694f8e93ad.zip
Integrated the map changes from tmw/trunk into the maps in tmwdata.
Diffstat (limited to 'maps/new_5-1.tmx')
-rw-r--r--maps/new_5-1.tmx68
1 files changed, 68 insertions, 0 deletions
diff --git a/maps/new_5-1.tmx b/maps/new_5-1.tmx
index 05d73d0c..36e9a7d8 100644
--- a/maps/new_5-1.tmx
+++ b/maps/new_5-1.tmx
@@ -101,5 +101,73 @@
<object name="graphics/particles/flame.particle.xml" type="PARTICLE_EFFECT" x="3104" y="1344" width="32" height="32">
<properties/>
</object>
+ <object name="Naem the Miner" type="NPC" x="1040" y="3024" width="0" height="0">
+ <properties>
+ <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>
+ <property name="NPC_ID">
+ 109
+ </property>
+ </properties>
+ </object>
+ <object name="Chest" type="NPC" x="2976" y="1184" width="0" height="0">
+ <properties>
+ <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>
+ <property name="NPC_ID">
+ 111
+ </property>
+ </properties>
+ </object>
+ <object name="Spider" type="SPAWN" x="0" y="0" width="0" height="0">
+ <properties>
+ <property name="SPAWN_RATE">
+ 10
+ </property>
+ <property name="MAX_BEINGS">
+ 20
+ </property>
+ <property name="MONSTER_ID">
+ 1012
+ </property>
+ </properties>
+ </object>
+ <object name="Spider" type="SPAWN" x="0" y="0" width="0" height="0">
+ <properties>
+ <property name="SPAWN_RATE">
+ 10
+ </property>
+ <property name="MAX_BEINGS">
+ 25
+ </property>
+ <property name="MONSTER_ID">
+ 1007
+ </property>
+ </properties>
+ </object>
</objectgroup>
</map>