forked from liza/Questionable
Compare commits
2 Commits
1bd92659c3
...
a5c51b73dc
Author | SHA1 | Date | |
---|---|---|---|
|
a5c51b73dc | ||
|
e4905866c2 |
@ -36,7 +36,7 @@ public static class Utils
|
||||
if (questSchemaFile != null)
|
||||
{
|
||||
SchemaRegistry.Global.Register(
|
||||
new Uri("https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"),
|
||||
new Uri("https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"),
|
||||
JsonSchema.FromText(questSchemaFile.GetText()!.ToString()));
|
||||
}
|
||||
|
||||
|
@ -1,13 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"$id": "https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json",
|
||||
"title": "Questionable V1",
|
||||
"description": "A series of quest sequences",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string",
|
||||
"const": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"
|
||||
"enum":[
|
||||
"https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"
|
||||
]
|
||||
},
|
||||
"Author": {
|
||||
"description": "Author of the quest sequence",
|
||||
@ -854,6 +857,10 @@
|
||||
"description": "The action to use",
|
||||
"enum": [
|
||||
"Heavy Swing",
|
||||
"Bootshine",
|
||||
"Twin Snakes",
|
||||
"Demolish",
|
||||
"Dragon Kick",
|
||||
"Heavy Shot",
|
||||
"Cure",
|
||||
"Cure II",
|
||||
|
@ -8,6 +8,10 @@ public sealed class ActionConverter() : EnumConverter<EAction>(Values)
|
||||
private static readonly Dictionary<EAction, string> Values = new()
|
||||
{
|
||||
{ EAction.HeavySwing, "Heavy Swing" },
|
||||
{ EAction.Bootshine, "Bootshine" },
|
||||
{ EAction.TwinSnakes, "Twin Snakes" },
|
||||
{ EAction.Demolish, "Demolish" },
|
||||
{ EAction.DragonKick, "Dragon Kick" },
|
||||
{ EAction.HeavyShot, "Heavy Shot" },
|
||||
{ EAction.Cure, "Cure" },
|
||||
{ EAction.Cure2, "Cure II" },
|
||||
|
@ -7,6 +7,10 @@ namespace Questionable.Model.Questing;
|
||||
public enum EAction
|
||||
{
|
||||
HeavySwing = 31,
|
||||
Bootshine = 53,
|
||||
TwinSnakes = 61,
|
||||
Demolish = 66,
|
||||
DragonKick = 74,
|
||||
HeavyShot = 97,
|
||||
Cure = 120,
|
||||
Cure2 = 135,
|
||||
|
Loading…
Reference in New Issue
Block a user