Cataclysm-DDA
Cataclysm-DDA copied to clipboard
Caterpillar cleanup & Cocoons
Summary
Content "Splits caterpillars into two species like they should be and adds cocoons"
Purpose of change
I was annoyed that moths and butterflies laid eggs that hatched into the same baby form. A moth could be a parent to a butterfly and vice versa. No more.
Describe the solution
- Smallest mutant butterflies and moths can no longer breed
- The remaining mutant moths now lay unique moth eggs
- Smallest mutant caterpillars are obsoleted, there is no need for two different size variants in larva
- Larger mutant caterpillars have been split into two separate monsters. Additionally they now use the snake bodytype instead of insect, are insect faction instead of ant faction (same as their parent monsters, I am not sure why it was ant in the first place) and have fear triggers
- Added cocoons, two separate for the two caterpillars. Not much to say, they're essentially identical to wasp pupae except slightly larger and don't have the wasp faction
- Removed the obsoleted caterpillars from wilderness spawns, replaced them with new ones
Describe alternatives you've considered
I considered not doing the cocoons but they seem like a nice flavour. I also really thought migrating monsters was possible and intended to have old caterpillars migrate into the new ones but this doesn't seem possible. The obsoletion code still has them upgrading, though, so any old caterpillars in current saves will eventually evolve out of this state. I also considered adding butterfly eggs to recipes alongside the moth ones but that's already handled by someone else and just needs merging.
Testing
Appears to work ingame now. Doesn't throw errors anymore (initially I messed up upgrading for cocoons but I fixed that right after I submitted the draft).