Trash/Dumpster System, Wage System, Ingredient System Foundation

Kitchen waste now has somewhere to go: cooking a dish generates a bag of trash, a TAKE_OUT_TRASH job carries it to a new Dumpster station outside (rendering closed/light/overflowing depending on how much has piled up), mirroring the existing dirty-dishes-to-sink flow. Staff now draw an ongoing wage ($/min, shown per-worker in the Staff list and as a total burn rate in Performance) deducted every 30 seconds, on top of the existing one-time hiring cost — money can go negative from payroll, a real cash-flow failure state rather than something clamped away. Started an ingredient system: src/sim/Ingredients.js catalogs the ingredients recipes already reference, shown in a new read-only Pantry panel, with a loose three-difficulty plan (INGREDIENTS_PLAN.md) for where this eventually goes — deliberately without implementing any stock/perishable/restocking rules yet, since none of those rules have actually been decided.

Verified this session:

  • 45/45 automated tests pass, including 7 new ones covering payroll timing, negative-money cash-flow, trash generation/clearing, dumpster placement, and the ingredient catalog.
  • Forced the dumpster through all three fill states live and confirmed the art for each; ran the sim forward and confirmed a real payroll deduction with the correct computed amount and a log entry; confirmed the new Pantry panel and per-worker wage tags render with real data.

More from CHEF! · See this in the live feed