summaryrefslogtreecommitdiff
path: root/npc/002-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-1')
-rw-r--r--npc/002-1/alige.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/002-1/alige.txt b/npc/002-1/alige.txt
index 2c76c9c3e..c21cb3f5f 100644
--- a/npc/002-1/alige.txt
+++ b/npc/002-1/alige.txt
@@ -12,8 +12,21 @@
mesq l("I don't want to be thrown to the sharks!");
close;
+
OnInit:
.sex = G_MALE;
.distance = 2;
end;
+
+
+OnTouch:
+ if (getareausers() <= 1)
+ setnpcdir "Alige", 2;
+ close;
+
+OnUnTouch:
+ if (getareausers() == 0)
+ setnpcdir "Alige", 4;
+ close;
+
}