1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 02:15:22 +02:00

Add support for set_formspec_prepend in main menu (#8611)

This commit is contained in:
rubenwardy
2019-08-12 18:16:35 +01:00
committed by sfan5
parent a067d40454
commit 91114b562f
5 changed files with 31 additions and 1 deletions

View File

@@ -79,6 +79,8 @@ core.explode_table_event(string) -> table
core.explode_textlist_event(string) -> table
^ returns e.g. {type="CHG", index=1}
^ type: "INV" (no row selected), "CHG" (selected) or "DCL" (double-click)
core.set_formspec_prepend(formspec)
^ string to be added to every mainmenu formspec, to be used for theming.
GUI:
core.set_background(type, texturepath,[tile],[minsize])