RpgBody

Class · author / trusted game code

class RpgBody: object · Source

Authored persistent body, bound one-to-one to a profile. Injury is a deficit from current capacity. Defeat at zero HP is deterministic; lethal outcomes require an explicit author opt-in. No parser-turn death or healing timers.

Authoring guide · Reporting guide · Reference index

Superclass: object (external)

Declared members

aidRemaining

aidRemaining = 0 · Source

condition

condition() · Source

dead

dead = nil · Source

endAction

endAction() · Source

healingSeconds

healingSeconds = 0 · Source

hp

hp() · Source

injury

injury = 0 · Source

lethal

lethal = nil · Source

mobilityDivisor

mobilityDivisor() · Source

profile

profile = nil · Source

restSeconds

restSeconds = 0 · Source

shock

shock = 0 · Source

stunned

stunned = nil · Source

unconscious

unconscious = nil · Source

wakingSeconds

wakingSeconds = 0 · Source

GitHub source