{"action":"created","issue":{"url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/128","repository_url":"https://api.github.com/repos/LambdaHack/LambdaHack","labels_url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/128/comments","events_url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/128/events","html_url":"https://github.com/LambdaHack/LambdaHack/issues/128","id":284729428,"number":128,"title":"A master menu that links to all the other menus in game","user":{"login":"Mikolaj","id":281893,"avatar_url":"https://avatars3.githubusercontent.com/u/281893?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikolaj","html_url":"https://github.com/Mikolaj","followers_url":"https://api.github.com/users/Mikolaj/followers","following_url":"https://api.github.com/users/Mikolaj/following{/other_user}","gists_url":"https://api.github.com/users/Mikolaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikolaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikolaj/subscriptions","organizations_url":"https://api.github.com/users/Mikolaj/orgs","repos_url":"https://api.github.com/users/Mikolaj/repos","events_url":"https://api.github.com/users/Mikolaj/events{/privacy}","received_events_url":"https://api.github.com/users/Mikolaj/received_events","type":"User","site_admin":false},"labels":[{"id":781202071,"url":"https://api.github.com/repos/LambdaHack/LambdaHack/labels/brainstorm","name":"brainstorm","color":"dd4fac","default":false},{"id":719911187,"url":"https://api.github.com/repos/LambdaHack/LambdaHack/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true},{"id":96299539,"url":"https://api.github.com/repos/LambdaHack/LambdaHack/labels/self-contained","name":"self-contained","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-27T14:03:10Z","updated_at":"2017-12-27T23:09:10Z","closed_at":null,"author_association":"OWNER","body":"Perhaps it should be bound to the ~ character. It should link to lore menu (~ menu currently), equipment menu (e.g., P menu), History, Help, all the others in the future.\r\n\r\nThis is especially useful for mouse-only play, because there is no need to remember the various screen areas that invoke individual menus.\r\n\r\nPerhaps even list all screens (submenus) in the game, so that the player never needs to move between screens with `/` key, which sometimes requires many keystrokes."},"comment":{"url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/comments/354193533","html_url":"https://github.com/LambdaHack/LambdaHack/issues/128#issuecomment-354193533","issue_url":"https://api.github.com/repos/LambdaHack/LambdaHack/issues/128","id":354193533,"user":{"login":"Mikolaj","id":281893,"avatar_url":"https://avatars3.githubusercontent.com/u/281893?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikolaj","html_url":"https://github.com/Mikolaj","followers_url":"https://api.github.com/users/Mikolaj/followers","following_url":"https://api.github.com/users/Mikolaj/following{/other_user}","gists_url":"https://api.github.com/users/Mikolaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikolaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikolaj/subscriptions","organizations_url":"https://api.github.com/users/Mikolaj/orgs","repos_url":"https://api.github.com/users/Mikolaj/repos","events_url":"https://api.github.com/users/Mikolaj/events{/privacy}","received_events_url":"https://api.github.com/users/Mikolaj/received_events","type":"User","site_admin":false},"created_at":"2017-12-27T23:09:10Z","updated_at":"2017-12-27T23:09:10Z","author_association":"OWNER","body":"I think we'd best simplify the menu code before that. It should be less typed. Currently a menu returns a keypress or an item slot and, similarly, it takes a complex datastructure as specification of its look and behaviour. Sometimes this is not general enough and the slots are artificial. \r\n\r\nIt should all operate on strings or at most strings and key codes. Then each menu screen has the same type, without any artificial hacks, and we can put them all on a map, labelled with strings. Then the master menu just displays the map. We can also keep saved positions in each of the menu, indexed by their names, etc. When I want to run a menu, I specify the name, provide the untyped data and it's run. Dispatch of the result of the menu bring it back to the typed world and again run this or another menu, if needed.\r\n"}}
{"actor":{"display_login":"Mikolaj"}}