diff --git a/cs-official.go b/cs-official.go new file mode 100644 index 0000000..416c681 --- /dev/null +++ b/cs-official.go @@ -0,0 +1,83 @@ +package main + +type Root struct { + Acronym string `json:"acronym"` + Backgrounds []Backgrounds `json:"backgrounds"` + Classes []Classes `json:"classes"` + Feats []Feats `json:"feats"` + Races []Races `json:"races"` + Spells []Spells `json:"spells"` + Name string `json:"name"` +} + +type Entry struct { + Type string `json:"type"` + Style string `json:"style"` + Items []Items `json:"items"` +} + +type Items struct { + Type string `json:"type"` + Name string `json:"name"` + Entry string `json:"entry"` +} + +type SkillProficiencies struct { + Performance bool `json:"performance"` + Perception bool `json:"perception"` + Persuasion bool `json:"persuasion"` +} + +type ToolProficiencies struct { + Disguise_kit bool `json:"disguise kit"` +} + +type Races struct { + LanguageProficiencies []LanguageProficiencies `json:"languageProficiencies"` + Short string `json:"short"` + Size string `json:"size"` + Entries []string `json:"entries"` + URL string `json:"URL"` + Name string `json:"name"` + Speed float64 `json:"speed"` + Ability []Ability `json:"ability"` + SkillProficiencies []SkillProficiencies `json:"skillProficiencies"` +} + +type Entries struct { + Name string `json:"name"` + Entries []Entries `json:"entries"` + Type string `json:"type"` +} + +type Backgrounds struct { + HasFluff bool `json:"hasFluff"` + Name string `json:"name"` + Source string `json:"source"` + HasFluffImages bool `json:"hasFluffImages"` + Page float64 `json:"page"` + Entry []Entry `json:"entry"` + Entries []string `json:"entries"` + SkillProficiencies []SkillProficiencies `json:"skillProficiencies"` + LanguageProficiencies []LanguageProficiencies `json:"languageProficiencies"` + ToolProficiencies []ToolProficiencies `json:"toolProficiencies"` + StartingEquipment []StartingEquipment `json:"startingEquipment"` +} + +type LanguageProficiencies struct { + Any float64 `json:"any"` + Goblin bool `json:"goblin"` + Any float64 `json:"any"` + Common bool `json:"common"` +} + +type StartingEquipment struct { + _ []string `json:"_"` +} + +type Ability struct { + Con float64 `json:"con"` + Cha float64 `json:"cha"` +} + +type RootArray []Root diff --git a/dragon.json b/dragon.json new file mode 100644 index 0000000..7d8faa8 --- /dev/null +++ b/dragon.json @@ -0,0 +1,85 @@ +{ + "races": [ + { + "name": "m3R1 FUCKER", + "ability": [ + {} + ], + "entries": [], + "languageProficiencies": [ + { + "any": 1, + "common": true + } + ], + "size": "M", + "speed": 30, + "subraces": [ + { + "name": "Basic", + "ability": [ + { + "str": 1, + "dex": 1, + "con": 1, + "int": 1, + "wis": 1, + "cha": 1 + } + ] + }, + { + "name": "Variant", + "choose": true, + "ability": [ + { + "choose": { + "from": [ + "str", + "dex", + "con", + "int", + "wis", + "cha" + ], + "count": 2 + } + } + ], + "entries": [], + "feats": { + "choose": 1 + }, + "skillProficiencies": [ + { + "choose": { + "from": [ + "athletics", + "acrobatics", + "sleight of hand", + "stealth", + "arcana", + "history", + "investigation", + "nature", + "religion", + "animal handling", + "insight", + "medicine", + "perception", + "survival", + "deception", + "intimidation", + "performance", + "persuasion" + ] + } + } + ] + } + ], + "short": "In the reckonings of most worlds, humans are the youngest of the common races, late to arrive on the world scene and short-lived in comparison to dwarves, elves, and dragons.", + "URL": "https://i.pinimg.com/originals/64/ad/d5/64add58df35a2e54b493f34cb266a7e2.jpg" + } + ] +} \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..4ae6d23 --- /dev/null +++ b/readme.md @@ -0,0 +1,3 @@ +[dragon](a5ecs://git.merith.xyz/merith-tk/dungeondev/raw/branch/main/dragon.json) + +https://i.pinimg.com/originals/64/ad/d5/64add58df35a2e54b493f34cb266a7e2.jpg \ No newline at end of file