How to use the drama.ExtramaritalRomanticInterest function in drama

To help you get started, we’ve selected a few drama examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github james-owen-ryan / talktown / drama.py View on Github external
def _excavate_extramarital_romantic_interests(self):
        """Excavate cases where married characters are in love with people they are not married to."""
        extramarital_romantic_interests = []
        for person in self.simulation.town.residents:
            if person.spouse and person.love_interest is not person.spouse:
                subjects = (person, person.love_interest)
                extramarital_romantic_interests.append(ExtramaritalRomanticInterest(subjects=subjects))
        return extramarital_romantic_interests

drama

Delft Radar Modelling and perfornance Analysis (DRaMA)

GPL-3.0
Latest version published 5 months ago

Package Health Score

54 / 100
Full package analysis

Similar packages