summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-11-30 12:57:34 -0500
committergumi <mekolat@users.noreply.github.com>2016-12-03 11:53:09 -0500
commit04749846cb60098399158f997cec2330442a9698 (patch)
treec8149369ffc251178bc5b8c6d172fcd51e53f297 /npc/functions
parent8975b46999b48ab8b48fce7ec1f253106d73e822 (diff)
downloadserverdata-04749846cb60098399158f997cec2330442a9698.tar.gz
serverdata-04749846cb60098399158f997cec2330442a9698.tar.bz2
serverdata-04749846cb60098399158f997cec2330442a9698.tar.xz
serverdata-04749846cb60098399158f997cec2330442a9698.zip
add `cstorage` terminator function
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/goodbye.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt
index 94bc338d..cb159c79 100644
--- a/npc/functions/goodbye.txt
+++ b/npc/functions/goodbye.txt
@@ -95,6 +95,17 @@ function script cshop {
}
+
+// cstorage
+// closes the dialog, then opens storage
+
+function script cstorage {
+ closedialog; // XXX: maybe send closeclientdialog in the future
+ openstorage;
+ close;
+}
+
+
function script goodbye {
closedialog;