aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2021-12-24 14:10:39 +0100
committerGitHub <noreply@github.com>2021-12-24 14:10:39 +0100
commit0aa264dd9df3205cf9641f052b6622fd36b811d5 (patch)
treed309fcd50a8b9a3eea7c1ef1025ba25948a5d22f
parent58ff94539f7e9fc092c2755bb9aba884abe7f5ee (diff)
downloadNotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.tar.gz
NotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.tar.bz2
NotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.zip
Added custom 🦀 hat system (#39)
* Update NEUManager.java * Update 2.1.md * nopo asked
-rw-r--r--Update Notes/2.1.md1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java4
2 files changed, 5 insertions, 0 deletions
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;