Skip to content

Commit

Permalink
[#72] Add Neckline
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchaldir committed Sep 17, 2023
1 parent 0a0a02a commit 6ef4d84
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rpg_tools_core/src/model/equipment/appearance/shirt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6ef4d84

Please sign in to comment.