8 months ago

ok gonna sleep

I think I've got the Crafting System UI set up so it will match with how I want the Building System UI.
Just need to do that next.


You can now change craft quantity before changing the Recipe Components, previously it would reset to 0 but now it sets the crafting quantity to the most you can craft with how much of the component you have.
I've only tested it with 1 component recipes so I'll probably have to add a for loop to check multiple components.

Edit: Actually, changed the maths.
It now checks if;

if Amount Crafting * Component Amount Needed > Amount Have

{

Amount Crafting = Amount Have DIV Component Amount Needed;

}

That should avoid the need for a loop.

3
3
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1


4 comments

Loading...

Next up

Woop!

No favourite game, just a favourite series.

#MyFavoriteGame

Don't have any gameDev to show yet so here's some of my recent Pokemon Card pulls!

Woop woop!

#pridejolt

I...I think the Fish Pond is working...

It's not as good as when the player fishes, but NPC's can now fish in Fishponds. I need to set up some more variables to get the bobber to bob and to let them be able to cast the line.

Also animate the water...maybe add shader?

That's tomorrows job.

Need to find time to do this!

Charged Sticker Supporter Shrine for June!

LOOL Look at how slow these gifs are!

This tablet really is rubbish

Thank you all for the support, it really helps me out a lot! And a special thanks to @MomentaryUnicorn for the kofi!

YUS!!

I hope you're all having a great weekend!

Woo! Finally got my Sun lion!

Hopefully I can get a Moon bat later this week!

Also this dummy, it's got spikes for eyes!?