2020-12-28 17:34:40 +01:00
|
|
|
export interface DS4ActorDataType {
|
|
|
|
attributes: DS4ActorDataAttributes;
|
|
|
|
traits: DS4ActorDataTraits;
|
2020-12-28 15:51:00 +01:00
|
|
|
}
|
|
|
|
|
2020-12-28 17:34:40 +01:00
|
|
|
interface DS4ActorDataAttributes {
|
|
|
|
body: BodyAttribute;
|
|
|
|
mobility: ExtensibleData<number>;
|
|
|
|
mind: ExtensibleData<number>;
|
2020-12-28 15:51:00 +01:00
|
|
|
}
|
|
|
|
|
2020-12-28 17:34:40 +01:00
|
|
|
interface ExtensibleData<T extends any> {
|
|
|
|
initial: T;
|
2020-12-28 15:51:00 +01:00
|
|
|
}
|
|
|
|
|
2020-12-28 17:34:40 +01:00
|
|
|
// 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>;
|
2020-12-28 15:51:00 +01:00
|
|
|
}
|