diff --git a/resources/characters/characters.yaml b/resources/characters/characters.yaml
index 118e3c5e..8db3c0af 100644
--- a/resources/characters/characters.yaml
+++ b/resources/characters/characters.yaml
@@ -9,6 +9,11 @@
skin:
type: NormalSkin
color: Fair
+ clothing:
+ type: Simple
+ pants:
+ style: Regular
+ color: Blue
head:
ears:
type: Normal
@@ -66,6 +71,8 @@
skin:
type: Scales
color: Red
+ clothing:
+ type: None
head:
ears:
type: Normal
@@ -152,6 +159,11 @@
skin:
type: ExoticSkin
color: White
+ clothing:
+ type: Simple
+ pants:
+ style: Regular
+ color: Red
head:
ears:
type: Normal
@@ -206,6 +218,11 @@
skin:
type: ExoticSkin
color: Green
+ clothing:
+ type: Simple
+ pants:
+ style: Regular
+ color: Purple
head:
ears:
type: None
@@ -248,6 +265,11 @@
skin:
type: NormalSkin
color: Light
+ clothing:
+ type: Simple
+ pants:
+ style: Regular
+ color: Gray
head:
ears:
type: Normal
diff --git a/resources/templates/appearance_edit.html.tera b/resources/templates/appearance_edit.html.tera
index b925fea0..00f7aef6 100644
--- a/resources/templates/appearance_edit.html.tera
+++ b/resources/templates/appearance_edit.html.tera
@@ -437,6 +437,25 @@
{% endif %}
+
+ Clothing: {{ macros::add_select(name="appearance.body.clothing.type", options=[ "None","Simple" ], selected=appearance.body.clothing.type, update=true) }}
+
+ {% if appearance.body.clothing.type == "None" %}
+ {% elif appearance.body.clothing.type == "Simple" %}
+ -
+ Pants
+
+ -
+ Style: {{ macros::add_select(name="appearance.body.clothing.pants.style", options=[ "Balloon","Bermuda","HotPants","Regular","Shorts" ], selected=appearance.body.clothing.pants.style, update=true) }}
+
+ -
+ Color: {{ macros::add_select(name="appearance.body.clothing.pants.color", options=[ "Aqua","Black","Blue","Fuchsia","Gray","Green","Lime","Maroon","Navy","Olive","Orange","Purple","Red","SaddleBrown","Silver","Teal","White","Yellow" ], selected=appearance.body.clothing.pants.color, update=true) }}
+
+
+
+ {% endif %}
+
+
diff --git a/resources/templates/character.html.tera b/resources/templates/character.html.tera
index c2d69a4e..4f5888e1 100644
--- a/resources/templates/character.html.tera
+++ b/resources/templates/character.html.tera
@@ -438,6 +438,25 @@
{% endif %}
+
+ Clothing: {{ appearance.body.clothing.type }}
+
+ {% if appearance.body.clothing.type == "None" %}
+ {% elif appearance.body.clothing.type == "Simple" %}
+ -
+ Pants
+
+ -
+ Style: {{ appearance.body.clothing.pants.style }}
+
+ -
+ Color: {{ appearance.body.clothing.pants.color }}
+
+
+
+ {% endif %}
+
+
diff --git a/rpg_tools_core/examples/editor_macro.rs b/rpg_tools_core/examples/editor_macro.rs
index 1903f724..541c2c03 100644
--- a/rpg_tools_core/examples/editor_macro.rs
+++ b/rpg_tools_core/examples/editor_macro.rs
@@ -4,6 +4,7 @@ extern crate rpg_tools_core;
pub mod utils;
use crate::utils::write_each;
+use macro_core::visitor::UI;
use rpg_tools_core::model::character::appearance::Appearance;
use rpg_tools_core::ui::editor::EditorVisitor;
diff --git a/rpg_tools_core/examples/viewer_macro.rs b/rpg_tools_core/examples/viewer_macro.rs
index a44ac506..e6ecdf66 100644
--- a/rpg_tools_core/examples/viewer_macro.rs
+++ b/rpg_tools_core/examples/viewer_macro.rs
@@ -4,6 +4,7 @@ extern crate rpg_tools_core;
pub mod utils;
use crate::utils::write_each;
+use macro_core::visitor::UI;
use rpg_tools_core::model::character::appearance::Appearance;
use rpg_tools_core::ui::viewer::ViewerVisitor;