Required by some modern mods for variant skins to work. This script assigns a "variant" value ranging from 1 to 100 to every animal that is placed, born, created at the cloning center, etc. This value will remain constant when the animal grows up.
Requirements
This mod does not have any known dependencies other than the base game.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
Public Domain? Yes
File credits
Lgcfm - creator Thom - base script and writing help Horse14t - adding variant to lab preview Anabeille - coding improvement and advanced genetics
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
This script assigns a "variant" value ranging from 1 to 100 to every animal that is placed, born, created at the cloning center, etc. This value will remain constant when the animal grows up.
With just this file you won't notice any difference, but it is a requirement for animals that use the variant attribute coding to work. This allows them to keep their skins consistent through all life stages (e.g. albino baby grows into albino juvenile and then albino adult), with simple and efficient coding. It also allows for animal "genetics", with babies looking more similar to their parents.
Versions: This file edits the main animal.xml, so if you had other hacks affecting it, they will conflict. To solve this, I've created several versions so you can choose what suits your needs. You only need to get one of these:
Variant Selector - just the variant selection script
+ Sell Animals - you will also get money when you adopt out an animal, based on Collar's Hack
+ Biome and Space Hack - animals won't complain about biome or space, based on Thom's Hack
+ Sell animals + Biome and Space Hack - all of the above