i am looking for a plugin with which i can vary the number of babyanimals which are breed in one try and set a certain chance of getting higher numbers. since many people didn't understand what i meant i will make you an example how a config could lok like: pig: 1 baby: 70% 2 baby: 20% ...
Im not sure people will understand what you want. Try writing the request as described here. Also try to be more clear on what the plugin should do =)
He wants it so when you breed animals there is a configurable chance that more than one baby will be made. You should probably rewrite the op so it is more understandable.
It should be relatively easy.... Just make a config.yml so server admins can input how many babies they want made per animals, per breed. I won't do it because I have enough to do at the moment. This info is for the dev who wants to make this plugin.
Is it possible to let animals breed naturally? So you can see babies in the wild? If not, can someone just make babies spawn naturally in the wild (just like NaturalGiants/FatGiants, but then not giants but babies). That would be awesome. BTW if this is not what the requester want, I'll remove this comment en post another thread...
I have the first version finished, just working on some Randomizing. What do you think about: 1 Extra Baby = 1/2 chance 2 Extra Babies 1/4 chance 3 Extra Babies 1/8 chance Etc Etc The max amount will be configurable EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Royalgamer06 WildBabys in the config you can set chance: 1 = high chance, 10 = low chance Have fun =)
I generate a random number between 1 and the config entry. If random number is one, the wild animal spawns as a baby. So 1 = only babys, 10 = 1 out of 10 is a baby, 1000 = 1 out of 1000 is a baby =) *edit* Note that already spawned animals don't go through this function, only new animals will
I will contact duncandelano so he can add this code to his plugin as an option, make this one project =)
Me too! I can't find babies either! thanks! EDIT by Moderator: merged posts, please use the edit button instead of double posting.