summaryrefslogtreecommitdiff
path: root/npc/001-2-28/plush.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-26 15:39:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-26 15:39:22 +0300
commit303eaddac902ad0967a905454a7c029b870991c0 (patch)
tree8c0895d4c581ff9762d1c6e4043f1dd13756b7be /npc/001-2-28/plush.txt
parent97eba08101dc1cc83b0b8f9037c94773e47fe2bb (diff)
downloadserverdata-303eaddac902ad0967a905454a7c029b870991c0.tar.gz
serverdata-303eaddac902ad0967a905454a7c029b870991c0.tar.bz2
serverdata-303eaddac902ad0967a905454a7c029b870991c0.tar.xz
serverdata-303eaddac902ad0967a905454a7c029b870991c0.zip
Add menuaction script function. Replace all action string to this function.
Also fix other usage of chars "[]".
Diffstat (limited to 'npc/001-2-28/plush.txt')
-rw-r--r--npc/001-2-28/plush.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/001-2-28/plush.txt b/npc/001-2-28/plush.txt
index 4089a0f0..8480fc1b 100644
--- a/npc/001-2-28/plush.txt
+++ b/npc/001-2-28/plush.txt
@@ -65,8 +65,8 @@
l("This will remain your respawn point until set elsewhere."),
l("Is that okay?");
- switch (select (l("[Yes]"),
- l("[No]")))
+ switch (select (menuaction(l("Yes")),
+ menuaction(l("No"))))
{
case 1:
accepted_room (.@price);
@@ -97,7 +97,7 @@
l("If you are registered somewhere else you will loose that reservation."),
l("Do you still want to lodge here?");
- switch (select (l("[Yes]"), l("[No]")))
+ switch (select (menuaction(l("Yes")), menuaction(l("No"))))
{
case 1:
register_room;