summaryrefslogtreecommitdiff
path: root/maps/002-1.tmx
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-18 08:07:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-18 08:08:54 -0600
commit66e6263d4780e7efbaaa22e836541f3ba27f4bc0 (patch)
treede73969bec80fddfcb544f99da536e66bb319cee /maps/002-1.tmx
parentba5a861b48c4e52966c0ace6cc551d67f3dce319 (diff)
downloadclientdata-66e6263d4780e7efbaaa22e836541f3ba27f4bc0.tar.gz
clientdata-66e6263d4780e7efbaaa22e836541f3ba27f4bc0.tar.bz2
clientdata-66e6263d4780e7efbaaa22e836541f3ba27f4bc0.tar.xz
clientdata-66e6263d4780e7efbaaa22e836541f3ba27f4bc0.zip
Add do_npc_close commands to test NPCs
Diffstat (limited to 'maps/002-1.tmx')
-rw-r--r--maps/002-1.tmx5
1 files changed, 5 insertions, 0 deletions
diff --git a/maps/002-1.tmx b/maps/002-1.tmx
index 63119e61..a53d62e0 100644
--- a/maps/002-1.tmx
+++ b/maps/002-1.tmx
@@ -81,6 +81,7 @@
do_message(npc, ch, "You know what?")
do_message(npc, ch, string.format("I have already asked this question %d times today.", nb_times))
nb_times = nb_times + 1
+ do_npc_close(npc, ch)
end
</property>
</properties>
@@ -91,6 +92,7 @@
<property name="SCRIPT">
function npc_handler(npc, ch)
do_message(npc, ch, "Don't you think the guy behind me is my evil twin?")
+ do_npc_close(npc, ch)
end
</property>
</properties>
@@ -106,6 +108,7 @@
elseif v == 2 then
tmw.npc_trade(npc, ch, true, { {525, 0, 400}, {531, 0, 1500}, {530, 0, 4000}, {1199, 0, 1} })
end
+ do_npc_close(npc, ch)
end
</property>
</properties>
@@ -116,6 +119,7 @@
<property name="SCRIPT">
function npc_handler(npc, ch)
do_message(npc, ch, "This is really a nice place.\nDon't you think so?")
+ do_npc_close(npc, ch)
end
</property>
</properties>
@@ -126,6 +130,7 @@
<property name="SCRIPT">
function npc_handler(npc, ch)
do_message(npc, ch, "If I only had a tent...")
+ do_npc_close(npc, ch)
end
</property>
</properties>