cmsm94 Posted June 13, 2015 Posted June 13, 2015 Hi there!! I know its possible that let say if you make an item ex. Apple when you consume it npc shops opens. Can someone create the script for the item and the npc so it work together? THANKS! Quote
Kurofly Posted June 13, 2015 Posted June 13, 2015 Server-Side: The shop (put it in a script file) - shop myshopname -1,512:-1,513:-1,514:-1 don't forget to put the items you want to sell and their prices The item: <ID>,My_Item_Name,My Item Name,2,10,,10,,,,,0xFFFFFFFF,63,2,,,,,,{callshop "myshopname",1;},{},{} Client-Side: newer than 2012-04-10a: iteminfo.lub: [<ID>] = { unidentifiedDisplayName = "My Item Name", unidentifiedResourceName = "Ä«ÇÁ¶óÀÌ¿ë±Ç", unidentifiedDescriptionName = { "Opens a shop.", "", "Weight: ^7777771^000000" }, identifiedDisplayName = "My Item Name", identifiedResourceName = "Ä«ÇÁ¶óÀÌ¿ë±Ç", identifiedDescriptionName = { "Opens a shop.", "", "Weight: ^7777771^000000" }, slotCount = 0, ClassNum = 0 }, older than 2012-04-10a: idnum2itemdesctable.txt: <ID># Opens a shop. Weight: ^7777771^000000 # idnum2itemdisplaynametable.txt: <ID>#My Item Name# idnum2itemresnametable.txt <ID>#Ä«ÇÁ¶óÀÌ¿ë±Ç# Don't forget to edit the id and item name in all files 1 Quote
Question
cmsm94
Hi there!!
I know its possible that let say if you make an item ex. Apple when you consume it npc shops opens.
Can someone create the script for the item and the npc so it work together? THANKS!
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.