2 years ago

HAHAH!
Changed how I'm doing my Crafting Lookups!


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)

Wooo!



2 comments

Loading...

Next up

OMGOSH, don't sleep on this quest!!!

Shame you can't go over 7 charges

It cost me something like 16 remote raid passes, but I finally got enough energy to get my Necrozma fusions!

Plus they SHINY

Do you have games on your phone?

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

Updating water, added some stuff to make things more visually pleasing. I think I need the tint back or maybe to try different blending. Kinda want to try a displacement map again instead of the directional movement? Need to find that again. (laptop gif)

Favourite #TeamShooter? I Would never! It's illegal to shoot people, never mind a whole team!!

Ooo pretty!

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Happy November everyone! I hope you all had a wonderful October! Mostly optimisation and reworks this month.

https://www.patreon.com/posts/141102397