RpgProfile¶
Class · author / trusted game code
class RpgProfile: object · Source
Share this model between protagonists and supporting characters. skills and traits are authored lists. Optional modules add injury, recovery and progression; a core-only profile retains the simple energy pool.
Authoring guide · Reporting guide · Reference index
Superclass: object (external)
Derived declarations: RpgLiteProfile
Declared members¶
- actor — property
- afterAttempt — method
- attributeScore — method
- blockedReason — method
- developmentOpen — property
- developmentRevision — property
- dx — property
- earnedPoints — property
- energy — property
- ht — property
- iq — property
- maxEnergy — property
- maxHP — property
- modifiersFor — method
- perception — property
- resilience — property
- skillLearningReason — method
- skillLearningWithTeacherReason — method
- skills — property
- skillScore — method
- st — property
- traits — property
- unspentPoints — property
- will — property
actor¶
actor = nil · Source
afterAttempt¶
afterAttempt(c, result) · Source
afterAttempt(c, result) · Source
attributeScore¶
attributeScore(which) · Source
blockedReason¶
blockedReason(c) · Source
Observational extension points. Optional modules supply condition state.
blockedReason(c) · Source
developmentOpen¶
developmentOpen = nil · Source
developmentRevision¶
developmentRevision = 0 · Source
dx¶
dx = 10 · Source
earnedPoints¶
earnedPoints = 0 · Source
energy¶
energy = (maxEnergy) · Source
ht¶
ht = 10 · Source
iq¶
iq = 10 · Source
maxEnergy¶
maxEnergy = (ht) · Source
maxHP¶
maxHP = (st) · Source
modifiersFor¶
modifiersFor(c) · Source
modifiersFor(c) · Source
perception¶
perception = (iq) · Source
resilience¶
resilience = nil · Source
skillLearningReason¶
skillLearningReason(skill) · Source
Optional profile rules may reject learning before any resources are spent.
skillLearningWithTeacherReason¶
skillLearningWithTeacherReason(skill, teacher) · Source
skills¶
skills = [] · Source
skillScore¶
skillScore(skill) · Source
st¶
st = 10 · Source
traits¶
traits = [] · Source
unspentPoints¶
unspentPoints = 0 · Source
will¶
will = (iq) · Source