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

Remplement and improve /setting in Lua, now called /set

This commit is contained in:
Perttu Ahola
2012-04-01 13:08:52 +03:00
parent b54178bbbd
commit 8ecfd88d92
4 changed files with 81 additions and 66 deletions

View File

@@ -516,6 +516,7 @@ minetest.register_authentication_handler(handler)
^ See minetest.builtin_auth_handler in builtin.lua for reference
Setting-related:
minetest.setting_set(name, value)
minetest.setting_get(name) -> string or nil
minetest.setting_getbool(name) -> boolean value or nil
minetest.add_to_creative_inventory(itemstring)