Been trying to figure out this issue for months now. The discord is no help, nobody has found a fix on the forums either. With that in mind, I’ll start adding an incentive. Whoever first figures out how to solve this bug will get a shiny 20$ bill through venmo. I’ll be going off timestamps to determine who gets it, so answer quick if you want the bounty.
I’ve been having this strange issue where code that works perfectly in one scene fails to work in others. It seems as if some scenes are just unable to change global variables correctly, for some reason I can’t identify. I’m kind of at the end of my rope here, so I’d love any assistance you lot can give.
Note that this game only works in GDEV version 5.6.280, updating past there breaks a couple hundred other things.
To see the code execute correctly,
open the game, press “z” twice, once text appears wait 5 seconds and then hit “b”. That’ll take you to an area, use arrow keys to move up into a bone area screen. Move back and forth in that area until a wild monster appears, then defeat it by selecting “Scrape”. Upon returning to the overworld, the looted items will be added to your materials correctly.
To see the issue in question, open the game, press “z” twice, once text appears wait 5 seconds and then hit “c”. That’ll take you to an area, use arrow keys to move downwards a screen and find a patch of hair. Move back and forth in that hair until a wild monster appears, then defeat it by selecting “Scrape”. Upon returning to the overworld, the error will appear and the items looted won’t be added to your inventory.