diff options
author | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-15 17:50:51 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-06-02 20:51:24 +0200 |
commit | b43d122f2a5a75d1401a63864a35402926da576f (patch) | |
tree | ebbd54221dd98ccb01dcfdd5054415305b5a5289 /npc/other | |
parent | 7710aac3f48ab98dc6e2cb8840f17c91f021cfde (diff) | |
download | hercules-b43d122f2a5a75d1401a63864a35402926da576f.tar.gz hercules-b43d122f2a5a75d1401a63864a35402926da576f.tar.bz2 hercules-b43d122f2a5a75d1401a63864a35402926da576f.tar.xz hercules-b43d122f2a5a75d1401a63864a35402926da576f.zip |
standardize script commands to small letters
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/other')
-rw-r--r-- | npc/other/inventory_expansion.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/other/inventory_expansion.txt b/npc/other/inventory_expansion.txt index db18e09e1..8a5ac5e6c 100644 --- a/npc/other/inventory_expansion.txt +++ b/npc/other/inventory_expansion.txt @@ -33,28 +33,28 @@ OnInvExpandRequest: if (countitem(Inventory_Extension_Coupon) < 1) { - expandInventoryAck(EXPAND_INV_MISSING_ITEM); + expandinventoryack(EXPAND_INV_MISSING_ITEM); end; } - if (getInventorySize() + INVENTORY_INCREASE_STEP > MAX_INVENTORY) { - expandInventoryAck(EXPAND_INV_MAX_SIZE); + if (getinventorysize() + INVENTORY_INCREASE_STEP > MAX_INVENTORY) { + expandinventoryack(EXPAND_INV_MAX_SIZE); end; } - expandInventoryAck(EXPAND_INV_ASK_CONFIRMATION, Inventory_Extension_Coupon); + expandinventoryack(EXPAND_INV_ASK_CONFIRMATION, Inventory_Extension_Coupon); end; OnInvExpandConfirmed: if (countitem(Inventory_Extension_Coupon) < 1) { - expandInventoryResult(EXPAND_INV_RESULT_MISSING_ITEM); + expandinventoryresult(EXPAND_INV_RESULT_MISSING_ITEM); end; } - if (getInventorySize() + INVENTORY_INCREASE_STEP > MAX_INVENTORY) { - expandInventoryResult(EXPAND_INV_RESULT_MAX_SIZE); + if (getinventorysize() + INVENTORY_INCREASE_STEP > MAX_INVENTORY) { + expandinventoryresult(EXPAND_INV_RESULT_MAX_SIZE); end; } delitem(Inventory_Extension_Coupon, 1); - if (expandInventory(INVENTORY_INCREASE_STEP) == true) { - expandInventoryResult(EXPAND_INV_RESULT_SUCCESS); + if (expandinventory(INVENTORY_INCREASE_STEP) == true) { + expandinventoryresult(EXPAND_INV_RESULT_SUCCESS); } end; |