{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13588","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13588/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13588/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13588/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13588","id":107094064,"number":13588,"title":"Ramps","user":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-17T23:05:37Z","updated_at":"2015-09-19T17:36:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13588","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13588","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13588.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13588.patch"},"body":"Closes #6823\r\nCloses #6820 (if I understood Kevin correctly in the comments)\r\n\r\nRamps work like in Dwarf Fortress: being on a ramp allows you to walk up by walking into an obstacle next to the ramp, walking down onto a ramp is safe and doesn't cause a fall.\r\n\r\nThere is a small penalty (for player only) for moving orthogonally to the direction of the ramp - 50 moves (in addition to 50 moves for moving up on the ramp and 150 moves for entering the ramp tile).\r\nDirection of the ramp is marked by another terrain that has to be unpassable and have a \"RAMP_END\" flag.\r\n\r\nAdded \"low stairs\" that are ramps and have the two sections described above. Those do not spawn anywhere and are debug only for now, as 2D mode wouldn't work with them.\r\n\r\nNPCs do understand ramps, monsters only weakly so (currently only when they hear something above them)."},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/141692543","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13588#issuecomment-141692543","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13588","id":141692543,"user":{"login":"kevingranade","id":860276,"avatar_url":"https://avatars.githubusercontent.com/u/860276?v=3","gravatar_id":"","url":"https://api.github.com/users/kevingranade","html_url":"https://github.com/kevingranade","followers_url":"https://api.github.com/users/kevingranade/followers","following_url":"https://api.github.com/users/kevingranade/following{/other_user}","gists_url":"https://api.github.com/users/kevingranade/gists{/gist_id}","starred_url":"https://api.github.com/users/kevingranade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevingranade/subscriptions","organizations_url":"https://api.github.com/users/kevingranade/orgs","repos_url":"https://api.github.com/users/kevingranade/repos","events_url":"https://api.github.com/users/kevingranade/events{/privacy}","received_events_url":"https://api.github.com/users/kevingranade/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T17:36:55Z","updated_at":"2015-09-19T17:36:55Z","body":"Having the player simply swap with a monster if they fall onto them would be fine with me.\r\n\r\nOk, ramps seem to be working fine, I threw myself off by using \"slopes\" which are a hack to allow vertical motion while underwater IIRC.  I'm not going to insist on it for this PR, but we really need an (debug-only is fine) example of mapgen using them.\r\nA nice-to-have enhancement I thought of, ramps/low stairs seen from above could be drawn with the opposite symbol, so if you're on the same level as stairs it's \"<\" to indicate it lets you go up, and if you're above it it shows \">\" to show you can go down."}}