intficpy/ifp_game.py
def addTextToEvent(self, name, text):
        """
        Add text to an event in the current turn

        Raises KeyError if the specified event name is not defined for this
        turn
        """
        text = self.parser.replace_string_vars(text)
        if not name in self.next_events:
            raise KeyError(
                f"Event with name '{name}' does not yet exist in current turn. "
            )
        self.next_events[name]._text.append(text)

        Add text to an event in the current turn

        Raises KeyError if the specified event name is not defined for this
        turn
        
Add text to an event in the current turn
Raises KeyError if the specified event name is not defined for this
turn
Add text to an event in the current turn Raises KeyError if the specified event name is not defined for this turn
def addTextToEvent(self, name, text):
        text = self.parser.replace_string_vars(text)
        if not name in self.next_events:
            raise KeyError(
                f"Event with name '{name}' does not yet exist in current turn. "
            )
        self.next_events[name]._text.append(text)
def addTextToEvent ( self , name , text ) : text = self . parser . replace_string_vars ( text ) if not name in self . next_events : raise KeyError ( f"Event with name '{name}' does not yet exist in current turn. " ) self . next_events [ name ] . _text . append ( text )
Add text to an event in the current turn
Raises KeyError if the specified event name is not defined for this
turn
Add text to an event in the current turn Raises KeyError if the specified event name is not defined for this turn
"""
        Add text to an event in the current turn

        Raises KeyError if the specified event name is not defined for this
        turn
        """
self
name
text