Jump to content
  • 0

shop Script Requests


angelingh

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  05/24/16
  • Last Seen:  

hi

someone can make me shop script pls

make its and just tell me how i can add/change items to the shop

and i reuse use its :)

 

ty

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3144
  • Reputation:   1630
  • Joined:  03/26/12
  • Last Seen:  

This is detailed in Script Commands

 

The official example:

<map name>,<x>,<y>,<facing>%TAB%shop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}

So to sell a few potions:

prontera,100,100,5	shop	Martha	123,501:-1,502:-1,503:-1,504:-1,505:-1

You can also look in npc/merchants/shops.txt for more examples.

 

Read the manual, that's what it's there for..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...