sm.pipeGraph.setInteractableCondition
Sets special conditions for allowing an interactable to craft.
Kind: Function
Environments: Game
Game
sm.pipeGraph.setInteractableCondition( requester, condition )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
requester |
Shape | The requesting shape. |
condition |
table | Values for special conditions to allow crafting. Uses "uuid", "tickFrequency", "remainingTicks"(optional), "consumptionCount", "onlyExternal". See Prospector.lua for example. |