2) Write the location you want your NPC to be. For example:
prontera,150,150,4
Blue: map (prontera) and coordinates (y,x)
Orange: The way the NPC is looking.
3) After that, you will put "shop" without the quotes with a <Tab> before. After the shop, you will put another <TAB> and write the name you want your NPC to have, lets say Red Potion Seller. After that comes the NPC sprite, in thise case 999. For a full list, go to
What is <TAB>? If you look on your keyboard, on the left normally above Caps Lock you will see the button tab. When you press it, you get a big space in between words/letters.
4) When you finished with that, right after the comma beside 999 you will put the item id. Lets say, 501 (Red Potion).
...Red Potion Seller<TAB>999,501
5) After you wrote 501 you will put a colon ( : ) and write the item price.
...999,501:999
6) When you finish with that, the npc will automatically put in the Item inside the npc. You can go on forever with the items, like I will show here.
Those would be three items, 501, 502 and 503, all of them with a price or 999. After that, it is not necessary to put a '}' or ';' since the script automatically detects them.
Question
Keim
How to make your own shop script
by Keim
1) Open notepad or any other text editor.
2) Write the location you want your NPC to be. For example:
prontera,150,150,4
Blue: map (prontera) and coordinates (y,x)
Orange: The way the NPC is looking.
3) After that, you will put "shop" without the quotes with a <Tab> before. After the shop, you will put another <TAB> and write the name you want your NPC to have, lets say Red Potion Seller. After that comes the NPC sprite, in thise case 999. For a full list, go to
http://www.dotalux.com/ro/npclist/.prontera,150,150,4<TAB>shop<TAB>Red Potion Seller<TAB>999,
What is <TAB>? If you look on your keyboard, on the left normally above Caps Lock you will see the button tab. When you press it, you get a big space in between words/letters.
4) When you finished with that, right after the comma beside 999 you will put the item id. Lets say, 501 (Red Potion).
...Red Potion Seller<TAB>999,501
5) After you wrote 501 you will put a colon ( : ) and write the item price.
...999,501:999
6) When you finish with that, the npc will automatically put in the Item inside the npc. You can go on forever with the items, like I will show here.
This should be your final result.
prontera,150,150,4<Tab>shop<tab>Red Potion Seller<tab>999,501:999,502:999,503:999
Those would be three items, 501, 502 and 503, all of them with a price or 999. After that, it is not necessary to put a '}' or ';' since the script automatically detects them.
I hope this guide helped you and others.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts