summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index a05d07276..ca828b056 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -62,6 +62,10 @@ function script g {
return Sex == 0 ? getarg(0) : getarg(1);
}
+function script b {
+ return "##B" + getarg(0) + "##b";
+}
+
function script col {
.@color = getarg(1);
if (.@color < 0) .@color = 0;