Ludeon Forums

Ludeon Forums

  • May 06, 2021, 09:21:38 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Rimworld traits and underlying code  (Read 1518 times)

Lord Fappington

  • Drifter
  • **
  • Posts: 78
  • Scientist
    • View Profile
Rimworld traits and underlying code
« on: December 22, 2014, 06:23:53 PM »

Hi all,

I'm looking at some of the traits such as brawler and nudist.  They are conditional wherein the mood effect is dependent on something happening (e.g., a ranged weapon equiped or no clothes, respectively).  I don't see how this is coded in the xml file, so I have two questions I was hoping someone could answer (and bonus points of walking me through, use these two as examples).

1) where is the call to the underlying C++ code that scans for the condition to be met (or is there something elsewhere in the xml defs)?

2) If 2 is yes, there is underlying C++ code, how does one access it?  I have tried to open DLLs with two different IDEs (Netbeans and Eclipse with no such luck).

I must be new at this eh? :)

Thanks all for your help and patience!



  • Colonist
  • ***
  • Posts: 774
  • I am the one who mods.
    • View Profile
Re: Rimworld traits and underlying code
« Reply #1 on: December 23, 2014, 09:57:08 AM »

You need ILspy to look at the Assembly-CSharp.dll