Modding:Active Parts: Difference between revisions

Jump to navigation Jump to search
13 bytes removed ,  22:30, 12 August 2020
m
Line 131: Line 131:
Individual parts can also override the method <code>public virtual bool WorksFor(GameObject obj)</code> in order to implement additional restrictions on what objects are valid subjects.
Individual parts can also override the method <code>public virtual bool WorksFor(GameObject obj)</code> in order to implement additional restrictions on what objects are valid subjects.


If an active part has no valid subjects, its status will be <code>NeedsSubject</code>.
If an active part has no valid subjects, its status will be NeedsSubject.


Where the parent object's current cell is referred to, it only applies to a cell the parent object is directly present in (not a cell its carrier or equipper is in, for example).
Where the parent object's current cell is referred to, it only applies to a cell the parent object is directly present in (not a cell its carrier or equipper is in, for example).
671

edits

Navigation menu