RpgAttempt

Class · author / trusted game code

class RpgAttempt: object · Source

Predeclare one slot per permitted (profile, approach) pair. Scalar state is journalled without allocating permanent entities during play. The slot is also the retry authority shared by parser, structured and dialogue actions.

Authoring guide · Reporting guide · Reference index

Superclass: object (external)

Declared members

achieved

achieved = nil · Source

approach

approach = nil · Source

calculationData

calculationData = nil · Source

critical

critical = nil · Source

dice

dice = [] · Source

kind

kind = nil · Source

margin

margin = nil · Source

oppositionCalculationData

oppositionCalculationData = nil · Source

oppositionCritical

oppositionCritical = nil · Source

oppositionDice

oppositionDice = [] · Source

oppositionMargin

oppositionMargin = nil · Source

oppositionRoll

oppositionRoll = nil · Source

oppositionScore

oppositionScore = nil · Source

oppositionSucceeded

oppositionSucceeded = nil · Source

outcome

outcome = nil · Source

profile

profile = nil · Source

recall

recall(result) · Source

recordedEnergySpent

recordedEnergySpent = 0 · Source

recordedTimeSpent

recordedTimeSpent = 0 · Source

remember

remember(result) · Source

revision

revision = -1 · Source

roll

roll = nil · Source

rollSucceeded

rollSucceeded = nil · Source

score

score = nil · Source

GitHub source