~/forever/addon-api/table/TraitNodeInfo
TraitNodeInfo
documented structure · SharedTraits
Structure TraitNodeInfo──FIELDS
- ID
- number
- posX
- number
- posY
- number
- flags
- number
- entryIDs
- table<number>
- entryIDsWithCommittedRanks
- table<number>
- canPurchaseRank
- bool
- canRefundRank
- bool
- isAvailable
- bool
- isVisible
- bool
- isDisplayError
- bool (True if this node fails the TRAIT_CONDITION_TYPE_DISPLAY_ERROR condition check. Used to communicate a problem with the node to the player (e.g. A prerequisite node has not been purchased.) but will not prevent the player from spending points on the node.)
- ranksPurchased
- number
- ranksIncreased
- number
- entryIDToRanksIncreased
- LuaValueVariant (A map of the entry IDs on this node to the number of ranks increased. This covers all entries on the node, which is important in the case of selection nodes where we have more than one option that could be increased.)
- activeRank
- number
- currentRank
- number
- activeEntry
- TraitEntryRankInfo, optional
- nextEntry
- TraitEntryRankInfo, optional
- maxRanks
- number
- totalMaxRanks
- number
- type
- TraitNodeType
- visibleEdges
- table<TraitOutEdgeInfo>
- meetsEdgeRequirements
- bool
- groupIDs
- table<number>
- conditionIDs
- table<number>
- isCascadeRepurchasable
- bool
- cascadeRepurchaseEntryID
- number, optional
- subTreeID
- number, optional (The SubTree this Node belongs to; Nil if it is not part of a SubTree)
- subTreeActive
- bool, optional (True if this node has a SubTreeID, and the SubTree is chosen or staged; May be nil if not part of a SubTree at all)
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.