More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 24, 17:19:55

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  Attraction traits test object with readable source
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Attraction traits test object with readable source  (Read 8544 times)
tunaisafish
Axe Murderer
Exasperating Eyesore
*
Posts: 245



View Profile
Attraction traits test object with readable source
« on: 2009 February 01, 07:52:34 »
THANKS THIS IS GREAT

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 or well hung.

* tunaisafish_TEST_LUA.package (10.61 KB - downloaded 592 times.)
« Last Edit: 2009 February 15, 12:52:08 by tunaisafish » Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.057 seconds with 19 queries.