From: xangelo Date: Thu, 5 Dec 2024 18:49:40 +0000 (-0500) Subject: docs(content): new monster drops X-Git-Tag: v0.4.4~13 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=96e9c023f596b616688f204e023277f5342fc043;p=risinglegends.git docs(content): new monster drops - broken dagger - rat tail - slime residue - small tusk - splintered wood --- diff --git a/public/assets/css/base.css b/public/assets/css/base.css index 602b290..dcd2083 100644 --- a/public/assets/css/base.css +++ b/public/assets/css/base.css @@ -85,4 +85,10 @@ h3 { footer { margin-top: 2rem; text-align: center; +} + +.item-icon { + width: 32px; + height: 32px; + vertical-align: middle; } \ No newline at end of file diff --git a/public/assets/css/combat.css b/public/assets/css/combat.css index ff3b23d..2c0b427 100644 --- a/public/assets/css/combat.css +++ b/public/assets/css/combat.css @@ -30,5 +30,5 @@ } #fight-results { - margin-top: 1rem; + margin: 1rem 0; } \ No newline at end of file diff --git a/public/assets/img/icons/items/broken_dagger.png b/public/assets/img/icons/items/broken_dagger.png new file mode 100644 index 0000000..d99891d Binary files /dev/null and b/public/assets/img/icons/items/broken_dagger.png differ diff --git a/public/assets/img/icons/items/rat_tail.png b/public/assets/img/icons/items/rat_tail.png new file mode 100644 index 0000000..df0039f Binary files /dev/null and b/public/assets/img/icons/items/rat_tail.png differ diff --git a/public/assets/img/icons/items/slime_residue.png b/public/assets/img/icons/items/slime_residue.png new file mode 100644 index 0000000..859777c Binary files /dev/null and b/public/assets/img/icons/items/slime_residue.png differ diff --git a/public/assets/img/icons/items/small_tusk.png b/public/assets/img/icons/items/small_tusk.png new file mode 100644 index 0000000..8d2f0f6 Binary files /dev/null and b/public/assets/img/icons/items/small_tusk.png differ diff --git a/public/assets/img/icons/items/splintered_wood.png b/public/assets/img/icons/items/splintered_wood.png new file mode 100644 index 0000000..2599ca9 Binary files /dev/null and b/public/assets/img/icons/items/splintered_wood.png differ diff --git a/src/server/views/fight.ts b/src/server/views/fight.ts index 9981ff7..b0d9711 100644 --- a/src/server/views/fight.ts +++ b/src/server/views/fight.ts @@ -23,7 +23,7 @@ export function renderRoundDetails(roundData: FightRound): string { } roundData.rewards.items.forEach(item => { - html.push(`
${roundData.monster.name} dropped ${item.amount} ${item.name}
`); + html.push(`
${roundData.monster.name} dropped ${item.amount} ${item.name} ${item.name}
`); }); break; case 'monster':