intficpy/parser.py
def generateVerbScopeErrorMsg(self, scope, noun_adj_arr):
        """
        Prints the appropriate Thing out of scope message
        Takes arguments, scope, a string, and noun_adj_arr, a
        list of strings
        Returns None
        """
        noun = " ".join(noun_adj_arr)

        self.command.err = True

        if scope == "wearing":
            self.command.err = True
            return f"You aren't wearing any {noun}."

        if scope == "room" or scope == "near" or scope == "roomflex":
            out_loc = self.game.me.getOutermostLocation()
            if not out_loc.resolveDarkness(self.game):
                return "It's too dark to see anything."
            return f"I don't see any {noun} here."

        if scope == "knows":
            return f"You don't know of any {noun}."

        elif scope == "direction":
            return f"{noun.capitalize()} is not a direction I recognize."

        return f"You don't have any {noun}."

        Prints the appropriate Thing out of scope message
        Takes arguments, scope, a string, and noun_adj_arr, a
        list of strings
        Returns None
        
Prints the appropriate Thing out of scope message
Takes arguments, scope, a string, and noun_adj_arr, a
list of strings
Returns None
Prints the appropriate Thing out of scope message Takes arguments scope a string and noun_adj_arr a list of strings Returns None
def generateVerbScopeErrorMsg(self, scope, noun_adj_arr):
        noun = " ".join(noun_adj_arr)
        self.command.err = True
        if scope == "wearing":
            self.command.err = True
            return f"You aren't wearing any {noun}."
        if scope == "room" or scope == "near" or scope == "roomflex":
            out_loc = self.game.me.getOutermostLocation()
            if not out_loc.resolveDarkness(self.game):
                return "It's too dark to see anything."
            return f"I don't see any {noun} here."
        if scope == "knows":
            return f"You don't know of any {noun}."
        elif scope == "direction":
            return f"{noun.capitalize()} is not a direction I recognize."
        return f"You don't have any {noun}."
def generateVerbScopeErrorMsg ( self , scope , noun_adj_arr ) : noun = " " . join ( noun_adj_arr ) self . command . err = True if scope == "wearing" : self . command . err = True return f"You aren't wearing any {noun}." if scope == "room" or scope == "near" or scope == "roomflex" : out_loc = self . game . me . getOutermostLocation ( ) if not out_loc . resolveDarkness ( self . game ) : return "It's too dark to see anything." return f"I don't see any {noun} here." if scope == "knows" : return f"You don't know of any {noun}." elif scope == "direction" : return f"{noun.capitalize()} is not a direction I recognize." return f"You don't have any {noun}."
Prints the appropriate Thing out of scope message
Takes arguments, scope, a string, and noun_adj_arr, a
list of strings
Returns None
Prints the appropriate Thing out of scope message Takes arguments scope a string and noun_adj_arr a list of strings Returns None
"""
        Prints the appropriate Thing out of scope message
        Takes arguments, scope, a string, and noun_adj_arr, a
        list of strings
        Returns None
        """
self
scope
noun_adj_arr