mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-10 20:00:20 +01:00
Update README + API
This commit is contained in:
parent
16ceea1aaf
commit
5446e0dbdd
11
API.md
11
API.md
|
@ -168,14 +168,3 @@ 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 = "<file_name.png>#<middle>"
|
||||
|
||||
```
|
||||
|
||||
`middle` (number) refers to a 9-sliced background. Read the engine's Lua API documentation for more info.
|
||||
|
|
|
@ -19,4 +19,4 @@ For developers, `craftguide` also has a [modding API](https://github.com/minetes
|
|||
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
|
||||
|
||||
|
||||
![Preview2](https://i.imgur.com/IbexMwQ.png)
|
||||
![Preview2](https://i.imgur.com/GVQvufb.png)
|
||||
|
|
Loading…
Reference in New Issue
Block a user