Forum Discussion
9 years ago
"IngeJones;15209548" wrote:
Well I am just copying the existing loop, which checked for specific instance IDs, which I expect to be falling through when there are no default bassinets on the lot. I have no idea why they have the bassinet.destroy in there, or any of the other bits for that matter lol, so I didn't like to just do without it in case it was needed. The idea is mine just matches on a different criterion, but then should just get on and do exactly the same as the first, exhausted, loop would have done. Obviously if there is a default bassinet, then my bit shouldn't run at all, since it will return True before that bit.
You'd be better off just spawning your custom instance by definition id with create_object() and then updating the return with the baby sim_info. You've probably already noticed that, in nearly every case, it's easier to re-write all of the functions since theirs are never appropriate for any purpose beyond what they've already offered.