Skip to content

Boolean Functions

Kakrain edited this page Jun 14, 2026 · 2 revisions

Boolean Functions For Records

Function Description
true true
false false
FieldExist(field:string):bool true if Field exists
isExtraDataOfAny(A:record group,category:string):bool Record is an ExtraData item of any in group record A
FieldIsNotEmpty(field:string) Field exists and is not empty
hasAnyAsExtraData(A:record group,category:string) Record has any record in A as ExtraData
allExtraDataIsWithin(A:record group,category:string) All ExtraData of this record belongs to ExtraData of A
isRemoved() is this Record removed or not
isAllChildrenUntil(condition1:bool,condition2:bool,optional category:string,optional maxVisits:int, optional leaveEarly:bool) is this Record or all of its children fulfilling condition1, searching all children until condition2 or until maxVisits or 50000 across the specified category or "lines", and stopsEarly assumes no dialogue is changed by another mod
isAnyChildUntil(condition1:bool,condition2,optional category:string,optional maxVisits:int, optional leaveEarly:bool) is this Record or all of its children fulfilling condition1, searching all children until condition2 or until maxVisits or 50000 across the specified category or "lines", and stopsEarly assumes no dialogue is changed by another mod
isLoop(optional category:string,optional maxVisits:int, optional leaveEarly:bool) search whether this Record is part of a loop until maxVisits or 50000 across the specified category or "lines", and stopsEarly assumes no dialogue is changed by another mod

Clone this wiki locally