cmsm94 Posted June 13, 2015 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 170 Reputation: 5 Joined: 08/11/13 Last Seen: October 18, 2024 Share 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 Link to comment Share on other sites More sharing options...
Kurofly Posted June 13, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share 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 Link to comment Share on other sites More sharing options...
Elsa Mist Posted June 13, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted June 13, 2015 use 'callfunction' Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.