Compare commits

...

2 Commits

Author SHA1 Message Date
Plogon Enjoyer
a5c51b73dc test new quest schema
(cherry picked from commit 1bd92659c3)
2024-08-31 18:32:27 +08:00
Plogon Enjoyer
e4905866c2 Added MNK actions "Twin Snakes", "Demolish", and "Dragon Kick" 2024-08-31 18:31:40 +08:00
4 changed files with 18 additions and 3 deletions

View File

@ -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()));
}

View File

@ -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",

View File

@ -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" },

View File

@ -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,