Ludeon Forums

RimWorld => Mods => Help => Topic started by: Oblit on May 23, 2021, 03:40:54 AM

Title: Making Permanent Equips
Post by: Oblit on May 23, 2021, 03:40:54 AM
Is there a way to make an equipment that is stuck to a character from the beginning and neither the pawn or the player can take it off
For example a hat that is stuck to the character
I want to make this so I can make generic clothes to alien races but that races with special features cannot equip some of the equipments while still giving some bonuses to compensate
Title: Re: Making Permanent Equips
Post by: RawCode on May 23, 2021, 07:55:49 AM
it's possible to make items not removable and not strip-able by merely looking at how guest items are locked from replacing and strip routine.

but you will need custom code for this, it's not possible with plain xml.
Title: Re: Making Permanent Equips
Post by: Oblit on May 23, 2021, 03:35:18 PM
Quote from: RawCode on May 23, 2021, 07:55:49 AM
it's possible to make items not removable and not strip-able by merely looking at how guest items are locked from replacing and strip routine.

but you will need custom code for this, it's not possible with plain xml.

Thats a great idea, didn't think about the guests, thanks! I will look how they work
Title: Re: Making Permanent Equips
Post by: Oblit on May 23, 2021, 04:51:13 PM
Found it
Now I just need to test it and adjust for what I need
Which I will probably do in the future, I think I will focus a little bit in the art for now