@mothership-rpg/characters
v1.0.2
Published
A library for creating characters in Mothership RPG
Downloads
78
Readme
@mothership-rpg/characters
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'
}