Creatures module

Module for controlling certain creature behavior.

Properties

  • trx.creatures.hostile_allies (boolean). Whether Lara's allies are hostile towards her.

Functions

  • trx.creatures.add_ally(object_id)
    Marks an object as an ally of Lara. Every item of that type becomes an ally.

    Parameters:

    Example:

    trx.creatures.add_ally(trx.catalog.objects.monk_1)
    
  • trx.creatures.add_ally_target(object_id)
    Marks an object as one that will fight any of Lara's allies. Every item of that type will target them.

    Parameters:

    Example:

    trx.creatures.add_ally_target(trx.catalog.objects.bandit_1)