RimWorld

RimWorld

More Practical Traits
Zavichij 21 Jul, 2021 @ 2:36pm
How to make it work in 1.3
If anyone els want this mod to work with 1.3, do this:

Download and install Notepad++

Open the folder: 1568700181

Location:

Program(x86)/Steam/Steamapps/workshop/content/294100/1568700181

Then open folder:

1.1/Patches/ThoughtDefs

Open the file "MPT_Thoughts_Core_Sun.xml" with notepad++

Go to line 256 and delete everything on from line 256 to 284, save and activate mod ingame

In worst case the colonist with some of these traits might not get the debuff for ate awful meal.
< >
Showing 1-8 of 8 comments
captinjoehenry 31 Jul, 2021 @ 12:07am 
Any fix for the massive lag the .dll causes with the disfigured thought error?
Nether 1 Aug, 2021 @ 6:49am 
I'll try
Zircaroi 2 Aug, 2021 @ 9:21am 
@captinjoehenry
If you change
RelationsUtility.IsDisfigured(other)
to
RelationsUtility.IsDisfigured(other, null, false)
in ThoughtWorker_MPTSpecial,
those errors should disappear.

Open MorePracticalTraits.dll with dnSpy and right-click on ThoughtWorker_MPTSpecial choose Edit Class (C#)...
After that, press Compile to automatically make the above corrections, then choose Save Module... from File and you are done.
For your safety, please keep a backup of the original dll.
captinjoehenry 7 Aug, 2021 @ 10:13pm 
Originally posted by Zircaroi:
@captinjoehenry
If you change
RelationsUtility.IsDisfigured(other)
to
RelationsUtility.IsDisfigured(other, null, false)
in ThoughtWorker_MPTSpecial,
those errors should disappear.

Open MorePracticalTraits.dll with dnSpy and right-click on ThoughtWorker_MPTSpecial choose Edit Class (C#)...
After that, press Compile to automatically make the above corrections, then choose Save Module... from File and you are done.
For your safety, please keep a backup of the original dll.
When I do this I get a bunch of errors about missing namespaces when I hit the compile button

Edit: Fxied it. Just had to load the Assembly-CSharp.dll to dnSpy
Last edited by captinjoehenry; 7 Aug, 2021 @ 10:16pm
Thomz 8 Aug, 2021 @ 12:42am 
Originally posted by captinjoehenry:
Originally posted by Zircaroi:
@captinjoehenry
If you change
RelationsUtility.IsDisfigured(other)
to
RelationsUtility.IsDisfigured(other, null, false)
in ThoughtWorker_MPTSpecial,
those errors should disappear.

Open MorePracticalTraits.dll with dnSpy and right-click on ThoughtWorker_MPTSpecial choose Edit Class (C#)...
After that, press Compile to automatically make the above corrections, then choose Save Module... from File and you are done.
For your safety, please keep a backup of the original dll.
When I do this I get a bunch of errors about missing namespaces when I hit the compile button

Edit: Fxied it. Just had to load the Assembly-CSharp.dll to dnSpy


Where do I find and load Assembly-CSharp.dll in dnSpy?
Zircaroi 8 Aug, 2021 @ 9:43am 
@captinjoehenry
Sorry, I forgot to mention to load Assembly-CSharp.dll.

@Thomz
Assembly-CSharp.dll is located in following location as Windows default:
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed
To load Assembly-CSharp.dll in dySpy, simply drag and drop it into dnSpy's Assembly Explorer.

It seems to work fine in 1.3 this way. (There is no patch for the new status added in 1.3, though.)
Thomz 15 Aug, 2021 @ 12:14pm 
Originally posted by Zircaroi:
@captinjoehenry
Sorry, I forgot to mention to load Assembly-CSharp.dll.

@Thomz
Assembly-CSharp.dll is located in following location as Windows default:
C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed
To load Assembly-CSharp.dll in dySpy, simply drag and drop it into dnSpy's Assembly Explorer.

It seems to work fine in 1.3 this way. (There is no patch for the new status added in 1.3, though.)
Thanks - that's a massive help!
Death by coughs 21 Aug, 2021 @ 7:55pm 
Someone should upload a fixed version for the technologically innept as a fork linking to this
< >
Showing 1-8 of 8 comments
Per page: 1530 50