Renji Abarai Posted February 8, 2014 Posted February 8, 2014 (edited) Can you make this into Dynamic Quest NPC with item preview & Editable Requirement's "Editable Requirement's" to make it short same as Euphy's Quest Shop but will give a rental item. prontera,33,200,5 script Sample 439,{ setarray .ItemLists[2],2383,2541,2410,2629,5013; set @Menu$,"Info"; for( set .@a,2; .@a < getarraysize( .itemLists ); set .@a,.@a + 1 ){ set @Menu$,@Menu$ +":"+ getitemname( .itemLists[.@a] ); } set .@a,select ( @Menu$ ); if( .@a == 1 || countitem( 7539 ) < 30 || countitem( 969 ) < 30 ){ mes "This Item can only be rent for 1 day if you pay 30 each Poring Coins and 30 each Gold."; close; } mes "You have Rent 1 "+getitemname( .itemLists[.@a] )+" for 1 Days. "; rentitem .itemLists[.@a], 3600 * 24; delitem 7539,30; delitem 969,30; close; } Edited February 8, 2014 by Renji Abarai Quote
Patskie Posted February 8, 2014 Posted February 8, 2014 Use multi-currency shop made by @Emistry Quote
Renji Abarai Posted February 8, 2014 Author Posted February 8, 2014 Use multi-currency shop made by @Emistry how make Emistry Multi-Currency to become Rental Item after you Quested it??? help Quote
Missingno Posted February 8, 2014 Posted February 8, 2014 Use multi-currency shop made by @Emistry how make Emistry Multi-Currency to become Rental Item after you Quested it??? help Use rentitem instead of getitem. Quote
Renji Abarai Posted February 8, 2014 Author Posted February 8, 2014 Use multi-currency shop made by @Emistry how make Emistry Multi-Currency to become Rental Item after you Quested it??? help Use rentitem instead of getitem. How?? can you make it here prontera,33,200,5 script Sample 439,{ setarray .ItemLists[2],2383,2541,2410,2629,5013; set @Menu$,"Info"; for( set .@a,2; .@a < getarraysize( .itemLists ); set .@a,.@a + 1 ){ set @Menu$,@Menu$ +":"+ getitemname( .itemLists[.@a] ); } set .@a,select ( @Menu$ ); if( .@a == 1 || countitem( 7539 ) < 30 || countitem( 969 ) < 30 ){ mes "This Item can only be rent for 1 day if you pay 30 each Poring Coins and 30 each Gold."; close; } mes "You have Rent 1 "+getitemname( .itemLists[.@a] )+" for 1 Days. "; rentitem .itemLists[.@a], 3600 * 24; delitem 7539,30; delitem 969,30; close; } Quote
Missingno Posted February 8, 2014 Posted February 8, 2014 Read the documentation on rentitem and replace any occurrences of getitem with it. Quote
Question
Renji Abarai
"Editable Requirement's" to make it short same as Euphy's Quest Shop but will give a rental item.
prontera,33,200,5 script Sample 439,{
6 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.