@爱★彩虹
打开mod的modinfo.lua,以"小红猪的怪物入侵(Monster Invade)"mod为例,有一段设置代码
configuration_options =
{
{
name = "language",
label = "游戏语言(Language)",
options =
{
{description = "中文(Chinese)", data = "chinese", hover = "中文"},
{description = "英文(English)", data = "english", hover = "English" },
},
default = "chinese",
},
{
name = "invade_style",
label = "游戏难度(Game Mode)",
options =
{
{description = "简单休闲版(easy)", data = "easy", hover = "easy"},
{description = "普通打怪版(normal)", data = "normal", hover = "normal"},
{description = "疯狂卡瑞版(crazy)", data = "crazy", hover = "crazy"},
{description = "红猪呵呵版(hehe)", data = "hehe", hover = "hehe"},
},
default = "normal",
},
{
name = "give_start_item",
label = "是否给初始物品(Start Item)",
options =
{
{description = "是(Yes)", data = true, hover = "YES"},
{description = "否(No)", data = false, hover = "NO"},
},
default = false,
},
{
name = "original_roles_balance",
label = "原始角色配合模式(Original Roles Cooperation)",
options =
{
{description = "开(ON)", data = true, hover = "Original Roles Cooperation ON"},
{description = "关(OFF)", data = false, hover = "Original Roles Cooperation OFF"},
},
default = true,
},
}
那么想用简单版并且设置成给初始物品就写
["workshop-634660730"] = { enabled = false, --Monster Invade(小红猪的怪物入侵)
configuration_options =
{
invade_style = "easy", --【简单休闲版】
give_start_item = true, --【给初始物品】
}
},