Author Topic: List of writing genres trait influence  (Read 16021 times)

thesweetestpea

  • Guest
Re: List of writing genres trait influence
« Reply #15 on: February 18, 2013, 03:34:22 AM »
No, I don't believe so. As explained above, the code is If-Or. It would need to be a bunch of separate if's to stack. Basically it says "if Sim has Trait A, or Trait B, do this". I suppose it would be possible to coerce the game into stacking the bonuses with a Pure Scripting Mod, but I don't know of any that do this.

Seabody, do you still have the package ID for the code? I'll check it out, but it would be easier if I didn't have to go looking. :)

Offline Seabody

  • Global Moderator
  • Watcher
  • ******
  • Posts: 5071
Re: List of writing genres trait influence
« Reply #16 on: February 18, 2013, 03:38:51 AM »
Seabody, do you still have the package ID for the code? I'll check it out, but it would be easier if I didn't have to go looking. :)

For this code?

Code: [Select]
case BookData.BookGenres.Romance:
if (createdSim.HasTrait(TraitNames.HopelessRomantic) || createdSim.BuffManager.HasElement(BuffNames.RaspberryRomance))
{
num++;
}
break;

It's not in the packages, it's part of the script in a .dll file, you need something like Reflector or ILSpy.



Registered members do not see ads on this Forum. Register here.