Skip to content

SHORTTUTORIAL: ExtendedThings

roxxploxx edited this page May 4, 2017 · 4 revisions

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

Clone this wiki locally