Jump to content
dragontechi

npc color ring change

Recommended Posts

hello good morning everyone I have a question I want to create an npc that will change the color ring app for another color ring without functionality only with an item as a requirement

//color ring start
5857	(Red) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5858	(Dark Blue) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5859	(Green) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5860	(Purple) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5861	(Orange) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5862	(Yellow) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5863	(Gray) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5864	(Pink) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5865	(Brown) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5866	(Black) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5867	(Light Blue) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5868	(Default Blue) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
5869	(Dark Green) Paint Color	neckfuse	10130005	0	0	0	0	0	0	25	0	0	0	0	0	1	0	0	1	1	1	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	5,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0,0	0,0	0,0	0	0	0	0,0	0	0	9000,9000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0	0	Obtained through donation.	0																																																																																														
//color ring end

 

Share this post


Link to post
Share on other sites

There is multiple ways to approach this, but based on the item info if you are using server files where the necklace is an apparel you will need to have it check conditions or you will lose the gems/neck fused. 
 

 

You can write an box that does the following:

 

If character has itemID -> and wants newID, exchange. 
 

Otherwise 

 

You can convert itemID to maybe a voucher or something and make an npc that requires that voucher and have an exchange npc.

 

however as I’ve mentioned if it’s fused make sure to do condition checks if it’s gemmed/fused to an equipment otherwise it will be lost. 


Nissan-GT-R.gif

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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