CoralMUD-0.18/
CoralMUD-0.18/core/
CoralMUD-0.18/data/
CoralMUD-0.18/data/help/
CoralMUD-0.18/data/players/
CoralMUD-0.18/data/socials/
CoralMUD-0.18/lib/automap/
CoralMUD-0.18/lib/items/
class Player
  def cmd_south command_table_entry, arg
    text_to_player "You walk south." + ENDL

    if in_room.exit_list[2] && in_room.exit_list[2].flags_state.is_set?(:closed)
      text_to_player "The exit is closed." + ENDL
      return
    end

    if !in_room.exit_list[2]
      if flags.include?("build walk")
        buildwalk(2)
      else
        text_to_player "You can't go that direction." + ENDL
        return
      end
    end
    in_room.exit_list[2].enter(self)
  end
end