Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.js
Show First 20 Lines • Show All 891 Lines • ▼ Show 20 Lines | "exploreMap": { | ||||
"set": checked => { | "set": checked => { | ||||
g_GameAttributes.settings.ExploreMap = checked; | g_GameAttributes.settings.ExploreMap = checked; | ||||
}, | }, | ||||
"enabled": () => g_GameAttributes.mapType != "scenario" && !g_GameAttributes.settings.RevealMap, | "enabled": () => g_GameAttributes.mapType != "scenario" && !g_GameAttributes.settings.RevealMap, | ||||
"initOrder": 1000 | "initOrder": 1000 | ||||
}, | }, | ||||
"disableTreasures": { | "disableTreasures": { | ||||
"title": () => translate("Disable Treasures"), | "title": () => translate("Disable Treasures"), | ||||
"tooltip": () => translate("Disable all treasures on the map."), | "tooltip": () => translate("Do not add treasures to the map."), | ||||
"default": () => false, | "default": () => false, | ||||
"defined": () => g_GameAttributes.settings.DisableTreasures !== undefined, | "defined": () => g_GameAttributes.settings.DisableTreasures !== undefined, | ||||
"get": () => g_GameAttributes.settings.DisableTreasures, | "get": () => g_GameAttributes.settings.DisableTreasures, | ||||
"set": checked => { | "set": checked => { | ||||
g_GameAttributes.settings.DisableTreasures = checked; | g_GameAttributes.settings.DisableTreasures = checked; | ||||
}, | }, | ||||
"enabled": () => g_GameAttributes.mapType != "scenario", | "enabled": () => g_GameAttributes.mapType != "scenario", | ||||
"initOrder": 1000 | "initOrder": 1000 | ||||
▲ Show 20 Lines • Show All 1,860 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator