API to set a custom background

This commit is contained in:
Jean-Patrick Guerrero
2019-09-06 17:23:27 +02:00
parent 5f68d2de11
commit 6b76c8c10f
15 changed files with 59 additions and 82 deletions

9
API.md
View File

@ -151,3 +151,12 @@ You can add a stereotype like so:
```Lua
craftguide.group_stereotypes.radioactive = "mod:item"
```
#### `craftguide.background`
You can set a custom background theme by overriding this variable:
```Lua
craftguide.background = "my_custom_bg.png"
```