# sm.game.setEnableRecipes

Enables and disables recipes. If true, player's will need to unlock recipes before they become available for crafting.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.game.setEnableRecipes( enableRecipes )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.game.md#setenablerecipes)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `enableRecipes` | boolean | The enable state. |
