summaryrefslogtreecommitdiff
path: root/npc/014-2-2/gemini.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-2-2/gemini.txt')
-rw-r--r--npc/014-2-2/gemini.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/014-2-2/gemini.txt b/npc/014-2-2/gemini.txt
index 06a4dd518..54d404cf9 100644
--- a/npc/014-2-2/gemini.txt
+++ b/npc/014-2-2/gemini.txt
@@ -14,6 +14,16 @@ OnCoreInit:
warp "014-2-2", 36, 24;
end;
}
+ // Disable the cart
+ if (isequipped(RentCart)) {
+ unequipbyid(RentCart);
+ setcart 0;
+ }
+ // Remove the cart
+ if (countitem(RentCart)) {
+ delitem RentCart, countitem(RentCart);
+ dispbottom l("The %s was destroyed!", getitemlink(RentCart));
+ }
.@p = getcharid(1);
instance_attach($@VALIA_INST[.@p]);
@mystatus = 0;