PlaceableMaterialSchematic

Schematic that specifies the data for a placeable material component.

Inherits:

Summary
PlaceableMaterialSchematicSchematic that specifies the data for a placeable material component.
Functions
NKGetDurabilityLossOnCorrectHitReturns how much damage a tool with the correct category type will take from hitting this placeable material type.
NKGetDurabilityLossOnIncorrectHitReturns how much damage a tool with the incorrect category type will take from hitting this placeable material type.
NKGetMaterialCategoryReturns this material’s category.
NKGetMiningEmitterNameReturns this material’s mining emitter.
NKGetMiningEmitterAltNameReturns this material’s mining alternative emitter.
NKGetObjectRepReturns the name of the voxel clump object that is associated with this material

Functions

NKGetDurabilityLossOnCorrectHit

Returns how much damage a tool with the correct category type will take from hitting this placeable material type.

Returns

floatThe amount of damage a tool with the correct category type will take from hitting this placeable material type.

NKGetDurabilityLossOnIncorrectHit

Returns how much damage a tool with the incorrect category type will take from hitting this placeable material type.

Returns

floatThe amount of damage a tool with the incorrect category type will take from hitting this placeable material type.

NKGetMaterialCategory

Returns this material’s category.

Returns

intThe category for this material type.

NKGetMiningEmitterName

Returns this material’s mining emitter.  This function will be deprecated soon.  Just still a hold over from the old engine based object system.

Returns

stringThe name for this material’s emitter.

NKGetMiningEmitterAltName

Returns this material’s mining alternative emitter.  This function will be deprecated soon.  Just still a hold over from the old engine based object system.

Returns

stringThe name for this material’s alternative emitter.

NKGetObjectRep

Returns the name of the voxel clump object that is associated with this material

Returns

stringThe name for game object that represents this material.
Schematic containing data for constructing a placeable object.
Close