饑荒聯機版

饑荒聯機版

評價次數不足
ModCategory
   
獎勵
加入最愛
已加入最愛
移除最愛
檔案大小
發佈於
更新時間
56.749 KB
2017 年 1 月 2 日 下午 2:45
2018 年 5 月 23 日 下午 6:57
9 項更新註記 (檢視)

訂閱以下載
ModCategory

描述
MOD config category (client only)

Add category to MOD Configuration screen.
If compatible MOD the config item are categorized.

For MOD creators.
If you are having trouble with many config items, I hope that this MOD will be useful.


Example:
configuration_options = { { name = "ConfigSample", _mod_category = {"config","sample"}, -- *** options = { { description = "False", data = false }, { description = "True", data = true }, }, default = false }, }

Valid data type.
_mod_category = {"table"},
_mod_category = {"table", "multi-items"},
_mod_category = "strings",


Enjoy.
4 則留言
lifeking  [作者] 2020 年 4 月 17 日 上午 7:49 
This MOD is working on my client.
Categories are not displayed for mods that do not contain _mod_category.
UI is added to the left side only for compatible mods, and the category is displayed.
Is there a mod that doesn't work? I want a more detailed situation.
Alexandra 2020 年 4 月 17 日 上午 5:53 
Does it work now? It doesn't work for me. How can I fix it ?
lifeking  [作者] 2019 年 7 月 13 日 下午 11:10 
Thank you. I think the way to insert the label is not bad either.
Mobbstar 2019 年 7 月 13 日 上午 9:19 
You can also make Splitters by setting empty options like so:

local emptyoptions = {{description="", data=false}}
local function Breaker(name)
return {
name=name,
options=emptyoptions,
default=false,
}
end