Skip to content

Commit

Permalink
succubus icon by hima
Browse files Browse the repository at this point in the history
  • Loading branch information
Golbolco authored Nov 10, 2023
1 parent 3d3cf21 commit c5f86d7
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Games/types/Mafia/Winners.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = class MafiaWinners extends Winners {
return "Here's a little lesson in trickery, this is going down in history. If you wanna be a villain number one, then look no further than the Supervillain.";
case "Survivor":
return "Through the carnage, the Survivor drifted on.";
case "Tofurkey":
case "Squab":
return ":turkey: The grain shipments arrived in town a day too late. The streets were filled with wild Turkeys...";
case "Turkey":
return ":turkey: The grain shipments arrived in town a day too late. The streets were filled with wild Turkeys...";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const Role = require("../../Role");

module.exports = class Tofurkey extends Role {
module.exports = class Squab extends Role {
constructor(player, data) {
super("Tofurkey", player, data);
super("Squab", player, data);

this.alignment = "Hostile";
this.cards = [
Expand Down
4 changes: 2 additions & 2 deletions Games/types/Mafia/roles/cards/SubtractTurkeyOnDeath.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ module.exports = class SubtractTurkeyOnDeath extends Card {
(person.hasItem("Food") &&
person.alive &&
person.role.name !== "Turkey") ||
person.role.name !== "Tofurkey"
person.role.name !== "Squab"
) {
person.item.drop("Food");
person.dropItem("Food");
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Games/types/Mafia/roles/cards/WinIfOnlyTurkeyAlive.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = class WinIfOnlyTurkeyAlive extends Card {
this.game
.alivePlayers()
.filter(
(p) => p.role.name === "Turkey" || p.role.name === "Tofurkey"
(p) => p.role.name === "Turkey" || p.role.name === "Squab"
).length === aliveCount
) {
winners.addPlayer(this.player, this.name);
Expand All @@ -26,7 +26,7 @@ module.exports = class WinIfOnlyTurkeyAlive extends Card {
for (let player of this.game.players) {
if (
player.role.name === "Turkey" ||
(player.role.name === "Tofurkey" && player !== this.player)
(player.role.name === "Squab" && player !== this.player)
) {
this.revealToPlayer(player);
}
Expand Down
2 changes: 1 addition & 1 deletion data/contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const artContributors = {
"Nyarlathotep",
"Leprechaun",
"Benandante",
"Tofurkey",
"Squab",
"Seeker",
"Hider",
],
Expand Down
8 changes: 4 additions & 4 deletions data/roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1804,13 +1804,13 @@ const roleData = {
"Wins if all players left alive have went on a successful date.",
],
},
Tofurkey: {
Squab: {
alignment: "Hostile",
disabled: true,
newlyAdded: true,
description: [
"The game begins with a famine, with each player starting with four bread.",
"Tofurkeys are immune to the famine.",
"If a Tofurkey dies, each remaining player loses one meal.",
"Squabs are immune to the famine.",
"If a Squab dies, each remaining player loses one meal.",
"Wins if they survive to the end of the game and everyone else dies of famine.",
],
},
Expand Down
Binary file added react_main/public/images/roles/squab-vivid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added react_main/public/images/roles/succubus-vivid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed react_main/public/images/roles/tofurkey-vivid.png
Binary file not shown.
4 changes: 2 additions & 2 deletions react_main/src/css/roles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2455,8 +2455,8 @@
background-image: url("/images/roles/mistletoe-retro.png");
}

.role-icon-scheme-vivid .role-Mafia-Tofurkey {
background-image: url("/images/roles/tofurkey-vivid.png");
.role-icon-scheme-vivid .role-Mafia-Squab {
background-image: url("/images/roles/squab-vivid.png");
}

.role-icon-scheme-vivid .role-Mafia-Turkey {
Expand Down

0 comments on commit c5f86d7

Please sign in to comment.