summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/gmbot.txt3
-rw-r--r--npc/functions/util.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index 6029fd873..30f95dde9 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -187,6 +187,7 @@ function matrixlb {
.@pts+=min(3, reputation("Halin")/33);
.@pts+=min(3, reputation("Frostia")/33);
.@pts+=min(3, reputation("Candor")/33);
+ .@pts+=min(3, reputation("Fortress")/33);
// What about Lilit?
// Who am I bonus TODO
@@ -203,7 +204,7 @@ function matrixlb {
// Rebirth (2pts per level)
.@pts+=limit(0, REBIRTH*2, 10);
- // Max points: 101→104→114
+ // Max points: 101→104→114→117
return .@pts;
}
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index efd46e75b..183ca5781 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -531,6 +531,22 @@ function script reputation {
.@nr=.@nr*100/10;
+
+
+
+
+
+ // Fortress Town Quests (1 point/special)
+ } else if (getarg(0) == "Fortress") {
+
+ // Who am I? (+1 rep)
+ if (getq(General_Narrator) >= 22)
+ .@nr=.@nr+1;
+
+ // FORTRESS TOWN Magical Forumula
+ .@nr=.@nr*100/1;
+
+
// Final
}