summaryrefslogtreecommitdiff
path: root/npc/000-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-24 14:01:21 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-24 14:01:21 -0300
commit0ead4842a17a2d52ecd857027f944cbc7e6b80f9 (patch)
tree3e81811d77967374afb8283d0bc7b78959f614c4 /npc/000-0
parent6481ee3bd3f88e6764efba225579375a667c426b (diff)
downloadserverdata-0ead4842a17a2d52ecd857027f944cbc7e6b80f9.tar.gz
serverdata-0ead4842a17a2d52ecd857027f944cbc7e6b80f9.tar.bz2
serverdata-0ead4842a17a2d52ecd857027f944cbc7e6b80f9.tar.xz
serverdata-0ead4842a17a2d52ecd857027f944cbc7e6b80f9.zip
This has now been tested (we did some DB mess, but whatever)
Diffstat (limited to 'npc/000-0')
-rw-r--r--npc/000-0/sailors.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt
index 3f9c1b9..0b682f3 100644
--- a/npc/000-0/sailors.txt
+++ b/npc/000-0/sailors.txt
@@ -23,9 +23,18 @@ OnTouch:
end;
}
// TODO: Check if you have a homeworld set
+ if (get_nibble(##00_INFO, 4) <= 1) {
+ mesc l(".:: ERROR ::."), 1;
+ mesc l("You must set a home world first. Then you will be able to use the Crossroads.");
+ next;
+ kick(getcharid(3), 5);
+ end;
+ }
+
// Set your language (WIP?)
asklanguage(LANG_ON_SEA);
+ clear;
mesc l("Welcome to..."), 3;