Skip to content

Commit

Permalink
Süßer Biber als Loot item hinzugefügt
Browse files Browse the repository at this point in the history
  • Loading branch information
twobiers committed Nov 26, 2024
1 parent 38b3b45 commit 3a7cb08
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Binary file added assets/loot/36-biber.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/service/lootData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export enum LootKindId {
THUNFISCHSHAKE = 33,
KAFFEEMUEHLE = 34,
AWS_RECHNUNG = 35,
BIBER = 36,
}

export enum LootAttributeClassId {
Expand Down Expand Up @@ -475,6 +476,15 @@ export const lootTemplates: LootTemplate[] = [
emote: ":package:",
asset: "assets/loot/35-aws-rechnung.png",
},
{
id: LootKindId.BIBER,
weight: 2,
displayName: "Süßer Biber",
titleText: "Bóbr",
dropDescription: "Bóbr kurwa! Ja pierdolę! Jakie bydlę!",
emote: ":beaver:",
asset: "assets/loot/36-biber.jpg",
},
] as const;

/*
Expand Down
2 changes: 1 addition & 1 deletion src/storage/migrations/10-loot-attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function up(db: Kysely<any>) {
.returningAll()
.executeTakeFirstOrThrow();

if (lootKindId === 1 /* LootKindId.KADSE */) {
if (lootKindId === 1 /* LootKindId.KADSE */ || lootKindId === 36 /* LootKindId.BIBER */) {
await db
.insertInto("lootAttribute")
.values({
Expand Down

0 comments on commit 3a7cb08

Please sign in to comment.