Check What Armour A Pawn Is Wearing

Started by GeodesicDragon, April 28, 2019, 07:50:36 AM

Previous topic - Next topic

GeodesicDragon

I'm trying to create a mod which adds a trait that modifies a pawn's mood depending on whether or not they are wearing armour, but... is it even possible to check whether or not they are?

EDIT FOR FURTHER CLARIFICATION: Some armours protect more areas than others; the better the armour, the happier the pawn will be. So if they're wearing Wooden Plate, they won't feel as safe as they would in a Marine Armour suit with helmet. And the marine set is only two pieces, compared to a Flak Jacket and Vest, which needs a helmet to go with it (two pieces of great armour against three pieces of good armour).

(Of course, someone is going to tell me that such a mod already exists, but hey ho.)
I'm the kind of player who makes everyone else look like a gaming god.

My Mods: REMS and OPAC

Mehni

Quoteis it even possible to check whether or not they are [wearing armour]?
sure. If you got a pawn, you got access to its apparel tracker, and the apparel tracker has an accessible list of what the pawn is wearing.

Quotethe better the armour, the happier the pawn will be
I strongly suggest you stick to that as a simple principle. The rest of your paragraph smells like overengineering.