RimWorld

RimWorld

More Practical Traits
Zavichij 21. juli 2021 kl. 14:36
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.
< >
Viser 1-8 af 8 kommentarer
captinjoehenry 31. juli 2021 kl. 0:07 
Any fix for the massive lag the .dll causes with the disfigured thought error?
Nether 1. aug. 2021 kl. 6:49 
I'll try
Zircaroi 2. aug. 2021 kl. 9:21 
@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 kl. 22:13 
Oprindeligt skrevet af 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
Sidst redigeret af captinjoehenry; 7. aug. 2021 kl. 22:16
Thomz 8. aug. 2021 kl. 0:42 
Oprindeligt skrevet af captinjoehenry:
Oprindeligt skrevet af 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 kl. 9:43 
@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 kl. 12:14 
Oprindeligt skrevet af 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 kl. 19:55 
Someone should upload a fixed version for the technologically innept as a fork linking to this
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50