summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-01-22 11:19:30 -0500
committergumi <mekolat@users.noreply.github.com>2017-01-22 11:48:13 -0500
commitd63fe32eade4796f75f3f25887868c5167dae8fd (patch)
tree4a0270eecffd7f2f723fa7e549404b9de6675302
parentd18d71cbff7209f2bb8a8b82cbb99034111f1a6e (diff)
downloadserverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.gz
serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.bz2
serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.tar.xz
serverdata-d63fe32eade4796f75f3f25887868c5167dae8fd.zip
add new link functions
-rw-r--r--npc/functions/main.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 7a2ea64d..80548731 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -246,3 +246,23 @@ function script lognbaselvl {
return .@ret;
}
+
+function script getquestlink {
+ return "[@@q" + getarg(0) + "|@@]";
+}
+
+function script getmonsterlink {
+ return "[@@m" + getarg(0) + "|@@]";
+}
+
+function script getpetlink {
+ return "[@@p" + getarg(0) + "|@@]";
+}
+
+function script getmercenarylink {
+ return "[@@M" + getarg(0) + "|@@]";
+}
+
+function script gethomunculuslink {
+ return "[@@h" + getarg(0) + "|@@]";
+}