Talk:Geode Crusher

From Stardew Valley Wiki
Revision as of 17:48, 2 January 2023 by IBugOne (talk | contribs) (Created page with "==Glitch or Trivia?== Leaving my findings here. For crushers, the code at <samp>Object::performObjectDropInAction</samp> (within the branch of the only occurrence of <samp>Ge...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Glitch or Trivia?

Leaving my findings here. For crushers, the code at Object::performObjectDropInAction (within the branch of the only occurrence of Geode Crusher in this file) increments Game1.stats.GeodesCracked after calling Utility.getTreasureFromGeode, while Clint's code GeodeMenu::update increments the same stat long before calling Utility.getTreasureFromGeode. There's no explicit offset code, but the off-by-one difference is due to how the logic is laid out in two different code paths. I'd probably call it a glitch, though. IBugOne (talk) 17:48, 2 January 2023 (UTC)