mirror of
https://github.com/minetest-mods/craftguide.git
synced 2025-01-05 18:10:19 +01:00
Update README + API
This commit is contained in:
parent
16ceea1aaf
commit
a77fbb0cf5
11
API.md
11
API.md
@ -168,14 +168,3 @@ You can add a stereotype like so:
|
|||||||
```Lua
|
```Lua
|
||||||
craftguide.group_stereotypes.radioactive = "mod:item"
|
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
|
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