I cant find the cooked_GroundBeef


TV 0.7.6 was an all day endeavor with me and Gemini. Not only did gemini break me but it also forced me to enroll in javascript classes because I was tired of being confused. It is not a hard language but I am nub and nub needs training.  Right now I have the ai doing a set list of tasks that they fail at doing correctly. So is it entertaining at this stage. No will it ever be entertaining? probably not but it was a fun art experiment. Why such a high number we were not this far yesterday. Bro it is an ai that can detect it's surroundings and make a recipe based off the surrounding objects... Does it get confused when it puts the pan on top of the ground beef. Yes but so would you bucko! But seriously I am learning c++ I know blueprints but blueprints get me to a point and not the destination. I am also learning javascript because I find it easier to make html apps at work. Also blender is on android now and my fingies hurt.  So I guess you want a change log. get ready 

Project Changelog

Update 4: Advanced AI - Mishap & Recovery System

This update focused on making the AI more dynamic, less predictable, and able to recover from errors, resulting in more human-like behavior.

  • AI Upgrades:
    • Mishap System: A failureChance was added to critical actions like cooking. The chef can now occasionally burn food or fail in other tasks.
    • Intelligent Recovery: When a mishap occurs, the chef's AI enters a recovery state. It will comment on the failure, abandon the current complex recipe, and attempt to formulate a new, simpler "backup plan" (e.g., making toast) with the remaining ingredients.
    • Failed Plan Memory: The chef now remembers which recipes have failed and will not attempt to make them again during the same show.
  • Data Additions:
    • Added dialogue for mishaps (mishapDialogue) and recovery (recoveryDialogue) to data.js.
    • Added new "burned" item states (e.g., burned_ground_beef) to the simulation.
    • Added a simple "Toast" recipe to serve as a backup plan.
  • Bug Fixes:
    • Corrected a major flaw in the AI's planner logic (getStepsFor function) that caused the chef to forget to cook ingredients like ground beef. The planner was refactored to handle each action (cook, prep, whisk) with its own correct sequence of steps.

Update 3: Stability & Rendering Fixes

This update addressed critical runtime errors to improve program stability.

  • Bug Fixes:
    • Fixed a TypeError: Cannot read properties of undefined (reading 'w') crash. The error was traced to dynamically created items (e.g., cooked_ground_beef, cracked_egg) that were missing size properties in data.js. Sizes were added to all recipe results. (Now when the lil chef puts a pan over any of these or picks up the item it goes bye bye as if they were a baby)
    • Added a defensive check to the rendering logic in main.js to prevent crashes if an item without a size property is ever accidentally passed to the renderer.(Basically the ai panics and just starts cutting or cooking toast. why? When in doubt cook everything.

Update 2: AI Co-Host & Advanced Recipes

This was a major upgrade that moved the simulation from a solo act to a dynamic, conversational show. (WHEN IT FECKIN WORKS)

  • AI Upgrades:
    • Guest Host AI: A second AI agent, the GuestAgent, was added. This agent wanders the kitchen, watches the chef, and has its own persona and voice.(wHEN It fEcKIn WORKS!)
    • Conversational Interaction: A simple dialogue system was implemented, allowing the guest to ask the chef questions and for the chef to pause its work to provide an answer.
  • Data Additions:
    • New personas and dialogue templates were added to data.js to support the guest host.
    • More complex, multi-step recipes (e.g., "Cheeseburger") were introduced.
    • A new assemble process was added to the recipe combinations to allow for building a final dish from multiple prepared ingredients.

Update 1: Interactive Remote Control

This update activated the user interface, making the "TV" interactive.

  • Features:
    • All buttons on the remote control in index.html were made functional.
    • Volume Control: The VOL+ and VOL- buttons now adjust the speech synthesis volume.
    • Channel Surfing: The CH+ and CH- buttons now load new simulations.
    • Interactive Guide: The program guide is now navigable using the and buttons, with the selected channel highlighted.
    • Channel Selection: A SELECT button was added to the remote to tune the TV to the channel highlighted in the guide.

Initial Version

The project began as a non-interactive simulation of a cooking show on a single channel, featuring:

  • A procedurally generated kitchen environment.
  • A single ChefAgent capable of following a simple, hard-coded recipe plan.
  • Procedurally generated sound effects and speech synthesis for narration.
  • A UI with a TV screen and a non-functional remote control.

Files

TV0.7.6.zip Play in browser
15 hours ago

Leave a comment

Log in with itch.io to leave a comment.