Home Artists Posts Import Register

Content

The last few days I've been refactoring lots of code to allow the loli to chain tasks together. This is pivotal for cooking because there are LOTS of different branches in logic with different tasks that need to be completed first. The first working test is below:

By pointing to the kitchen, she will attempt to do some cooking. The logic is as follows: Prioritize mortar and pestle and look for any objects in view for both of those objects. If a mortar is found, check if it has grain, if it doesn't don't pick up the pestle and find some wheat to put in the mortar. Then, start grinding.

Every red cross that appears in the video is a physics test to help her visualize the environment and find proper pathing/pickup. There is still lots of polishing to be done to her animations so it's smoother.

The important part about this implementation is now being able to chain together tasks. If she has both of her hands full, she needs to drop an item to pick up something else. The location of the item to drop is a little bit random right now but it tries to find empty spots to place them on. It's still a bit buggy but here's a video I recorded while debugging:

As nice as it is for her to do things by herself, I do not expect to have her prepare and bake a pastry by herself in this update. She will be merely an assistant. The last feature is to teach her to mix batter with the spoon.

I believe I have enough material to record a video for tomorrow. There are a few more fun things I'd like to do so hopefully you'll see it in the YouTube video.

Stay tuned.

Files