Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js
Show All 9 Lines | "submenu": [ | ||||
Engine.PushGuiPage("page_manual.xml"); | Engine.PushGuiPage("page_manual.xml"); | ||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
"caption": translate("Tutorial"), | "caption": translate("Tutorial"), | ||||
"tooltip": translate("Start the economic tutorial."), | "tooltip": translate("Start the economic tutorial."), | ||||
"onPress": () => { | "onPress": () => { | ||||
Engine.SwitchGuiPage("page_autostart.xml", { | Engine.SwitchGuiPage("page_autostart.xml", { | ||||
"attribs": { | |||||
"mapType": "scenario", | "mapType": "scenario", | ||||
"map": "maps/tutorials/starting_economy_walkthrough", | "map": "maps/tutorials/starting_economy_walkthrough", | ||||
"settings": { | "settings": { | ||||
"CheatsEnabled": true | "CheatsEnabled": true | ||||
}, | |||||
}, | |||||
"playerAssignments": { | |||||
"local": { | |||||
"player": 1, | |||||
"name": Engine.ConfigDB_GetValue("user", "playername.singleplayer") || Engine.GetSystemUsername() | |||||
} | } | ||||
}, | |||||
"storeReplay": true | |||||
}); | }); | ||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
"caption": translate("Structure Tree"), | "caption": translate("Structure Tree"), | ||||
"tooltip": colorizeHotkey(translate("%(hotkey)s: View the structure tree of civilizations featured in 0 A.D."), "structree"), | "tooltip": colorizeHotkey(translate("%(hotkey)s: View the structure tree of civilizations featured in 0 A.D."), "structree"), | ||||
"hotkey": "structree", | "hotkey": "structree", | ||||
"onPress": () => { | "onPress": () => { | ||||
▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator