More Babies

Discussion in 'Archived: Plugin Requests' started by Tealk, May 22, 2012.

  1. Offline

    Tealk

    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%
    ...
     
  2. Offline

    BobbyD441

    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 =)
     
  3. Offline

    Royalgamer06

    Just more babies... I want this too, cuz I still havent seen any :$
     
  4. Offline

    Tealk

    yea thats right
     
  5. Offline

    Royalgamer06

    :D
     
  6. Offline

    BobbyD441

    Well that helps =/
     
  7. Offline

    Tealk

    push
     
  8. Offline

    mikeyagoto

    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.
     
  9. Offline

    Deleted user

    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.
     
  10. Offline

    Royalgamer06

    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...
     
  11. Offline

    Tealk

    it would be a nice feature to add it too
     
    Royalgamer06 likes this.
  12. Offline

    Royalgamer06

    ? n1 feature ?
     
  13. Offline

    Tealk

    i have edit it
     
  14. Offline

    duncandelano

    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.
     
    Last edited by a moderator: May 25, 2016
  15. Offline

    Tealk

    thank you verry much, can you make the chanze configurable too?
     
  16. Offline

    Royalgamer06

    is my feature going to be added?
     
  17. Offline

    Tealk

    dont know that must decide duncandelano but i like it.
     
  18. Offline

    BobbyD441

    Royalgamer06
    I can build you feature as a stand alone =)
     
    Royalgamer06 likes this.
  19. Offline

    Royalgamer06

    yes, please!
     
  20. Offline

    BobbyD441

    Royalgamer06
    WildBabys
    in the config you can set chance: 1 = high chance, 10 = low chance

    Have fun =)
     
    Royalgamer06 and Tealk like this.
  21. Offline

    Tealk

    thank you, can you please explain what high chanze and low chace is in numbers?
     
  22. Offline

    BobbyD441

    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
     
  23. Offline

    Tealk

    ok it replace the spawn animals as babys
     
  24. Offline

    Royalgamer06

    Thanks! You should release this plugin for others! (I could help with thread etc?)
     
  25. Offline

    BobbyD441

    I will contact duncandelano so he can add this code to his plugin as an option, make this one project =)
     
    Royalgamer06 likes this.
  26. Offline

    Royalgamer06

    Nice! I am gonna test now...
    Wanna see it been testing? Connect to roycraft.zapto.org:25565
     
  27. Offline

    Tealk

    hmm i cant find any baby mob^^, i have set up to 7
    *update*
    i have find my first baby chicken
     
  28. Offline

    BobbyD441

  29. Offline

    Royalgamer06

    Me too! I can't find babies either!

    thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  30. Offline

    Tealk

Share This Page