Skip to content

Commit

Permalink
Add link bonus icons
Browse files Browse the repository at this point in the history
  • Loading branch information
haihala committed Jul 15, 2024
1 parent a1035da commit 5e1cbc0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
Binary file added client/main/assets/icons/link-bonus-good.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 client/main/assets/icons/link-bonus-ok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions client/wag_core/src/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub enum Icon {
#[default]
Blank,

// Items
ThumbTacks(usize),
Boots,
Crowbar,
Expand All @@ -29,6 +30,11 @@ pub enum Icon {
KunaiBelt,
BladeOil,
SmithyCoupon,

// UI
OkLink,
GoodLink,
PerfectLink,
}
impl Icon {
pub fn paths() -> HashMap<Icon, String> {
Expand Down Expand Up @@ -57,6 +63,9 @@ impl Icon {
(Icon::SpaceSuitBoots, "icons/space-boots.png".into()),
(Icon::BladeOil, "icons/blade-oil.png".into()),
(Icon::SmithyCoupon, "icons/coupon.png".into()),
(Icon::OkLink, "icons/link-bonus-ok.png".into()),
(Icon::GoodLink, "icons/link-bonus-good.png".into()),
(Icon::PerfectLink, "icons/link-bonus-perfect.png".into()),
]
.into_iter()
.chain((1..9).map(|id| {
Expand Down
1 change: 1 addition & 0 deletions docs/tasks/before locals test/Notifications 2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [ ] Block meter gain
- [ ] Damage numbers
- [ ] Combo counter
- [ ] Link bonus
- [ ] Frame traps
- [ ] 'trapped' when you get counterhit out of recovery
- [ ] 'hard trapped' = 'trapped' + None of your moves would've been fast enough
Expand Down
Binary file not shown.

0 comments on commit 5e1cbc0

Please sign in to comment.