AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE] (https://forums.alliedmods.net/showthread.php?t=138720)

nikhilgupta345 09-21-2010 17:14

[ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
 
2 Attachment(s)
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.

vaan123 09-22-2010 05:13

Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
 
finally =] thanks, but i won't be able to test it right now tho. =]

albert123 09-22-2010 06:51

Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
 
nilkhil please write carefully about description and version so other people can understand.

nikhilgupta345 09-22-2010 16:54

Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
 
Lol I wrote the description in 30 seconds :/

Will edit it now and make it more clear.


Edit: made it better ( i think )

abdul-rehman 09-23-2010 05:02

Re: [ZP] Sub Plugin/Extra Items: Herbs [NEEDS TESTING AND NOT OFFICIAL RELEASE]
 
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 :up:


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

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