Purebred pet sales with Consigner

Talk nerdy to us here.
Post Reply
User avatar
Echoweaver
Reactions:
Posts: 391
Joined: January 11th, 2012, 6:00 pm

Purebred pet sales with Consigner

Post by Echoweaver » August 1st, 2021, 11:31 pm

Today's weird pets mod thing that I'm messing with --

I created a mod that retains the breed information for pets that is normally erased almost immediately.

Consigner currently has a lovely feature to calculate the relative value of pets for sale that even takes the size of the family tree into account. It doesn't currently factor whether a pet is purebred or not into it's calculation, and I'd really like it to.

Is there any way I might be able to tweak this in my mod in a minimalist way?
A study in blockheaded stubbornness: Playing the same legacy since 2009.
Sample a Brave Legacy: http://sims3sample.illation.net http://echoweaver.tumblr.com

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7617
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Purebred pet sales with Consigner

Post by Chain_Reaction » August 5th, 2021, 3:20 am

Off the top of my head you would have to make your mod load after consigner by putting it in overrides then remove the 3 sell pet consigner interactions via scripting and add yours. However that will undo every other thing consigner currently does as it's settings for pet selling will no longer be factored in.

How are you catching and retaining the breed information?

User avatar
Echoweaver
Reactions:
Posts: 391
Joined: January 11th, 2012, 6:00 pm

Purebred pet sales with Consigner

Post by Echoweaver » August 6th, 2021, 11:12 am

Hmm. Yeah, that's exactly what I wanted to avoid because I'd like Consigner to work just they way it has always worked.

The breed information is in SimDescription.PetManager.BreedName, which as I understand it, is where the breed was always supposed to be. In the unmodded game, the breed name isn't stored very long -- it's erased as soon as the pet is edited with Customize Collar/Coats, it does not pass to offspring, and I'm not even sure it persists between saves. My PetBreedFix mod, which I'm about ready to submit to MTS, keeps the breed from being erased and passes it down to offspring when both parents are the same breed.

All I'd want to do is add an additional modifier into the existing pet breed calculation if BreedName is not empty -- not really messing with trying to come up with different values for different breeds because there are just too many and it's too subjective.

Folks are already roleplaying breeding purebred pets. This just gives them a mechanic for it.
A study in blockheaded stubbornness: Playing the same legacy since 2009.
Sample a Brave Legacy: http://sims3sample.illation.net http://echoweaver.tumblr.com

Post Reply