Raised This Month: $ Target: $400
 0% 

[ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-21-2010 , 17:14   [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
Reply With Quote #1

Original idea by vaan123.
Please someone test this plugin, it's not official release.

Info:
There are 3 herbs you can buy: Red, Green, and Blue. Prices set by cvar.
Type /mix to mix the different herbs.
Type /herbs to see a motd of what each herb does.


This is what each of the herbs do when mixed with others:
Green+Green = Heals 50% of HP.
Green+Blue = Heals 25% of HP + removes Poison.
Green+Red = heals 100% of HP

I know it's not that much to mix, but this isn't the official release, so I will add the 3-mixing option in the actual release.

NOT OFFICIAL RELEASE LIKE I SAID, trying to get more resources for the release and some actual testing done.

There are 2 versions of this plugin:
1 with the poison feature and the blue herb, and one without and without the blue herb.
Really no point for the one without poison, but w/e, there will be when I give the option to mix 3, so im just leaving it as is, for the people that don't want the poison version.

Someone please test this plugin...

One named "Herbs" is no poison, "herbspoison" has poison :O.

Credits:
Vaan123 - Original idea
Me - making the plugin
Abdul - giving suggestions


ABOUT THE MOTD: There is no motd yet, so there will be no /herbs command yet. If someone is good with motd's please help me and create a good motd saying what the mixing of each does.
Attached Files
File Type: sma Get Plugin or Get Source (herbs.sma - 1065 views - 5.1 KB)
File Type: sma Get Plugin or Get Source (herbspoison.sma - 1010 views - 9.1 KB)
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 09-22-2010 at 17:37.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-22-2010 , 05:13   Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
Reply With Quote #2

finally =] thanks, but i won't be able to test it right now tho. =]
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 09-22-2010 , 06:51   Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
Reply With Quote #3

nilkhil please write carefully about description and version so other people can understand.
__________________
albert123 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-22-2010 , 16:54   Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
Reply With Quote #4

Lol I wrote the description in 30 seconds :/

Will edit it now and make it more clear.


Edit: made it better ( i think )
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 09-22-2010 at 17:02.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-23-2010 , 05:02   Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
Reply With Quote #5

You should remove this:
Code:
client_print(0, print_chat, "[ZP] The extra item ^x04^"Herbs^" ^x01was made by ^x04nikhilgupta345.")
As it wont print colors in chat and will also cause spam in the player's chat everytime it is displayed instead display this in the motd

And
You should make all the menu global and make them all in the plugin init so that they are not created everytime when a player buys a herb or mixes it
This way the plugin will be alot more effecient
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode