Jump to content
  • 0

Costume NPC using custom currencies


Question

Posted

Hey again, looking for costume npc that changed items into costumes and reverts for price of custom currency. 

Example: Boys cap > Costume boys cap = 1 coin and then reverting for same price.

5 answers to this question

Recommended Posts

  • 0
Posted

I dont understand this thread. Im not trying to make costumes, im trying to find an NPC that will transform items INTO costumes for cost of a custom currency like a coin.

  • 0
Posted

That will most likely depend on the item dabase, for example . If you have boys cap.. you need boys cap costume also, and so on.

And I would suggest using the quest_shop npc for the exchange

  • 0
Posted
1 hour ago, Kaleidoscope said:

I dont understand this thread. Im not trying to make costumes, im trying to find an NPC that will transform items INTO costumes for cost of a custom currency like a coin.

That's what the link I attached does ,

  • 0
Posted
23 hours ago, Kaleidoscope said:

I dont understand this thread. Im not trying to make costumes, im trying to find an NPC that will transform items INTO costumes for cost of a custom currency like a coin.

We'll as I have understand ragnarok database, you can't just make a costume out of an Item, It will never do that except :

1. That item has a mirror costume item.. ex. 5011 Aerial and it's counter part 20120 Costume Aerial.. (Which I think what you mean).

2, If you make a new item as a costume and manually add it on your database using this : https://github.com/rathena/rathena/wiki/Custom_Items

PS : It's actually very easy to do that if you want. you can use the existing quest_shop script available npc/custom/quest/quest_shop.txt..

Here : Where Aerial Costume costs Aerial and Platinum Coin

// -----------------------------------------------------------
//  Quest items -- do NOT use a reward item more than once!
//	Add(<shop ID>,<reward ID>,<reward amount>,
//	    <Zeny cost>,<point cost>,
//	    <required item ID>,<required item amount>{,...});
// -----------------------------------------------------------

  //EXAMPLE
  
	Add(1,20120,1,0,0,5100,1,677,1);


// -----------------------------------------------------------

 

Script is Here : https://github.com/rathena/rathena/blob/5f20c0ce0cbe4bc22b8bf1df9c36c0ef9a480ef3/npc/custom/quests/quest_shop.txt

 

I hope I helped.!!

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...