diff options
author | panikon <panikon@zoho.com> | 2014-05-09 23:17:09 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-05-09 23:17:09 -0300 |
commit | 6d4ae7670d0acca504d17d27b5c971be6625a311 (patch) | |
tree | c486cd73cdc1719752da44274725d397ca8fdbd0 /src/map/clif.h | |
parent | a168c786095d50dfce96791627b57b917a9cf7eb (diff) | |
download | hercules-6d4ae7670d0acca504d17d27b5c971be6625a311.tar.gz hercules-6d4ae7670d0acca504d17d27b5c971be6625a311.tar.bz2 hercules-6d4ae7670d0acca504d17d27b5c971be6625a311.tar.xz hercules-6d4ae7670d0acca504d17d27b5c971be6625a311.zip |
Added documentation regarding trader objects in script_commands.txt
Added enumered returns to npc_cashshop_buy and to npc_cashshop_buylist
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index f54c4afce..d0444f9fe 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -349,6 +349,22 @@ enum clif_messages { }; /** + * Used to answer CZ_PC_BUY_CASH_POINT_ITEM (clif_parse_cashshop_buy) + **/ +enum cashshop_error { + ERROR_TYPE_NONE = 0, // The deal has successfully completed. (ERROR_TYPE_NONE) + ERROR_TYPE_NPC, // The Purchase has failed because the NPC does not exist. (ERROR_TYPE_NPC) + ERROR_TYPE_SYSTEM, // The Purchase has failed because the Kafra Shop System is not working correctly. (ERROR_TYPE_SYSTEM) + ERROR_TYPE_INVENTORY_WEIGHT, // You are over your Weight Limit. (ERROR_TYPE_INVENTORY_WEIGHT) + ERROR_TYPE_EXCHANGE, // You cannot purchase items while you are in a trade. (ERROR_TYPE_EXCHANGE) + ERROR_TYPE_ITEM_ID, // The Purchase has failed because the Item Information was incorrect. (ERROR_TYPE_ITEM_ID) + ERROR_TYPE_MONEY, // You do not have enough Kafra Credit Points. (ERROR_TYPE_MONEY) + // Unofficial type names + ERROR_TYPE_QUANTITY, // You can purchase up to 10 items. (ERROR_TYPE_QUANTITY) + ERROR_TYPE_NOT_ALL, // Some items could not be purchased. (ERROR_TYPE_NOT_ALL) +}; + +/** * Color Table **/ enum clif_colors { |