summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-22 16:11:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-22 16:11:06 -0300
commit67064a4d95afc1a44a4a351c3244cae5ebe7c668 (patch)
treef0dd0199fd407e96210f31fe16147648f626a04e /npc/functions
parent3b27c87beb3b83e3fe03b7ab61f86c6e0015ed2d (diff)
downloadserverdata-67064a4d95afc1a44a4a351c3244cae5ebe7c668.tar.gz
serverdata-67064a4d95afc1a44a4a351c3244cae5ebe7c668.tar.bz2
serverdata-67064a4d95afc1a44a4a351c3244cae5ebe7c668.tar.xz
serverdata-67064a4d95afc1a44a4a351c3244cae5ebe7c668.zip
Implement rif2 for books (unused)
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index dc893403f..01ed71056 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -524,6 +524,12 @@ function script party_expon {
return .@value[0];
}
+// Special rif for books
+// rif2(<menu_id>, <condition>, <text>)
+function script rif2 {
+ return rif( getarg(1) ,rif(@menu == getarg(0), "► ") + getarg(2));
+}
+
// Prepare Mana Stone
// mstone( lvl )