-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Grab Bags ItemDropDatabase with 1.4.4 Changes #3832
Conversation
Will investigate soon: I think the biome crates are dropping 5-13 gold coins instead of 5-12. ( |
You mentioned looking into something, is this PR ready for review right now? |
Sorry I've been super busy IRL so I haven't looked into it yet. John Snail pointed out on #3814 that the implementation for that may need to be changed, too. |
Ok, just checking. |
Ok, updated and ready for review now. |
Great, working on it. |
* EoW, BoC, Golds, Ices, Lock Boxes * Better Don't Dig Up Rules * Magic numbers to full names * Travelling Merchant with two Ls' items * Banished NotScalingWithLuckWithNumerator Class * NotScalingWithLuckWithNumerator returns * Moon Lord Bag and Biome Crate Coins * Fix other inconsistencies. --------- Co-authored-by: JavidPack <javidpack@gmail.com>
What is the bug?
Some of the grab bags were not updated for 1.4.4, this includes:
FromOptionsWithoutRepeatsDropRule
to not drop the same item twice.How did you fix the bug?
Adjusted the drops for each of them to match the 1.4.4 changes.
Are there alternatives to your fix?
IsNotMaster
andIsMaster
drop, there could be a regularCommon
drop and aIsMaster
drop that makes up the difference. I thought that would be less readable, so I didn't do it that way.For the Gold and Titanium Crates, I created a newA newNotScalingWithLuckWithNumerator
so I could get the numerator. I decided to create an entirely new class for it instead of editing the existingNotScalingWithLuck
to add the numerator there to reduce on vanilla patches. If there is a way to change the chances to the new ones without adding a newIItemDropRule
, suggest it.IItemDropRule
namedNotScalingWithLuckWithNumerator
was added with new constructor forCommonDropNotScalingWithLuck
. Currently not used by anything, but it is still useful for modders. Let me know if you want the name to be changed.hideLootReport
totrue
. It could be false if you feel like it should be shown.new FromOptionsWithoutRepeatsDropRule
because it didn't have a rule defined in theItemDropRule
class already. We could add one if we wanted to.Other Note
1
->ItemID.IronPickaxe
). Chicken Bones said they prefer the full names.