NPCs Taxis and Crafters now checks properly
Fixed taxis that wouldn't check for mesos upon travel. Fixed crafters that wouldn't check for inventory slots available before crafting items.
This commit is contained in:
@@ -41,6 +41,7 @@ function action(mode, type, selection) {
|
||||
if (mode == 1) {
|
||||
if (cm.getMeso() < 1500) {
|
||||
cm.sendNext("I am sorry, but I think you are short on mesos. I am afraid I can't let you ride this if you do not have enough money to do so. Please come back when you have enough money to use this.");
|
||||
cm.dispose();
|
||||
} else {
|
||||
cm.warp(cm.getPlayer().getMapId() == 260020000 ? 261000000 : 260000000, 0);
|
||||
cm.gainMeso(-1500);
|
||||
|
||||
Reference in New Issue
Block a user