summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-02 22:43:43 +0200
committerGitHub <noreply@github.com>2019-06-02 22:43:43 +0200
commit20b1d37e3bdfd465543e91dde0519201a3e1b0fc (patch)
treeebbd54221dd98ccb01dcfdd5054415305b5a5289 /npc
parent7710aac3f48ab98dc6e2cb8840f17c91f021cfde (diff)
parentb43d122f2a5a75d1401a63864a35402926da576f (diff)
downloadhercules-20b1d37e3bdfd465543e91dde0519201a3e1b0fc.tar.gz
hercules-20b1d37e3bdfd465543e91dde0519201a3e1b0fc.tar.bz2
hercules-20b1d37e3bdfd465543e91dde0519201a3e1b0fc.tar.xz
hercules-20b1d37e3bdfd465543e91dde0519201a3e1b0fc.zip
Merge pull request #2374 from AnnieRuru/57-getInventorySize
standardize script commands to small letters
Diffstat (limited to 'npc')
-rw-r--r--npc/other/inventory_expansion.txt18
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;