RimWorld
More Practical Traits
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.
< >
Se afișează 1-8 din 8 comentarii
Any fix for the massive lag the .dll causes with the disfigured thought error?
I'll try
@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.
Postat inițial de 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
Editat ultima dată de captinjoehenry; 7 aug. 2021 la 22:16
Thomz 8 aug. 2021 la 0:42 
Postat inițial de captinjoehenry:
Postat inițial de 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?
@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 la 12:14 
Postat inițial de 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!
Someone should upload a fixed version for the technologically innept as a fork linking to this
< >
Se afișează 1-8 din 8 comentarii
Per pagină: 1530 50