Lua and YOU!
Moderator: Moderators
Re: Lua and YOU!
Okie doke, although I'm away from my source ATM, so there will be a hang-time before I can test it.
Re: Lua and YOU!
1. Copy a fresh install's LuaUI folder
2. add gamedata/LockLuaUI.txt
3. Modoption:
{
key = "lockui",
name = "Block external widgets",
desc = "Block widgets not included in the mod to keep a level playing field.",
type = "bool",
def = true,
},
4. /luaui.lua:
2. add gamedata/LockLuaUI.txt
3. Modoption:
{
key = "lockui",
name = "Block external widgets",
desc = "Block widgets not included in the mod to keep a level playing field.",
type = "bool",
def = true,
},
4. /luaui.lua:
- Attachments
-
- luaui.lua
- (1.68 KiB) Downloaded 35 times
Re: Lua and YOU!
Hey lurker is that the thing we were talking about that used the mod name to specify that the widget was designed to work with X project?
Re: Lua and YOU!
Well that's a lot more to do than this... 3 lines + modoption.