Skip to content

Commit

Permalink
Add effects
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Sep 9, 2024
1 parent 94b42c8 commit b7e01ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/gegenstand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default class GegenstandCommand implements ApplicationCommand {
if (!item) {
await interaction.reply({
content: "Diesen Gegensand hast du nicht.",
ephemeral: true,
});
return;
}
Expand Down
3 changes: 3 additions & 0 deletions src/service/loot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const lootTemplates: loot.LootTemplate[] = [
"Dafür haben wir keine Kosten und Mühen gescheut und extra einen Kredit aufgenommen.",
emote: "🧊",
asset: "assets/loot/03-kuehlschrank.jpg",
effects: ["Lässt Essen nicht schimmeln"],
},
{
id: LootTypeId.DOENER,
Expand Down Expand Up @@ -176,6 +177,7 @@ const lootTemplates: loot.LootTemplate[] = [
description: "Fehlt dir nur noch das Geld zum Vorstrecken",
emote: "💉",
asset: "assets/loot/10-pkv.jpg",
effects: ["+100% Chance auf AU"],
},
{
id: LootTypeId.TRICHTER,
Expand Down Expand Up @@ -299,6 +301,7 @@ const lootTemplates: loot.LootTemplate[] = [
"Sollte dir ja nichts mehr anhaben, du bist ja durch den Server schon genug verstrahlt 🤷‍♂️",
emote: "☢️",
asset: "assets/loot/21-radioaktiver-muell.jpg",
effects: ["+5% Chance auf leeres Geschenk"],
},
{
id: LootTypeId.SAHNE,
Expand Down
1 change: 1 addition & 0 deletions src/storage/loot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface LootTemplate {
description: string;
emote?: string;
excludeFromInventory?: boolean;
effects?: string[];
specialAction?: (
context: BotContext,
winner: GuildMember,
Expand Down

0 comments on commit b7e01ee

Please sign in to comment.