Jump to content
  • 0
BlueElf

Badges NPC Shop

Question

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.