Jump to content
  • 0

Badges NPC Shop


BlueElf

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/07/18
  • Last Seen:  

Hello Guys,

I am trying to create a NPC (script) that sells Hat-Costumes per battleground-badges instead of Zeny. Is this possible? I really want it to look like a regular "shop" such as a tool dealer. 

Any help is appreciated :)

 

Thanks

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   60
  • Joined:  09/23/17
  • Last Seen:  

14 minutes ago, BlueElf said:

Hello Guys,

I am trying to create a NPC (script) that sells Hat-Costumes per battleground-badges instead of Zeny. Is this possible? I really want it to look like a regular "shop" such as a tool dealer. 

Any help is appreciated ?

 

Thanks

You can do this using an itemshop type NPC.
 

-%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}

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

 

  • Love 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/07/18
  • Last Seen:  

4 hours ago, TheDerpySupport said:

You can do this using an itemshop type NPC.
 


-%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}

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

 

Awesome! Thanks a lot ?

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...