Ephenia / Pokeclicker-Scripts

Various scripts & enhancements for the game Pokéclicker.
https://github.com/Ephenia/Pokeclicker-Scripts
GNU General Public License v3.0
184 stars 263 forks source link

Fix Auto Fossil Hatch in v0.10.18 #375

Closed SunOfLife1 closed 5 months ago

SunOfLife1 commented 5 months ago

autoFossilHatch is broken in v0.10.18 (as mentioned here https://github.com/Ephenia/Pokeclicker-Scripts/issues/373#issue-2092609196). It seems that the cause is this commit (https://github.com/pokeclicker/pokeclicker/commit/25d0376f8ddb5cb828afaa6b1b18ca8bb16e789a), which removed player.mineInventory.

This pull request simply fixes autoFossilHatch by filtering for fossils in UndergroundItems.list.

SunOfLife1 commented 5 months ago

(Also, I apologize for including Merge branch 'Ephenia:master' into master in this pull request. I'm still very new to GitHub and have no idea how to exclude that specific commit.)

umbralOptimatum commented 5 months ago

(Also, I apologize for including Merge branch 'Ephenia:master' into master in this pull request. I'm still very new to GitHub and have no idea how to exclude that specific commit.)

Welcome! Don't worry about merge commits, those are very normal and generally don't show up in file history anyways (unless there was a merge conflict). Pull requests can get far messier than that :p

SunOfLife1 commented 5 months ago

Welcome! Don't worry about merge commits, those are very normal and generally don't show up in file history anyways (unless there was a merge conflict). Pull requests can get far messier than that :p

Ah I see, thank you so much for letting me know ^^;