1.0.2 • Published 9 months ago

@mothership-rpg/characters v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@mothership-rpg/characters

npm.io npm.io npm.io npm.io

Character generation

❯ npm install @mothership-rpg/characters
import { Character } from "@mothership-rpg/characters";

const character = new Character();
console.log(character);

Output:

Character {
  maxWounds: 2,
  skills: [
    TrainedSkill { name: 'Industrial Equipment', dependsOn: undefined },
    TrainedSkill { name: 'Zero-G', dependsOn: undefined },
    ExpertSkill { name: 'Pathology', dependsOn: [Array] },
    TrainedSkill { name: 'Botany', dependsOn: undefined }
  ],
  classType: Teamster {
    TRAUMA_RESPONSE: 'Once per session, you may take advantage on a panic check.'
  },
  saves: { sanity: 30, fear: 38, body: 23 },
  stats: { strength: 49, speed: 34, intellect: 50, combat: 38 },
  name: 'Jill Robel'
}
1.0.2

9 months ago