sheet-parser/sheetContent.go

59 lines
1.6 KiB
Go
Raw Permalink Normal View History

2022-08-19 18:09:05 +02:00
package main
type Character struct {
2022-08-20 16:32:50 +02:00
Misc Misc `json:"misc"`
Stats []Stat `json:"stats"`
Skills []Skill `json:"skills"`
2023-02-01 12:39:32 +01:00
Spells []Spell `json:"spells"`
2022-12-31 00:21:29 +01:00
Feats []Feat `json:"feats"`
2022-08-19 18:09:05 +02:00
}
2022-08-20 16:32:50 +02:00
2022-08-19 18:09:05 +02:00
type Misc struct {
Level int `json:"level"`
Name string `json:"name"`
Race string `json:"race"`
Class string `json:"class"`
Background string `json:"background"`
PersonalityTrait string `json:"personalityTrait"`
Ideals string `json:"ideals"`
Bonds string `json:"bonds"`
Flaws string `json:"flaws"`
Quirk string `json:"quirk"`
ReliableTalent bool `json:"reliableTalent"`
JackOfAllTrades bool `json:"jackOfAllTrades"`
IsKurthog bool `json:"isKurthog"`
2022-08-19 18:09:05 +02:00
}
2022-12-31 00:21:29 +01:00
2022-08-20 16:32:50 +02:00
type Skill struct {
2023-02-01 12:39:32 +01:00
Name string `json:"name"`
2022-08-20 16:32:50 +02:00
Proficient bool `json:"proficient"`
Expertise bool `json:"expertise"`
BaseStat string `json:"baseStat"`
}
2022-12-31 00:21:29 +01:00
2022-08-20 16:32:50 +02:00
type Stat struct {
Name string `json:"name"`
Score int `json:"score"`
Proficient bool `json:"proficient"`
2022-08-19 18:09:05 +02:00
}
2022-12-31 00:21:29 +01:00
type Spell struct {
2023-02-01 12:39:32 +01:00
Name string `json:"name"`
Level int `json:"level"`
CastingTime string `json:"castingTime"`
Range int `json:"range"`
Components string `json:"components"`
Duration string `json:"duration"`
Attack_Save string `json:"attack_save"`
Damage_Effect string `json:"damage_effect"`
2023-02-01 12:39:32 +01:00
Description string `json:"description"`
School string `json:"school"`
AtHighLevel string `json:"atHighLevel"`
}
2022-12-31 00:21:29 +01:00
type Feat struct {
2023-02-01 12:39:32 +01:00
Name string `json:"name"`
Description string `json:"description"`
2022-12-31 00:21:29 +01:00
}