quesoph
New member
db/item_vending.txtLilith said:Original topic and code here: link
Idea: link
You can enable or disable the cash / item in file db/item_vending.txtWhen 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)
5.PNG![]()
Vending title can be looks like: "[ITEM_ID] name"
2.PNG![]()
Version 1.8 preview:
3.PNG![]()
// Specific items for Vending System
// Format: ItemID
// Max items is equal MAX_INVENTORY ( 100 by default )
// TCG Card
7227
// Mithril Coin
674
// Silver Coin
675
// Bronze Coin
673
idnum2itemdisplaynametable.txt
30000#Zeny#
30001#Cash#
30000#µ¿È#
30001#¹Ì½º¸±È#
System/Iteminfo.lub
or
System/Iteminfo.lua
[30000] = { unidentifiedDisplayName = "Zeny", unidentifiedResourceName = "µ¿È", unidentifiedDescriptionName = { "Unknown item requiring Appraisal. Can be identified by using a Magnifier.", }, identifiedDisplayName = "Zeny", identifiedResourceName = "µ¿È", identifiedDescriptionName = { }, slotCount = 1, ClassNum = 1 }, [30001] = { unidentifiedDisplayName = "Cash", unidentifiedResourceName = "¹Ì½º¸±È", unidentifiedDescriptionName = { "Unknown item requiring Appraisal. Can be identified by using a Magnifier.", }, identifiedDisplayName = "Cash", identifiedResourceName = "¹Ì½º¸±È", identifiedDescriptionName = { }, slotCount = 1, ClassNum = 1 },
item_db2.txt should be:
{ Id: 30000 AegisName: "Zeny" Name: "Zeny" Type: 3 Sell: 10 Weight: 10},{ Id: 30001 AegisName: "Cash" Name: "Cash" Type: 3 Sell: 10 Weight: 10},
Modified by: dastgir and quesoph
*Warning: It will not work with auto trade persistency.
Hercules Rev 14041.
Extended Vending System Hercules Rev 14041.patch
Hercules Rev 14395.
Extended Vending System Hercules Rev 14395.patch
Attachments
Last edited by a moderator:
