diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-02 13:04:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-02 13:04:37 -0300 |
commit | 5c39c8f3f49105a1e330a63a9e72d1df62e77526 (patch) | |
tree | 9475581dd724974cbdf1da3c1d772c8d205549f5 | |
parent | e7823df99608721a002e18aa21a5af3fb096f0dc (diff) | |
download | serverdata-5c39c8f3f49105a1e330a63a9e72d1df62e77526.tar.gz serverdata-5c39c8f3f49105a1e330a63a9e72d1df62e77526.tar.bz2 serverdata-5c39c8f3f49105a1e330a63a9e72d1df62e77526.tar.xz serverdata-5c39c8f3f49105a1e330a63a9e72d1df62e77526.zip |
Add a couple guards about meeting King Gelid with a cart
-rw-r--r-- | npc/024-1/guard.txt | 4 | ||||
-rw-r--r-- | npc/024-16/king.txt | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt index 070f5e3e4..fdcc85c92 100644 --- a/npc/024-1/guard.txt +++ b/npc/024-1/guard.txt @@ -81,6 +81,10 @@ L_MainQuest2: mesn; mesq l("His policy is to never read a letter without the sender being present. Of course we check it for poison and traps."); next; + if (countitem(RentCart)) { + mesc l("However, you cannot met the King while using a %s.", getitemlink(RentCart)), 1; + close; + } mesn; mesq l("Behave yourself, or our death penalty awaits. You have been warned."); next; diff --git a/npc/024-16/king.txt b/npc/024-16/king.txt index 29dd9d565..f01ac59ec 100644 --- a/npc/024-16/king.txt +++ b/npc/024-16/king.txt @@ -15,6 +15,11 @@ } if (countitem(RentCart)) { mesc l("You cannot met the King while using a %s.", getitemlink(RentCart)), 1; + next; + mesc l("Do you want to forward all your items to Quirino Voraz in Tulimshar?"); + next; + if (askyesno() == ASK_YES) + charcommand("@storeall 2"); close; } setcart 0; |