Skip to content

Furniture Thought Classes

juanosarg edited this page Aug 29, 2020 · 1 revision

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.

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Genes

Apparel

Cuisine

Furniture

Plants

Deprecated

Clone this wiki locally