Furniture Thought Classes - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

The Furniture module of the framework includes a special ThoughtWorker that creates a Thought if a pawn is nearby a given Building

  • ThoughtWorker_ThoughtFromNearbyThingDef: this class also works in tandem with a mod extension, ThoughtGiverByProximityDefExtension, to feed fields to the thoughtworker class. Example can be found here

How do I use this code?

First of all, you'll need to add <workerClass>VanillaFurnitureExpanded.ThoughtWorker_ThoughtFromNearbyThingDef</workerClass> to your Thought. Then , you'll need to add a mod extension VanillaFurnitureExpanded.ThoughtGiverByProximityDefExtension, and feed it the Building that you want to be the focal point of this Thought, and the radius.