Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/options/options.json
Show First 20 Lines • Show All 538 Lines • ▼ Show 20 Lines | [ | ||||
"tooltip": "Color of neutral players when diplomacy colors are enabled.", | "tooltip": "Color of neutral players when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.neutral" | "config": "gui.session.diplomacycolors.neutral" | ||||
}, | }, | ||||
{ | { | ||||
"type": "color", | "type": "color", | ||||
"label": "Diplomacy colors: enemy", | "label": "Diplomacy colors: enemy", | ||||
"tooltip": "Color of enemies when diplomacy colors are enabled.", | "tooltip": "Color of enemies when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.enemy" | "config": "gui.session.diplomacycolors.enemy" | ||||
}, | |||||
{ | |||||
"type": "dropdown", | |||||
"label": "Snap to edges", | |||||
"tooltip": "Allows to align new structures with nearby existing structures.).", | |||||
bb: Too bad this Json structure disallows us to have the currently set hotkey in this string
The… | |||||
"config": "gui.session.snaptoedges", | |||||
"list": [ | |||||
{ "value": "optional", "label": "Optional", "tooltip": "You need to press a hotkey to enable snapping." }, | |||||
{ "value": "enabled", "label": "Enabled", "tooltip": "You need to press a hotkey to disable snapping." } | |||||
Done Inline ActionsMaybe "Hotkey Enable" and "Hotkey disable" would be a better names? "Enabled" should be the opposite of "disabled" thus always disabled. bb: Maybe "Hotkey Enable" and "Hotkey disable" would be a better names?
"Enabled" should be the… | |||||
] | |||||
} | } | ||||
] | ] | ||||
} | } | ||||
] | ] |
Wildfire Games · Phabricator
Too bad this Json structure disallows us to have the currently set hotkey in this string
The part in brackets would would in a perfect world be a tooltip when you hover your mouse over the dropdrown items (Never tried, maybe you can just add a "tooltip" key in the object below)