luciensadi / AwakeMUD

The Community Edition fork of the 'Awakened Worlds' Shadowrun 3 MUD codebase.
Other
54 stars 30 forks source link

Elevator improvement: Elevator shafts #188

Closed luciensadi closed 5 years ago

luciensadi commented 5 years ago

Is your feature request related to a problem? Please describe. Astral characters cannot move between floors despite the fact that they should be able to.

Describe the solution you'd like Elevator shafts should connect all the floors that are reachable by elevator. It should be possible to access these shafts as an astral being, both from a floor where the elevator is as well as a floor where the elevator is not. Mortal characters may also access the elevator shafts, but this takes athletics and luck as you don't want to get creamed by a moving elevator car or caught up in the mechanisms.

Shafts could be a good way to get around lockouts described in #187.

luciensadi commented 5 years ago

Largely implemented in elevator-shafts branch. The only remaining issue is how to handle it when a character is in the shaft when a car moves past them. I'm currently thinking the car applies a S or D bludgeoning damage and forces the PC to fall. This seems pretty harsh though.

Also need to add the ability to bail out of the elevator car and re-enter it through an access hatch. It's not super-realistic since IRL access hatches are usually locked down and extremely dangerous to use since they're right by the pulley system. The purpose of this feature is to allow solo players to access the shaft when the elevator is already at their floor. Alternatively, maybe the elevator pauses for a moment before moving when you press the button?

luciensadi commented 5 years ago

Add a way for players to know where the elevator car is, other than the blocked exit. Maybe an item in the room that moves with the elevator, or maybe a modification to the look routine that scans the elevators to see if one matches the room?

luciensadi commented 5 years ago

Elevator car now shows in the room.

Still todo:

luciensadi commented 5 years ago

Added car damage.

luciensadi commented 5 years ago

Added button delay. Also added OPEN and CLOSE buttons to elevator panel, and parsed elevator panel for screenreaders. Merging to master.