Modify Class Definition, Remove Parent
MCDRP <class>, <parent class>;
- The name of the class being modified.
- The class to be removed as one of the parents of
<class>. Only one parent class can be specified at a time.
This is a CLI command that removes the
<parent class> from
<class>. This means that all fields of
<parent class> (including any fields that it inherits) will now be removed from
<class>, with one exception -- if those fields are still valid from *other* parent classes of
<class>, or were already defined as part of
<class>, then those fields will not be affected.
Any nodes that have already been created from
<class>, plus any nodes that are of a class that inherits from
<class> will be modified to have the appropriate fields removed. Nodes that are currently loaded into the GOM will be modified immediately. Other nodes that are in storage will be modified when they are next loaded into the game.
For more information, please see MCDAP - Modify Class Definition, Add Parents.
: MCDRP "fruit", "saladbar" // Remove "saladbar" class as a parent of "fruit" class