aguyaguy Posted January 13, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 12/17/11 Last Seen: March 23, 2020 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted January 13, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
nanakiwurtz Posted January 14, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted January 14, 2013 Simply use the original questshop provided in the svn, or just use Euphy's quest script. Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.