feat: auto ladder climbing and ledge prompts #3141
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Features "Made ladders work like ramps and ledges auto-examinable"
Purpose of change
There's two way of going down a ledge:
option 2 can only be accessed via
(e)xamine
, and 90% of time climbing down is a better choice.moving z-levels up and down with stepladders were also tiresome.
Describe the solution
game::prompt_dangerous_tile
to calliexamine::ledge
instead if and only if dangerous terrain is ledge.LADDER
flag act as ramps. when climbing up, the check is done just before handling invalid moves to not interfere with walking, opening door, etc.Describe alternatives you've considered
Dangerous terrain warning prompt
?Testing
2023-09-15_14-19-02.mp4
2023-09-15_15-22-38.mp4
auto ladder and grappling hooks climbing (anything with
LADDER
flag will work)2023-09-15_15-10-41.mp4
auto ledge prompts