Modding Diary - Suggest Abandoning Baby
Hi guys! Hope you all are doing well 鈽猴笍
After doing the prison mini game side quest I am now back working on the main abandoned baby update. This week I worked on the interaction that allow sims to suggest giving up their baby with their SO.
To do so you first click on the baby and select Consider abandoning xyz
After that you will be able to click on your spouse and make the suggestion
A custom animation is coming up where they will have a discussion
If the partner agrees you will get a notification like this
And both isms will get moodlets like so
If their partner disagrees you will get a notification like this
And both sims will become frustrated
I think there should be another interaction where you could try and persuade each other, and you will either change their mind or make the situation worse 馃
This following part took me forever and a half and I just got it working today.
Originally when you abandon a baby the baby gets destroyed and when the new family adopt the one in the basket you essentially get a new one that has similar skin tone and occult, but genetically they are not the same baby.
But I feel like if its not the same baby it sort of looses its meaning 馃槱and isnt as cool. So I wanted to figure out if its possible to save the baby and simply transfer them over. But as you know sims babies are this half human half object hybrid that makes everything more difficult. After some tears and sweat I was able to get it working with a custom script 馃槑Now when sims baby gets abandoned the baby is saved in the carrier
And when the new family adopt them (i know it says pet adoption here I need to update it still but!) you get to rename them
They get added to your family exactly the way they were
And they get transferred to your lot immediately. This part was surprisingly difficult, at first babies will get added to the family but they would still be at their old lot, and I couldnt summon them as an object or as a sim because they are a hybrid 馃拃but I got it to work!
And they also keep their originally family tree, Im still trying to decided if I should keep this or update them to the new family tree 馃not sure which one makes more sense
that is all I have this week! I wish I couldn've done more but at the same time Im glad I was able to solve the issue at the end even though it took me a few days 鈽猴笍Hope you have a good weekend!
Comments (10)
Doing great! I applaud your wicked coding skills too!! Being able to persuade and talk about their situation is neat. Maybe there is a cool off of 1 day if the parents cannot agree and then they can have the conversation again once they have time to think about it to go along with the persuade option?? That seems like a realistic progression.
This is my first time commenting, but I just wanted to say I love your work I am a huge fan!!
Thank you so much 鈽猴笍
I think I'm going to need this! One of my Sims will be a single parent and they are still at school.....
Does this ever pop up on its own or do you physically have to trigger it on your own?
Right now it鈥檚 just manually triggering only. I鈥檓 not really sure if this should be something that comes up in its own馃tbh stilling thinking it through
Incredible!! I was almost in tears trying to make an object able to be added to a Sims inventory. So I can鈥檛 imagine the coding that came with all of this!! 馃
It happens to all of us, if you are not in tears at some point in the process are you really modding 馃槀
This is just amazing. You truly blow me away with your talent!
Your coding skills are absolutely epic!! Thank you for all the hard work you've done/will do on this and all your mods 馃挏
