From 2779b45ca9c403798dd766a18560aaadc61581b0 Mon Sep 17 00:00:00 2001 From: Lucien Date: Sat, 11 Jan 2025 23:18:12 -0800 Subject: [PATCH] Changed from auto-closing doors to simple movement deny. --- src/spec_procs.cpp | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/spec_procs.cpp b/src/spec_procs.cpp index 5f51fa613..d5e004b3a 100644 --- a/src/spec_procs.cpp +++ b/src/spec_procs.cpp @@ -7895,29 +7895,20 @@ SPECIAL(grenada_gatekeeper) switch (GET_MOB_VNUM(mob)) { case 101310: if (CMD_IS("north")) { - if (EXIT(ch, NORTH) && !IS_SET(EXIT(ch, NORTH)->exit_info, EX_CLOSED)) { - send_to_char(ch, "The door slides shut as you approach it.\r\n"); - SET_BIT(EXIT(ch, NORTH)->exit_info, EX_CLOSED); - return TRUE; - } + act("$N shakes $S head at you and gestures you back with a \"Sorry, that's for employees only.\"", FALSE, ch, 0, mob, TO_CHAR); + return TRUE; } break; case 101311: if (CMD_IS("west")) { - if (EXIT(ch, WEST) && !IS_SET(EXIT(ch, WEST)->exit_info, EX_CLOSED)) { - send_to_char(ch, "The door slides shut as you approach it.\r\n"); - SET_BIT(EXIT(ch, WEST)->exit_info, EX_CLOSED); - return TRUE; - } + act("$N shakes $S head at you and gestures you back with a \"Sorry, that's for employees only.\"", FALSE, ch, 0, mob, TO_CHAR); + return TRUE; } break; case 101312: if (CMD_IS("east")) { - if (EXIT(ch, EAST) && !IS_SET(EXIT(ch, EAST)->exit_info, EX_CLOSED)) { - send_to_char(ch, "The door slides shut as you approach it.\r\n"); - SET_BIT(EXIT(ch, EAST)->exit_info, EX_CLOSED); - return TRUE; - } + act("$N shakes $S head at you and gestures you back with a \"Sorry, that's for employees only.\"", FALSE, ch, 0, mob, TO_CHAR); + return TRUE; } break; default: