Help with bed ownership

Started by CrazyCaityCat, June 05, 2019, 12:14:46 PM

Previous topic - Next topic

CrazyCaityCat

Hey, I'm a nub trying to make my first rimworld mod. I want to make an item that has an owner, like a bed does. I've checked the defs in core and even looked through the polyamory mod files that added beds and I'm not seeing where in the code the assignment of ownership of the bed is. Can someone point me in the right direction?

Adil

I believe this behavior is hardcoded into <thingClass>Building_Bed</thingClass>. You need to do C# coding to create anything else with similar behavior.

CrazyCaityCat

Thanks for the help! Unfortunately C# is a complete mystery to me and I haven't the time to learn it, guess I'll have to do something else.