diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-29 00:52:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-29 00:52:45 -0300 |
commit | 2d9e66251582b95764e81e40a27c4d4e0454f3e4 (patch) | |
tree | 18706b4deead977388ec68f50057bf2636921490 /npc/003-1-1 | |
parent | 73c28414416070895e4558f629d26bc6344ad999 (diff) | |
download | serverdata-2d9e66251582b95764e81e40a27c4d4e0454f3e4.tar.gz serverdata-2d9e66251582b95764e81e40a27c4d4e0454f3e4.tar.bz2 serverdata-2d9e66251582b95764e81e40a27c4d4e0454f3e4.tar.xz serverdata-2d9e66251582b95764e81e40a27c4d4e0454f3e4.zip |
This is the EXPERIMENTAL version of allowing Carts to players.
As well as its most important restrictions.
Diffstat (limited to 'npc/003-1-1')
-rw-r--r-- | npc/003-1-1/yetiking.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt index 55d2d893e..0b54d4e4e 100644 --- a/npc/003-1-1/yetiking.txt +++ b/npc/003-1-1/yetiking.txt @@ -150,7 +150,16 @@ OnWarper: mesc l("Warp to the Cave Of Trials?"); mesc l("There is no EXP penalty, but you cannot go back without either completing the cave, or dying."); mesc l("If you die, you'll need to start over everything again!"); + if (countitem(RentCart)) + mesc l("* The cart will be destroyed if you warp."), 1; if (askyesno() == ASK_YES) { + // Disable the cart + if (isequipped(RentCart)) { + unequipbyid(RentCart); + setcart 0; + delitem RentCart, countitem(RentCart); + dispbottom l("The %s was destroyed!", getitemlink(RentCart)); + } setq HurnscaldQuest_Celestia, 2; // This is a fix warp "001-6", 27, 180; } |