From 0aa264dd9df3205cf9641f052b6622fd36b811d5 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Fri, 24 Dec 2021 14:10:39 +0100 Subject: Added custom 🦀 hat system (#39) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update NEUManager.java * Update 2.1.md * nopo asked --- Update Notes/2.1.md | 1 + src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Update Notes/2.1.md b/Update Notes/2.1.md index 11b57447..42457116 100644 --- a/Update Notes/2.1.md +++ b/Update Notes/2.1.md @@ -40,6 +40,7 @@ - [Added bingo profile icon to /pv](https://cdn.discordapp.com/attachments/832652653292027904/915844465372065842/unknown.png) - Fixed pet overlay not resetting pet when making new profile - Added a warning in the tooltip when price info couldn't be found/is outdated - Lulonaut +- Added custom runes and crab hat system - jani ### **Bug Fixes** - Made titanium overlay and waypoints work with dwarven overlay off - "fixed" divan rarity in NEUAH (scuffed) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java index b129f133..cb01206e 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java @@ -725,6 +725,10 @@ public class NEUManager { break; } } + if ("PARTY_HAT_CRAB".equals(internalname) && (ea.getString("party_hat_color") != null)) { + String crabhat = ea.getString("party_hat_color"); + internalname = "PARTY_HAT_CRAB" + "_" + crabhat.toUpperCase(); + } } return internalname; -- cgit