tuxemon.event.conditions.has_party_breeder module

class tuxemon.event.conditions.has_party_breeder.HasPartyBreederCondition[source]

Bases: EventCondition

Check to see if the player has a male and female monsters not basic (first evolution stage) in the party.

Script usage

is has_party_breeder
name: ClassVar[str] = 'has_party_breeder'
test(session, condition)[source]

Check to see if the player has a technique in his party.

Parameters:
  • session (Session) – The session object

  • condition (MapCondition) – The map condition object.

Returns:

Whether the player has a technique in his party.

Return type:

bool