Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/gamesetup.js
Show First 20 Lines • Show All 886 Lines • ▼ Show 20 Lines | "cheatWarningText": { | ||||
"hidden": () => !g_IsNetworked || !g_GameAttributes.settings.CheatsEnabled, | "hidden": () => !g_IsNetworked || !g_GameAttributes.settings.CheatsEnabled, | ||||
}, | }, | ||||
"cancelGame": { | "cancelGame": { | ||||
"tooltip": () => | "tooltip": () => | ||||
Engine.HasXmppClient() ? | Engine.HasXmppClient() ? | ||||
translate("Return to the lobby.") : | translate("Return to the lobby.") : | ||||
translate("Return to the main menu."), | translate("Return to the main menu."), | ||||
}, | }, | ||||
"gameSetupButton": { | |||||
"tooltip": () => | |||||
translate("Show game setup options.") | |||||
}, | |||||
"startGame": { | "startGame": { | ||||
"caption": () => | "caption": () => | ||||
g_IsController ? translate("Start Game!") : g_ReadyData[g_IsReady].caption, | g_IsController ? translate("Start Game!") : g_ReadyData[g_IsReady].caption, | ||||
"tooltip": (hoverIdx) => | "tooltip": (hoverIdx) => | ||||
!g_IsController ? | !g_IsController ? | ||||
g_ReadyData[g_IsReady].tooltip : | g_ReadyData[g_IsReady].tooltip : | ||||
!g_IsNetworked || Object.keys(g_PlayerAssignments).every(guid => | !g_IsNetworked || Object.keys(g_PlayerAssignments).every(guid => | ||||
g_PlayerAssignments[guid].status || g_PlayerAssignments[guid].player == -1) ? | g_PlayerAssignments[guid].status || g_PlayerAssignments[guid].player == -1) ? | ||||
▲ Show 20 Lines • Show All 1,552 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator