aguyaguy Posted January 13, 2013 Posted January 13, 2013 May I know if this is possible ? an Quest NPC that requires Cashpoint + Item ID for example there's a Poring hat quest but the requirements are 5 Cashpoint + TCG how to make it as a script. not a shop ! thanks in advance Quote
Capuche Posted January 13, 2013 Posted January 13, 2013 (edited) May I know if this is possible ? Possible Sample prontera,160,150,5 script ghjkl 456,{ mes "For a Poring hat, you need :"; mes "- 5 Cashpoints"; mes "- 5 TCG card."; next; if( select( "I want this hat !", "Leave." ) -1 ) { mes "See you soon !"; close; } //-- check items if( countitem( 7227 ) < 5 || #CASHPOINTS < 5 ) { mes "Sorry you don't have all the items."; close; } mes "Here for you !"; delitem 7227, 5; #CASHPOINTS -= 5; dispbottom "Lost : 5 Cashpoints. Total : "+#CASHPOINTS+" Cashpoints."; getitem 5035, 1; close; } Edited January 13, 2013 by Capuche Quote
nanakiwurtz Posted January 14, 2013 Posted January 14, 2013 Simply use the original questshop provided in the svn, or just use Euphy's quest script. Quote
Question
aguyaguy
May I know if this is possible ? an Quest NPC that requires Cashpoint + Item ID for example there's a Poring hat quest but the requirements are 5 Cashpoint + TCG how to make it as a script. not a shop ! thanks in advance
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.