Project Zomboid

Project Zomboid

35 个评价
[B42] Ogrim Mod's - Sandbox Group Titles
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.049 MB
8 月 27 日 下午 3:51
8 月 30 日 上午 7:10
2 项改动说明 ( 查看 )

订阅以下载
[B42] Ogrim Mod's - Sandbox Group Titles

描述
Make the Sandbox Options screen readable by adding section headers that group related settings — perfect for mods with lots of sliders and toggles.

🔍 What it does
This API lets you insert group titles/subsections inside the game’s Sandbox window.
You define the first option of a group with a special _T_ marker; everything before "_T_" becomes the group’s key/title. The options after that entry are visually grouped until the next title.

🎯 Why use it

Cleaner UX for big configuration sets
Faster player onboarding & better readability
Drop-in, mod-agnostic and server-friendly

🧪 How to use (for modders)

1) Mark the first option of a group in your sandbox-options.txt
Everything left of "_T_" = group key


option ElectricSewing.IndustrialMachine_T_EfficiencyMultiplier
{
type = double,
min = 0.1, default = 3.0, max = 10.0,
page = ElectricSewing,
}
option ElectricSewing.IndustrialMachine_ActionTimeMultiplier
{
type = double,
min = 0.1, default = 1.0, max = 10.0,
page = ElectricSewing,
}


Above, IndustrialMachine becomes the group title. All following options are grouped until another *_T_* appears.

2) (Optional) Add a localized title in your language file (e.g., Sandbox_EN.txt):

Sandbox_Title_ElectricSewing.IndustrialMachine = "Industrial Sewing Machine"

Key format: Sandbox_Title_<Module>.<GroupKey>

If missing, the raw group key is shown.

3) Repeat for each section you want (e.g., OldMachine_T_*, PersonalMachine_T_*, etc.).

☕🧡 Want to Support me?
https://ko-fi.com/ogrimdooh

👥💬 Join the community!
https://discord.gg/rTd2P6pbEu

Workshop ID: 3557228372
Mod ID: GRM-SandboxGroupTitles
2 条留言
Cyanide MG 9 月 7 日 上午 7:46 
Stop complaining about the AI cover. This is the aesthetic of Ogrims mods, and it's a good way of recognising the mods. :cat_and_thoughts:
Super Toaster 9 月 1 日 下午 10:18 
ew ai cover