const c={dialogType:"story",checkWinCondition:(i,t,r={},o={})=>(console.log("🔍 checkWinCondition called with blocklyMoves:",i,"checkpointsCompleted:",t),t?o.playerPosition&&o.playerPosition.z===-23&&(o.playerPosition.x===4||o.playerPosition.x===5)?(console.log("✅ Win condition met: Player is at position {x: 4 or 5, z: -23}"),!0):(console.log("❌ Win condition not met: Player is not at position {x: 4 or 5, z: -23}"),!1):(console.log("❌ Win condition failed: Checkpoints not completed"),!1)),blockValidator:(i,t,r={},o={})=>{console.log("Validating win sequence:",i);const n=i.map(e=>e.type==="speed"?"speed":e.type==="move"?`move:${e.value}`:`${e.type}:${e.value}`);console.log("🧩 Simplified sequence:",n);const a=["speed","move:left","move:forward","move:forward","move:right","move:forward","move:forward"];return n.length>=a.length&&a.every((e,l)=>n[l]===e)?(console.log("✅ Valid block sequence!"),!0):(console.log("❌ Invalid block sequence. Expected pattern:",a),!1)},dialogues:[{speaker:"Rob",message:"",characterDirection:"left",dialogType:"achievement",image:"images/Food Icons/drink_Icon.webp"},{speaker:"Rob",message:"Tidak sabar untuk pulang ke rumah dan nikmati minuman ini.",characterDirection:"left",dialogType:"story",image:"images/ROB_Dialogue_Head.webp"}]};export{c as winConfig};
