Jump to content
  • 0
Sign in to follow this  
Yoh Asakura

VoteForPoints NPC Shop

Question

7 answers to this question

Recommended Posts

  • 0

@@evilpuncker

 

I've just tested the version 1.0 and it worked, I just wonder if it's possible to change the script...I would like the script like the quest_shop (npc/custom/quests/quest_shop.txt), that shows the item image, and to buy the item you'd need the votepoints, and if possible to set how many of that item you'd like.

 

voteforpoints.txt

Edited by Yoh Asakura

Share this post


Link to post
Share on other sites
  • 0

@@evilpuncker

 

I've just tested the version 1.0 and it worked, I just wonder if it's possible to change the script...I would like the script like the quest_shop, that shows the item image, and to buy the item you'd need the votepoints, and if possible to set how many of that item you'd like.

 

that is almost exactly of what the script does:

 

prontera,153,152,1	trader	TestCustom2	952,{	OnInit:	tradertype(NST_CUSTOM);	sellitem Red_Potion;	end;	/* allows currency to be Red_Potion */OnCountFunds:	setcurrency(countitem(Red_Potion));	end;/* receives @price (total cost) */OnPayFunds:	if( countitem(Red_Potion) < @price )		end;	delitem Red_Potion,@price;	purchaseok();	end;}

Share this post


Link to post
Share on other sites
  • 0

@@evilpuncker

 

I believe you didin't get me.

 

I would like a script for vote4points just like the quest_shop.txt script.
A script that when you click it will open the shop window with the items to choose, not only the name of the items, but also their images.... after you choose and click on buy it will tell you how much POINTS OF VOTE it costs.

It would also be nice to choose the quantity, and choosing the quantity it would change the amount of vote4points needed.

 

Is it possible?

Edited by Yoh Asakura

Share this post


Link to post
Share on other sites
  • 0

@@Yoh Asakura

 

trader npc are normal shop npcs, therefore they will display item images as well, they act just like a normal shop, but they use the currency you set them to.

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

  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...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.