• 0
Ryo Osaki

Custom Quest

Question

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! 🙂

 

Quote
aldebaran,150,147,6 script Toji 766,{
if (!isequipped(5009, 2406)) { mes "Please use Safety Helmet[0] & Boots[1] Before Talk."; close; }

set [email protected]$,"^0000FF[Toji]^000000";
mes [email protected]$;
mes "You have 200 Bacillus and 150 Mould Powder?";
menu "Yes",-,"It's Hard",end2;
if (countitem(7119) < 200 || countitem(7001)  < 150) goto L_NOTENOUGH;
next;
delitem 7119,200;
delitem 7001,150;
next;
mes [email protected]$;
mes "Oh my God,you got it all.";
mes "thanks for helping older guy.";
mes "here is your reward.";
next;
getitem 5131,1;
mes [email protected]$;
mes "Take it...it's such a nice";
mes "item...";
close;
end2:
next;
mes [email protected]$;
mes "Too bad...You are too lazy";
mes "to do this job.";
close;
L_NOTENOUGH:
next;
mes [email protected]$;
mes "You still miss some items";
close;
}

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
1 hour ago, Ryo Osaki said:

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! 🙂

 

 

 

1 hour ago, Ryo Osaki said:

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! 🙂

 

 

if ( !isequipped( ID,ID ) ) { 

 

i guess it's like this

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, Takuyakii said:

 

if ( !isequipped( ID,ID ) ) { 

 

i guess it's like this

I already did that, i'm asking about choices not ifequipped but thanks.

 

FIXED!!!

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

Loading...