Don't Starve Together
คะแนนไม่เพียงพอ
ModCategory
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
อัปเดต
56.749 KB
2 ม.ค. 2017 @ 2: 45pm
23 พ.ค. 2018 @ 6: 57pm
9 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
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  [ผู้สร้าง] 17 เม.ย. 2020 @ 7: 49am 
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 17 เม.ย. 2020 @ 5: 53am 
Does it work now? It doesn't work for me. How can I fix it ?
lifeking  [ผู้สร้าง] 13 ก.ค. 2019 @ 11: 10pm 
Thank you. I think the way to insert the label is not bad either.
Mobbstar 13 ก.ค. 2019 @ 9: 19am 
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