File information

Last updated

Original upload

Created by

MikeW

Uploaded by

MaykellW

Virus scan

Safe to use

About this mod

Just a simple mod to add missing hatching data for animals that produce eggs but they can't be incubated. It also can edit the missing birth texts and clone eggs for animals sharing vanilla eggs.

Requirements
Permissions and credits
Changelogs
Making Eggs 'Hatchable'
This simple mod addresses a small thing: egg-laying animals whose eggs aren't hatchable. With this mod, they'll be able to be incubated and hatched!

Editing Birth Texts
Additionally, you can choose to edit the missing birth texts (e.g., "???") to show the actual animal name.

Cloned Eggs
In version 1.0.1, animals that share the vanilla eggs now have an egg cloning option. The clone will possess nearly all the same features as the original egg, except for its name, description (sometimes), and price. The pricing of clones is proportionate to the original animal's value and adjusts automatically with any game rebalance mods affecting object prices. Combining it with the Edit Egg Lists option, will include the ability to hatch animals from their own eggs.

Cloned Eggs Colors
Thanks to Prismatic Valley Framework, the egg sprites are randomly colored and adapt to any item retexture you might have. By default, an animal’s name corresponds to its egg color (e.g., a blue parrot has a blue egg). If you’re not a fan of the current egg colors, enable the ‘Change Egg Colors’ option to reroll them. Just remember to uncheck it the next day to avoid daily changes.

In the mod folder, locate the “eggcolors.json” file. Inside, you’ll find the animal key, the chosen egg color, and the color palettes used by the mod. Feel free to manually adjust the colors to your liking using RGB hex codes. If you modify palette or color names, update them in the i18n file as well.

GMCM Options
If you have it, you can use a color wheel to change the egg colors within the game. Check the images for a visual representation!

Cloned Machine Rules
Additionally, machine rules for cloned eggs are now available. These allow cloned eggs to be processed in machines just like vanilla eggs. It will create a copy of every machine rule, even from other mods that use the egg IDs. However, be aware that this could lead to unexpected outcomes, such as a parrot egg yielding a pickled chicken egg if the machine is set to produce pickled chicken eggs.

Recommended mods:
Asian animals
Indian Animals
Velociraptors
Parrots
Fancy Chickens
Fancy Ducks
Echidnae


Each of the egg-laying animals will have its own egg and be 'hatchable'!

For mod authors:
Certainly! Here's a more relaxed version:

To automatically create an egg for your animal using the mod, follow these steps:

1. Set the animal to produce the vanilla egg you'd like to clone.
2. The mod will handle the rest.

For the object ID format, the mod uses: "Mikew.letmehatchthisegg.smapi.{animal key}_{original egg ID}". For instance, if you have an animal with the key "Black Silkie" that produces both white chicken eggs:

- Normal size egg: `"Mikew.letmehatchthisegg.smapi.Black Silkie_176"`
- Large size egg: `"Mikew.letmehatchthisegg.smapi.Black Silkie_174"`

Feel free to reach out if you need further assistance!


Exclusions

After the day has loaded, new options will become available in the GMCM: "Manage Edited Animals List", "Manage Edited Birth Texts", and"Manage Cloned Eggs". These options will display a list of animals that the mod has found. You'll be able to review the list and check or uncheck the animals to your liking!
____________________________________________________________
Depending on your other mods, you may or may not need this one. To check, load the day and check GMCM!


That's all. Enjoy! :)
  翻译: