luciensadi / AwakeMUD

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

Adds garage door openers #647

Closed UndeadNappist closed 2 years ago

UndeadNappist commented 2 years ago

Moves has_key from do_move to utils.cpp and utils.hpp Vehicles now straight-up ignore doors if there's a valid apartment they are a guest or own and also the driver has a key in their pocket. Drones with MOD_POKEYSTICK and people on bikes can now push elevator buttons (there are no pokeystick mods yet).

None of this is properly tested, but it compiles without breaking. The logic for ignoring doors is also ugly as sin, but it'll probably work.

UndeadNappist commented 2 years ago

It works, but it basically silently phases you through the door without a message. I could also switch to having it be a door opener.

UndeadNappist commented 2 years ago

image

luciensadi commented 2 years ago

Thanks!