sm.creation.getBlueprintCost

Returns a table with uuid's and quantity. A body can be sent in to remove from blueprint cost.

Kind: Function

Environments: Game

Game

Overload 1

sm.creation.getBlueprintCost( filePath, bodyId )

Open the full Game reference

Parameters:

Name Type Description
filePath string The file path for the blueprint.
bodyId (optional) integer The id of a body.(Optional)

Returns:

Type Description
table The table of { Uuid, quantity }

Overload 2

sm.creation.getBlueprintCost( table, bodyId )

Open the full Game reference

Parameters:

Name Type Description
table table The lua table for the blueprint.
bodyId (optional) integer The id of a body.(Optional)

Returns:

Type Description
table The table of { Uuid, quantity }