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

Oh. Urm...hi?

Thank you all for the follows, what a wonderful holiday gift! I broke 5000 followers!!

I hope you're all well and have a fantastic holiday and New Years!

Please look after yourselves and keep being awesome!

Oh my gosh!!

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

These Pokemon are up to no good 😒

Couple mad scientists right here.

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.

Merry chistmas to those who celebrate and happy holidays to everyone!

I hope you all have a wonderful holiday and a fantastic end of year!

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

So I spent a while remaking the title screen load code only to realise the reason it was taking so much longer than a normal island was because the file for it had all the objects in one big list instead of being broken up in to chunks

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @therealkomasan to open today's slot on the calendar.

#AdventCalendar2025

I wish I had more to show recently but I've been taking it easy over the holidays and what I have been working on is just optimisations which doesn't translate to gifs so well