mirror of
https://github.com/bra1n/townsquare.git
synced 2025-04-04 22:24:36 +00:00
Using official generic icons as default icons for custom roles (#203)
This commit is contained in:
parent
f80ab9e68f
commit
2e3c5abcb4
8 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Upcoming version
|
## Upcoming version
|
||||||
|
|
||||||
|
- Using official generic icons as default custom icons
|
||||||
- Unique night order bubble for each player with the same role
|
- Unique night order bubble for each player with the same role
|
||||||
- Adding some special votes
|
- Adding some special votes
|
||||||
- Automatic Djinn and Bootlegger
|
- Automatic Djinn and Bootlegger
|
||||||
|
|
BIN
src/assets/icons/demon.png
Normal file
BIN
src/assets/icons/demon.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 88 KiB |
BIN
src/assets/icons/fabled.png
Normal file
BIN
src/assets/icons/fabled.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 109 KiB |
Binary file not shown.
Before ![]() (image error) Size: 99 KiB After ![]() (image error) Size: 102 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 107 KiB After ![]() (image error) Size: 103 KiB ![]() ![]() |
BIN
src/assets/icons/townsfolk.png
Normal file
BIN
src/assets/icons/townsfolk.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 114 KiB |
Binary file not shown.
Before ![]() (image error) Size: 128 KiB After ![]() (image error) Size: 103 KiB ![]() ![]() |
|
@ -238,11 +238,11 @@ export default new Vuex.Store({
|
||||||
if (rolesJSONbyId.get(role.id)) return role;
|
if (rolesJSONbyId.get(role.id)) return role;
|
||||||
role.imageAlt = // map team to generic icon
|
role.imageAlt = // map team to generic icon
|
||||||
{
|
{
|
||||||
townsfolk: "good",
|
townsfolk: "townsfolk",
|
||||||
outsider: "outsider",
|
outsider: "outsider",
|
||||||
minion: "minion",
|
minion: "minion",
|
||||||
demon: "evil",
|
demon: "demon",
|
||||||
fabled: "bootlegger",
|
fabled: "fabled",
|
||||||
traveler: "traveler",
|
traveler: "traveler",
|
||||||
}[role.team] || "custom";
|
}[role.team] || "custom";
|
||||||
role.firstNight = Math.abs(role.firstNight);
|
role.firstNight = Math.abs(role.firstNight);
|
||||||
|
|
Loading…
Add table
Reference in a new issue