Jump to content

Simple Quest With Random Prize (used for valentine's day)


Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

File Name: Simple Quest With Random Prize 1.0
File Author: Kido
Date Released: 15/02/2014 (happy valentine's day!)
Category: Quest Script
Modified/Original Author: Not modified/Kido
 
Description:
It's a simple hunting quest, you gather the items and then you recieve a random prize for it. It's cool that it has the picture of beautiful Wanderer, you can edit it too to change for something you like (no user friendly, sry when i get more skill i will made it more easy to edit). There is an extra option to echange 1 item for X Quantity of items. I made this script for my server for the Valentine's day, i don't mind if you use it too for that purpose.

 

TODO:

  1. Add colors
  2. Improve it with more switch instead of menus

Suggestions (?)

 

How to edit it:

Change that for your required items

	mes "100 Needle Packet";
	mes "100 Boy's Pure Heart";
	mes "100 Burning Heart";
	mes "100 Flame Heart";
	mes "100 Glacial Heart";
	mes "100 Wooden Heart";
	mes "100 Whiterless Rose.";

Change that for your prizes

	mes "1 Valentine's Day Firecracker Box";
	mes "1 Silver Ring of Valentine";
	mes "1 Gold Ring of Valentine";
	mes "1 Cupid's Target";
	mes "1 I Love China";
	mes "1 Love Arrow";
	mes "1 I Love You Firecracker";
	mes "1 Chicken of Love Hat";

This is the list of your required items, just replace the IDs

if(countitem(748)<=99 && countitem(7189) <=99 && countitem(7561) <=99 && countitem(994) <=99 && countitem(7097) <=99 && countitem(12373) <=99 && countitem(7213) <=99) {

Change the delitem for your items ID and the getitem callfunc line for your random prizes

delitem 748,100; delitem 7189,100; delitem 7561,100; delitem 994,100; delitem 7097,100; delitem 12373,100; delitem 7213,100;
getitem callfunc( "F_Rand", 13806,7947,7946,5393,5423,5823,14546,5822 ), 1;

Change the switch and menus as you need

switch(select("-Give items <3:-I'm going for them <3!:-Exchange I Love You:-I want to see the prizes")) {

For the exchange items for X items edit this line, change the id of the required item and then

if(countitem(14546)<1) {

change the id for the prize exchange (check the required id and the prize exchange id

delitem 14546,1;
getitem 597,20;

This is an explanation line of what your item prizes do

menu "Valentine Day Firecracker Box",case5,"Silver Ring of Valentine",case6,"Gold Ring of Valentine",case7,"Cupid Target",case8,"I Love China",case9,"Love Arrow",case10,"I Love You Firecracker",case11,"Chicken of Love Hat",case12;

I hope you like it guys, sorry i will make better scripts and later will make this ones more easy to edit (it looks hard to edit, but actually it's kinda simple since you only change IDs).

 

A picture of how it looks (lol don't mind, my server is in spanish)

em9r.png

 

Happy Valentine's day to everyone!

 

Changelog:

simple quest script random prize 1.0 First release

simple quest script random prize.txt

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   11
  • Joined:  05/31/12
  • Last Seen:  

+1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

xD i thinked no one would downloaad it because is kinda hard to edit xd

 

thanks

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
Reply to this topic...

×   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...