{"path": "scripts/restaurant/restaurant.gd", "sha256": "277aa41436d5a476ebd6d0a5c17d13e9a1ef3c2929b3bf6bc34729b6d5439bc1", "replacements": [{"old": "const EATING_SECONDS := 8.0\n", "new": "const EATING_SECONDS := 8.0\n# Fixed-meal guests wait briefly when their order cannot be supplied.\nconst UNAVAILABLE_FIXED_MEAL_WAIT_RATIO := 0.25\n", "count": 1}, {"old": "func _recipe_is_available(recipe_id: String) -> bool:\n", "new": "# Reusable by every profile with a fixed recipe, independent of its quest.\nfunc order_supply_patience_ratio(guest: Customer) -> float:\n\tvar fixed := str(DataCatalog.CUSTOMER_PROFILES.get(guest.profile_id, {}).get(\"fixed_recipe\", \"\"))\n\tif fixed.is_empty() or fixed != guest.requested_recipe or _recipe_is_available(fixed):\n\t\treturn 1.0\n\treturn UNAVAILABLE_FIXED_MEAL_WAIT_RATIO\n\nfunc _recipe_is_available(recipe_id: String) -> bool:\n", "count": 1}, {"old": "\t\tif _recipe_is_available(current_customer.requested_recipe):\n\t\t\tcontinue\n", "new": "\t\tvar fixed := str(DataCatalog.CUSTOMER_PROFILES.get(current_customer.profile_id, {}).get(\"fixed_recipe\", \"\"))\n\t\tif fixed == current_customer.requested_recipe:\n\t\t\tcurrent_customer.refresh_order_patience()\n\t\t\tcontinue\n\t\tif _recipe_is_available(current_customer.requested_recipe):\n\t\t\tcontinue\n", "count": 1}, {"old": "\t\tif str(DataCatalog.CUSTOMER_PROFILES.get(current_customer.profile_id, {}).get(\"fixed_recipe\", \"\")) == current_customer.requested_recipe:\n\t\t\tcontinue\n", "new": "", "count": 1}]}