Jump to content
  • 0

Can you make this into Dynamic Quest NPC with item preview & Editable Requirement's


Renji Abarai

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

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 by Renji Abarai
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Use multi-currency shop made by @Emistry

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

Use multi-currency shop made by @Emistry

how make Emistry Multi-Currency to become Rental Item after you Quested it???

help :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   41
  • Joined:  02/05/14
  • Last Seen:  

 

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

 

 

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;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  135
  • Reputation:   41
  • Joined:  02/05/14
  • Last Seen:  

Read the documentation on rentitem and replace any occurrences of getitem with it.

Link to comment
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.

×
×
  • Create New...