diff options
author | Reid Yaro <reidyaro@gmail.com> | 2013-05-26 18:58:14 +0100 |
---|---|---|
committer | Reid Yaro <reidyaro@gmail.com> | 2013-05-26 18:58:14 +0100 |
commit | 01c47d4231848107c45ca42cacaf5b04ad4dbfdf (patch) | |
tree | 8af1dba85f408981ca83106b318442dafee389ae /npc/000-2-1 | |
parent | 0600dbd079c7aeb343044e0bac8afcd824e0e03c (diff) | |
download | serverdata-01c47d4231848107c45ca42cacaf5b04ad4dbfdf.tar.gz serverdata-01c47d4231848107c45ca42cacaf5b04ad4dbfdf.tar.bz2 serverdata-01c47d4231848107c45ca42cacaf5b04ad4dbfdf.tar.xz serverdata-01c47d4231848107c45ca42cacaf5b04ad4dbfdf.zip |
Add argument on inventoryplace.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r-- | npc/000-2-1/alige.txt | 6 | ||||
-rw-r--r-- | npc/000-2-1/chefgado.txt | 8 | ||||
-rw-r--r-- | npc/000-2-1/chest.txt | 2 | ||||
-rw-r--r-- | npc/000-2-1/knife.txt | 2 |
4 files changed, 6 insertions, 12 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 1ebfd4cc..c416c42c 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -189,13 +189,11 @@ l_GiveFood: // if (@id == item's ID) then food is correct. // Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion. - mes ""; - set @item, 507; - set @count, 3; - callfunc "InventoryPlace", @item, @count; + callfunc "InventoryPlace", 507, 3; delitem @id, 1; setcamnpc; + mes ""; mesn; mesq l("Thank you so much! Here, have some of my berries."); diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt index 5680265b..c50eddf2 100644 --- a/npc/000-2-1/chefgado.txt +++ b/npc/000-2-1/chefgado.txt @@ -120,9 +120,7 @@ l_OpenCroconut: l_GotAll: mes ""; - set @item, 717; - set @count, 1; - callfunc "InventoryPlace", @item, @count; + callfunc "InventoryPlace", 717, 1; delitem "PiouLegs", 2; delitem "HalfCroconut", 1; @@ -162,9 +160,7 @@ l_PoisonJulia: mesn; mesq l("The usurper has been punished! This is a great day! Take this reward as a prize for your loyalty to the old commander!"); - set @item, 502; - set @count, 2; - callfunc "InventoryPlace", @item, @count; + callfunc "InventoryPlace", 502, 2; set zeny, zeny + 60; message strcharinfo(0), l("You receive @@ E!", 60); diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt index a6214373..bc57dcac 100644 --- a/npc/000-2-1/chest.txt +++ b/npc/000-2-1/chest.txt @@ -25,7 +25,7 @@ l_Give: if (@q > 1) goto l_Quit; set @item, 1300; set @count, 2; - callfunc "InventoryPlace", @item, @count; + callfunc "InventoryPlace", 1300, 2; setq ShipQuests_Arpan, 2; getitem "CreasedShirt", 1; diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt index 7797f4f5..4a37ffc9 100644 --- a/npc/000-2-1/knife.txt +++ b/npc/000-2-1/knife.txt @@ -28,7 +28,7 @@ l_Give: mes ""; set @item, 3500; set @count, 1; - callfunc "InventoryPlace", @item, @count; + callfunc "InventoryPlace", 3500, 1; setq ShipQuests_Knife, 1; getitem "Knife", 1; |