26 lines
674 B
TypeScript
26 lines
674 B
TypeScript
export interface DS4ActorDataType {
|
|
attributes: DS4ActorDataAttributes;
|
|
traits: DS4ActorDataTraits;
|
|
}
|
|
|
|
interface DS4ActorDataAttributes {
|
|
body: BodyAttribute;
|
|
mobility: ExtensibleData<number>;
|
|
mind: ExtensibleData<number>;
|
|
}
|
|
|
|
interface ExtensibleData<T extends any> {
|
|
initial: T;
|
|
}
|
|
|
|
// Blueprint in case we need more detailed differentiation
|
|
type BodyAttribute = ExtensibleData<number>;
|
|
|
|
interface DS4ActorDataTraits {
|
|
strength: ExtensibleData<number>;
|
|
constitution: ExtensibleData<number>;
|
|
agility: ExtensibleData<number>;
|
|
dexterity: ExtensibleData<number>;
|
|
intellect: ExtensibleData<number>;
|
|
aura: ExtensibleData<number>;
|
|
}
|