Replies: 2 comments
-
Oh I very like the idea ! ^-^ I think its could be amazing if they laying egg on hay block if a player set some of this blocks in the wyvern l'air with the natural laying of course |
Beta Was this translation helpful? Give feedback.
-
I put this in issue #191 but I'll put it here as well. This version contains corrections. I can imagine the pathfinding working something like how birds used to go to trees (maybe they still do this) - the fed wyvern searches for a block or feature within 250 blocks (or something like that, I'm just making up numbers) to lay its egg, then flies to it and stays close to it for the next two minutes, with female ostrich behavior from there. If you don't give the wyvern a potion effect, you could probably just copy and paste the bird code (pathfinding) and the ostrich code (laying an egg and getting mad if someone picks it up), just adjusting trees for the block or feature and laying ostrich eggs for the appropriate wyvern species egg. Here are some ways to make this harder if you want a better challenge for the players (each one will be nasty to code, though):
If you want wyvern egging to be completely natural, two suggestions. Option 1: Every 20 minutes, a wyvern has a chance (10% for non-mothers and 33% for mothers to match their original rates) to go lay an egg on its own. The player follows the wyvern that makes a beeline for a random location, or else needs to camp out near a wyvern nest and hope that a wyvern picks that one for its egg. Pros: Easy to understand and easier to code, plus mother wyverns are still super awesome. Cons: the player has absolutely no control over which kind of wyvern they get unless they catch one, trap it in a nest, and wait for what might be multiple weeks (or tracks one for that same period of time). Option 2: Use one of the last two points under Ways to make this harder", but every 20 minutes, a mother wyvern has a 20-25% chance of trying to lay an egg or breed with a non-mother wyvern. Pros: It's a lot easier to figure out when a wyvern is laying an egg. Mother wyverns are extra exciting, but other species are still cool. Egg laying is SUPER RARE since mother wyverns are SUPER RARE themselves - you might want to hit one with a name tag. Cons: The player has very little control over which kind of wyvern they get... unless you use the first option and fill all the nearby nests with the proper blocks. Sorry that this post is so long, I kept thinking of alternate ideas while I was writing this. Let me know what you think! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions