From 0ead4842a17a2d52ecd857027f944cbc7e6b80f9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 24 Oct 2022 14:01:21 -0300 Subject: This has now been tested (we did some DB mess, but whatever) --- npc/000-0/sailors.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc/000-0') 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; -- cgit v1.2.3-70-g09d2