summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 21:34:05 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 21:34:05 -0300
commitb5e054a319f3164627df38787feaacd86c07b591 (patch)
treeabfd5a8e2f6f4ca4c840fe100ec951dfb2523111 /npc/003-1
parentad21b319c9836c98629abb227f847cbef89255eb (diff)
downloadserverdata-b5e054a319f3164627df38787feaacd86c07b591.tar.gz
serverdata-b5e054a319f3164627df38787feaacd86c07b591.tar.bz2
serverdata-b5e054a319f3164627df38787feaacd86c07b591.tar.xz
serverdata-b5e054a319f3164627df38787feaacd86c07b591.zip
I trust inventoryplace() more
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/ishi.txt14
1 files changed, 1 insertions, 13 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt
index 0894f174d..be652f44d 100644
--- a/npc/003-1/ishi.txt
+++ b/npc/003-1/ishi.txt
@@ -136,9 +136,6 @@ L_Items:
//debugmes "Items: "+str(@var);
.@lucked=0;
.@reward=0;
- getinventorylist;
- if (@inventorylist_count == 100)
- goto L_NoPlace;
if (BaseLevel > 25) {
//debugmes "Testing rares";
@@ -162,9 +159,7 @@ L_Items:
.@reward=any_of(@Items);
//debugmes "Check weight";
- .@weight = checkweight(.@reward,1);
- if (!.@weight)
- goto L_NoPlaceWeight;
+ inventoryplace .@reward, 1;
//debugmes "Processing...";
Mobpt = Mobpt - @mpq_cost;
@@ -203,13 +198,6 @@ L_Continue:
}
} while (@menu != 2);
-L_NoPlace:
- mesq l("You seem to run out of place, you should go to the storage.");
- close;
-
-L_NoPlaceWeight :
- mesq l("You can't carry more items, you should go to the storage.");
- close;
L_Give_all:
@var = Mobpt / @mpq_cost;