Originally I had extra data slots in my Item Database, which was huge and unwieldy, and having null data for things you couldn't craft. It also meant holding all that data in memory constantly.
Then a while back a reworked it so the game would run a script that would make a temporary DS_Map and swap the Item Index for the Product Index, this works great but DS_Maps are volatile and can be removed from memory randomly. They're also why I have so much trouble with Carpets...
But I'm now using the same system I built for my Item Effects!
It's just a simple script with a State Machine inside, insert the Item Index, and it outputs the Item Product, the Amount that will be Crafted and also the Amount needed! (not currently used)
Next up
I WILL figure this damn bug out >:|
>:| One day I'll figure out why this square edge happens.
Progress post for December!
Also available to read here: https://www.patreon.com/posts/117543820?pr=true
Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!
Happy #WIPWednesday!
Are you working on a game?
Making some art?
Practicing a song?
Something else?
Tell us in the comments!
Our 2024 Advent Calendar has opened! Day 29: @Dungeonation is a great Creator who draws cartoons and dabbles in making games! Accept the quest and give them a follow to get Coins and a seasonal sticker!
Spelunking update so far. Added new Events, updated the fade out/in, added loot lists. Still a few things to fix and improve like the UI.
For some reason image_speed is not always updating.
2 comments