Skip to content

SHORTTUTORIAL: ExtendedThings

Roxx Ploxx edited this page May 25, 2017 · 4 revisions

NOTE: This is largely outdated due to A17's PatchOperations. Skip this.


ExtendedThing

This adds Component-like functionality to ANY "Verse.Thing" object in the game. Previously, only 'Verse.ThingWithComps' could have this done. In the example code, I have created a Plant that can have traps like entangling vines or land-mine like functionality. Compare this diagram to the diagram of Things and ThingDef which implements Components.

extended thing diagram

How To Make an Extended Thing

For now, by example from my code below.

Download Code

Link to code