Ludeon Forums

RimWorld => Mods => Help => Topic started by: notfood on July 19, 2016, 11:26:37 PM

Title: ThingComp.GetDescriptionPart madness
Post by: notfood on July 19, 2016, 11:26:37 PM
I'm working on updating Infusion for a14 and... I'm almost there. I've hit this roadblock and after a digging through the code really hard, this is over my head, I decided to call for help. So here I am.

I have this issue, the Information button in the Gear tab seems to be calling a different function from the one called when the item is on the ground.

(http://i.imgur.com/ZOrmUEQ.png)

(http://i.imgur.com/abYITZu.png)

What do I have to override instead?

I feel it's calling the generic instead of the item itself.
Title: Re: ThingComp.GetDescriptionPart madness
Post by: notfood on July 19, 2016, 11:48:11 PM
Well, looks like I found the culprit...

Happens in vanilla as well, no mods loaded.

(http://i.imgur.com/sBkWad4.png)

(http://i.imgur.com/ayswooc.png)

It's calling the generic, not the one in the map.

I can't fix this. orz
Title: Re: ThingComp.GetDescriptionPart madness
Post by: Fluffy (l2032) on July 20, 2016, 04:07:04 AM
You're probably correct. The gear tab is calling the info window with the item's def, while it should call it with the actual item. This is a bug by the way, go report it if you haven't already ;).

There's three things you can do;

edit; Also, Latta has been active again lately, I assume you talked with her about updating the mod?