From 1751e446f47000d9c68b319bc4f8802823662dc4 Mon Sep 17 00:00:00 2001 From: emilis Date: Fri, 17 Oct 2025 23:25:50 +0100 Subject: [PATCH] role icons for adjudicator, black knight, insomniac, mason, weightlifter. updated arcanist icon. --- werewolves/img/adjudicator.svg | 96 +++++++++ werewolves/img/arcanist.svg | 317 ++++++++++++------------------ werewolves/img/black-knight.svg | 74 +++++++ werewolves/img/insomniac.svg | 117 +++++++++++ werewolves/img/mason.svg | 105 ++++++++++ werewolves/img/weightlifter.svg | 131 ++++++++++++ werewolves/src/components/icon.rs | 18 +- 7 files changed, 656 insertions(+), 202 deletions(-) create mode 100644 werewolves/img/adjudicator.svg create mode 100644 werewolves/img/black-knight.svg create mode 100644 werewolves/img/insomniac.svg create mode 100644 werewolves/img/mason.svg create mode 100644 werewolves/img/weightlifter.svg diff --git a/werewolves/img/adjudicator.svg b/werewolves/img/adjudicator.svg new file mode 100644 index 0000000..0d0becc --- /dev/null +++ b/werewolves/img/adjudicator.svg @@ -0,0 +1,96 @@ + + + + diff --git a/werewolves/img/arcanist.svg b/werewolves/img/arcanist.svg index 0072419..d238dda 100644 --- a/werewolves/img/arcanist.svg +++ b/werewolves/img/arcanist.svg @@ -2,9 +2,9 @@ + transform="translate(-251.38511,-493.08201)"> diff --git a/werewolves/img/black-knight.svg b/werewolves/img/black-knight.svg new file mode 100644 index 0000000..b9317a8 --- /dev/null +++ b/werewolves/img/black-knight.svg @@ -0,0 +1,74 @@ + + + + diff --git a/werewolves/img/insomniac.svg b/werewolves/img/insomniac.svg new file mode 100644 index 0000000..cd00413 --- /dev/null +++ b/werewolves/img/insomniac.svg @@ -0,0 +1,117 @@ + + + + diff --git a/werewolves/img/mason.svg b/werewolves/img/mason.svg new file mode 100644 index 0000000..b6f925f --- /dev/null +++ b/werewolves/img/mason.svg @@ -0,0 +1,105 @@ + + + + diff --git a/werewolves/img/weightlifter.svg b/werewolves/img/weightlifter.svg new file mode 100644 index 0000000..60553d8 --- /dev/null +++ b/werewolves/img/weightlifter.svg @@ -0,0 +1,131 @@ + + + + diff --git a/werewolves/src/components/icon.rs b/werewolves/src/components/icon.rs index 7864ff9..a92ad0a 100644 --- a/werewolves/src/components/icon.rs +++ b/werewolves/src/components/icon.rs @@ -53,6 +53,11 @@ decl_icon!( Elder: "/img/elder.svg", Shapeshifter: "/img/shapeshifter.svg", Arcanist: "/img/arcanist.svg", + Adjudicator: "/img/adjudicator.svg", + Weightlifter: "/img/weightlifter.svg", + Insomniac: "/img/insomniac.svg", + BlackKnight: "/img/black-knight.svg", + Mason: "/img/mason.svg", ); impl IconSource { @@ -143,14 +148,13 @@ impl AssociatedIcon for Powerful { impl PartialAssociatedIcon for RoleTitle { fn icon(&self) -> Option { Some(match self { - RoleTitle::Adjudicator - | RoleTitle::MasonLeader - | RoleTitle::BlackKnight - | RoleTitle::Weightlifter - | RoleTitle::Insomniac - | RoleTitle::AlphaWolf - | RoleTitle::DireWolf => return None, + RoleTitle::AlphaWolf | RoleTitle::DireWolf => return None, + RoleTitle::MasonLeader => IconSource::Mason, + RoleTitle::BlackKnight => IconSource::BlackKnight, + RoleTitle::Insomniac => IconSource::Insomniac, + RoleTitle::Weightlifter => IconSource::Weightlifter, + RoleTitle::Adjudicator => IconSource::Adjudicator, RoleTitle::Arcanist => IconSource::Arcanist, RoleTitle::Shapeshifter => IconSource::Shapeshifter, RoleTitle::Elder => IconSource::Elder,