From cb04dc166c6ab4fff1e4b066ddab40cb02c01758 Mon Sep 17 00:00:00 2001 From: endernon Date: Sat, 11 Jan 2025 20:29:20 +0000 Subject: [PATCH] git is cooking smth but idk what --- src/jsonstruct.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/jsonstruct.rs b/src/jsonstruct.rs index e7aa8ef..c83f9e2 100644 --- a/src/jsonstruct.rs +++ b/src/jsonstruct.rs @@ -10,7 +10,7 @@ use std::fs; pub struct Jsonconfig { // not a thing to be encoded, this just toggles debug prints. Also settable using --debug #[serde(alias = "Debug", alias = "DEBUG")] - pub debug: Option, + pub debug: Option, #[serde(alias = "itemtype", alias = "ITEM_TYPE", alias = "ITEMTYPE", alias = "Item_Type", alias = "Item_type", alias = "ItemType", alias = "Itemtype")] // Item Types (Gear, Tome, Charm, Crafted Gear, Crafted Consum) pub item_type: ItemTypeDeser, @@ -34,7 +34,7 @@ pub struct Jsonconfig { pub ids: Option>, #[serde(alias = "Powders", alias = "POWDERS", alias = "powder", alias = "Powder", alias = "POWDER")] // powders stuff - pub powders: Option>, + pub powders: Option>, #[serde(alias = "Rerolls", alias = "REROLLS", alias = "reroll", alias = "Reroll", alias = "REROLL")] pub rerolls: Option, } @@ -67,15 +67,15 @@ impl From for ClassType { } } #[derive(Deserialize, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone)] -pub struct SkillPointDeser { +pub struct SkillPointDeser { #[serde(alias = "Str", alias = "str", alias = "strength")] - pub strength: Option, + pub strength: Option, #[serde(alias = "Dex", alias = "dex", alias = "dexterity")] - pub dexterity: Option, + pub dexterity: Option, #[serde(alias = "Def", alias = "def", alias = "defense")] - pub defense: Option, + pub defense: Option, #[serde(alias = "Int", alias = "int", alias = "intelligence")] - pub intelligence: Option, + pub intelligence: Option, #[serde(alias = "Agi", alias = "agi", alias = "agility")] pub agility: Option, }