horse: generate json

This commit is contained in:
2026-03-08 14:01:43 -04:00
parent 5540bb2c4e
commit 7ff271ff2d
28 changed files with 172829 additions and 60 deletions

View File

@@ -12,7 +12,7 @@ import (
"git.sunturtle.xyz/zephyr/horse/horse/global"
)
func RenderSkill(id horse.SkillID, all map[horse.SkillID]horse.Skill, groups map[int32][4]horse.SkillID) discord.ContainerComponent {
func RenderSkill(id horse.SkillID, all map[horse.SkillID]horse.Skill, groups map[horse.SkillGroupID][4]horse.SkillID) discord.ContainerComponent {
s, ok := all[id]
if !ok {
return discord.NewContainer(discord.NewTextDisplayf("invalid skill ID %v made it to RenderSkill", id))