You guys are quick! This is a complementary mod to my "Better Farm Animal Variety" mod which lets you extend the farm animal types to things like bulls, roosters, etc. Unfortunately, the game data doesn't have a field for gender on the save files and hard-codes most of them (ex. uses the ID for pigs). If you use the BFAV mod, this removes the feminized text and icons for interactions.
are u daft? maybe some ppl just want to not feel bad for giving a female animal a male name. or, maybe, idk, gender isn't.. you know.. sexualizing anything?
I like how you worked on genders for immersive farming.. but just a little comment. Isn't "it/it's/its" more appropriate than "they/they're/their" in those dialogues since it refers to a single animal? (Maybe, except pregnancy) Sorry for being grammar-conscious but thanks for your mods!
I was curious about what exactly this mod did. Here it is in case others are wondering:
* Changes the udder icon that controls reproduction into a baby bottle. * Changes the tool tip for the reproduction control to say "Allow reproduction" instead of "Allow pregnancy". * Changes so that the baby animal is "brought a baby into the world" instead of "gave birth to a baby". * Changes all pronouns that reference the animals to "they're" or "their" instead of "he is", "she is", "his", or "her".
Curiously the game has references to male farm animals even though there are none except with the slimes.
It's possible for Rabbits and Pigs to be male in vanilla SDV; here's the gender (i.e. isMale()) algorithm:
Determine Animal Gender if type is not "Rabbit" nor "Pig" then Animal is female else if animal's ID is an even number then Animal is male else Animal is female end
It does not have this check so yes, your male pigs could give birth on the event in vanilla SDV. Rabbits don't because Coops are excluded from the nightly check. Here's the check logic:
Get Eligible Farm Animal for Animal Birth Event from a Barn If primary player and has a barn with empty spaces and a random double < # of animals that live there * 0.0055 then Get a farm animal from this barn End If farm animal is an adult and allows reproduction then Use this farm animal Else Do not use a farm animal from this barn End
paritee: where did you find the gender algorithm and how can I change it? Just looking to make it so that some of the animals added by BFAV can be male or female (I've actually only added one so far, and that's hedgehogs, but they should be able to be male or female. Also I had a hedgehog and I want so desperately to put him into my game and I'm just not experienced enough to do it without help).
But isn't the fact that they're always female to do with the fact that they can have babies? I think the real question is 'why are there no guy animals' XD I suppose this is nice for someone.
22 comments
Sorry for being grammar-conscious but thanks for your mods!
* Changes the udder icon that controls reproduction into a baby bottle.
* Changes the tool tip for the reproduction control to say "Allow reproduction" instead of "Allow pregnancy".
* Changes so that the baby animal is "brought a baby into the world" instead of "gave birth to a baby".
* Changes all pronouns that reference the animals to "they're" or "their" instead of "he is", "she is", "his", or "her".
Curiously the game has references to male farm animals even though there are none except with the slimes.
Determine Animal Gender
if type is not "Rabbit" nor "Pig" then
Animal is female
else if animal's ID is an even number then
Animal is male
else
Animal is female
end
Get Eligible Farm Animal for Animal Birth Event from a Barn
If primary player and has a barn with empty spaces and a random double < # of animals that live there * 0.0055 then
Get a farm animal from this barn
End
If farm animal is an adult and allows reproduction then
Use this farm animal
Else
Do not use a farm animal from this barn
End