Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:TomeIsPlayerTitleUnlocked

From RoR Wiki
Revision as of 19:50, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Tome functions
Version: WAR 1.4.8

Returns whether the player has unlocked a title.

unlocked = TomeIsPlayerTitleUnlocked(titleId)

Arguments

titleId
number – Title id.

Returns

unlocked
boolean – true if the title is unlocked; false if it is locked or the id is unknown.

Details

Errors

None besides the Invalid Parameters argument check.

Example

A minimal example built from the signature:

if( TomeIsPlayerTitleUnlocked( titleId ) ) then
    TomeSetActivePlayerTitle( titleId )
end

See also