From 6ef4d8460a56478a068886294d1bfbcf03936cec Mon Sep 17 00:00:00 2001 From: Orchaldir Date: Sun, 17 Sep 2023 12:28:58 +0200 Subject: [PATCH] [#72] Add Neckline --- .../src/model/equipment/appearance/shirt.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rpg_tools_core/src/model/equipment/appearance/shirt.rs b/rpg_tools_core/src/model/equipment/appearance/shirt.rs index 80943b20..628c2584 100644 --- a/rpg_tools_core/src/model/equipment/appearance/shirt.rs +++ b/rpg_tools_core/src/model/equipment/appearance/shirt.rs @@ -7,9 +7,21 @@ use serde::{Deserialize, Serialize}; #[derive(ui, Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)] pub struct Shirt { pub sleeves: Sleeves, + pub neckline: Neckline, pub color: Color, } +/// What style of neckline? +#[derive(Convert, ui, Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)] +pub enum Neckline { + Boat, + #[default] + Crew, + DeepV, + Scoop, + V, +} + /// What style of sleeves? #[derive(Convert, ui, Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)] pub enum Sleeves {