Lara module

Module for interacting with the Lara's object.

Functions

  • trx.lara.item

    Returns
    trx.items.Item
    associated with Lara, or
    nil
    if the Lara object is not available.

  • trx.lara.exposure_bar

    Reads/writes exposure timer (cold water bar). The maximum value is 600. If the cold bar setting is disabled on the game flow level, the health must be managed manually from LUA.

  • trx.lara.air_bar

    Reads/writes Lara's air timer. The maximum value is 1800.

    Example:

    -- Infinite oxygen
    trx.events.on_control_post(function()
        trx.lara.air_bar = 1800
    end)