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

Happy December everyone! How is the year almost over already?!?!

I hope you're all doing well and having a great December!

Ok, now what did I get done in November?

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

Gimmi dem Goblins!!

WOOP!

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

Progress post should be up later once I can get on the computer to get at the gifs

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.

Reworking the culling system so The Underground and the Caves uses a chunk system like the Island

wait,

WAIT. WAIT WAIT WAIT. JOLTIDAY GOBLINS!?!?!?!!!!!!

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

Charged Sticker Appreciation Post! Thank you so much for your support in November, I truly appreciate it I hope you're all keeping well and having an awesome December so far!

Please look after yourselves out there, and keep being awesome!!