Continuing Feature Parity Part 11 (Patreon)
Content
I was finalizing everything related to cooking to make it work properly for all kinds of scenarios. To start, I worked out a way for the AI to be able to know where to place things on tables.
When there are lots of items on the table, it's often too silly looking for the character to knock everything in its wake to get to a particular item. This is where the new "empty spot" module comes in.
First it begins by scanning in rows where the items are.
This creates a barcode of information. Green is region occupied and red is available. Once the character scans the table to find an empty spot, it creates a small dataset of the results:
From this data we can now ask for it to place the currently held object in an empty region that fits. This means that the AI needs to find the biggest red zone. After this area is found, the AI can properly place objects without knocking over other items (mostly).
In the video above Kokkoro places the pestle in a safe location.
Something else that I fixed was not picking up things in the correct orientation. When you make items, you can now specify if the grabbable object needs to be picked up a certain way (upwards). This fixes the characters picking things upside down:
Some other nice improvements also include better friction values so characters don't get stuck on walls or floors.
I am now gearing up to start the onsen behaviors! However, I will be going on my yearly vacation starting this Friday and will be out of town for 10 days. That said, I will be working on the game at roughly half the pace. I'd like to release the next beta when I get back.
In other news, we had the mod workshop last Sunday. You can visit the streamed recording here. It's a bit technical. There will definitely be more to come.
Stay tuned!