More Awesome Than You!

The Bowels of Trogdor => The Small Intestines of Trogdor => Topic started by: tunaisafish on 2009 February 01, 07:52:34



Title: Attraction traits test object with readable source
Post by: tunaisafish on 2009 February 01, 07:52:34
I modified dizzy's lua tester object while experimenting with the lua trait code.
Thanks again to dizzy as his doc's were a huge help in getting started with this.

This steals the debug option on the mailbox - "make me know everyone"

It might not work in games earlier than AL, and it will actually update the traits.  Hence posting it here.
It's more for modder edumacation/curiosity.  My comments in the source probably won't all make sense - I've been reusing and editing this package as I explore other lua funcions.

Also of interest...
I used two of the unknown trait flags as 'Alienism' and 'naked'
It's also possible to set the traits for any color of skin or eyes, and other generic stuff like the properties of the crammyboy.
This is only half of the work that we'd need to figure out before we could start adding custom turn-on's though.


ETA:  Oops, I forgot to explain the dialog popup.
It lists all the traits that are set after the routine in readable english.
The 6 figures at the bottom are the 'attraction trait' fields 1 to 3.
First line of 3 show 'before', then second line shows 'after'.

ETA2:
Re: the custom turn on's.  I think it's impossible to add new turn on's without editing the exe (and in several places too by the looks of it).
However, replacing them is fine.  I made 2 different versions that replaced the broken custom hair trait with alienism (http://thesporum.net/smf/index.php?topic=4810.0) or well hung (http://www.insimadult.org/index.php/topic,37256.0.html).