About This File
Original topic and code here: link
Idea: link
rAthena: link
When you use the skill vending there would be a menu that will pop up and you will choose what type of vending system do you like.
• Zeny - You will purchase items using zeny..
• Cashpoints - purchase items using cashpoints
• Item(your desired item) - purchase item using your desired items..(Example: TCG-7227)
You can enable or disable the cash / item in file db/item_vending.txt
Vending title can be looks like: "[ITEM_ID] name"
Modify your client data files:
idnum2itemdisplaynametable.txt
30000#Zeny#
30001#Cash#
idnum2itemresnametable.txt
30000#±ÝÈ#
30001#¹Ì½º¸±È#
Enjoy.
New:
v1.8.1:
08 April 2013:
03 May 2013:
15 May 2013:
Created by Lilith,
Modified by Dastgir
What's New in Version v1.8.1
Released
- Version 1.4
- Added support file 'item_vending.txt' for vending currency items ( Suggest by V e r T i g O )
- Some fixes
- @reloaditemdb command will uprate item_vending.txt
- Max item in item_vending.txt is 98 ( default MAX_INVENTORY-2 ) 1 for zeny, 2 for cash, 98 for your items.
- Version 1.5:
- Now you can enable or disable Zeny/Cash in item_vending.txt. Just add/remove ID 30000 for Zeny or ID 30001 fo Cash Points
- Removed battle_config.enable_cash_vending
- Max items returned to MAX_INVENTORY
- Version 1.6:
- Now you can turn on or turn off Extended Vending System ( see conf/battle/items.conf )
- Now, if your file item_vending.txt contains only 1 item the Select Window will be skipped
- Version 1.7:
- If file item_vending.txt is empty currency will be Zeny by default
- Added two configs to file conf/battle/items.conf
- Version 1.8:
- Added option for more info about buying ( see version 1.8 preview)
- Added option for add/remove ITEM_ID name from vending board ( Suggest by Pneuma )
- All settings moved from conf/battle/items.conf to conf/battle/feature.conf