Jump to content
  • 0

Costume NPC using custom currencies


Kaleidoscope

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   5
  • Joined:  07/16/17
  • Last Seen:  

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.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   5
  • Joined:  07/16/17
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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 ,

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

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

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