const l={checkpoints:[{id:"checkpoint1",checkCondition:(a,r={},o={})=>(console.log("Checking checkpoint condition for Level 1:",{blocklyMoves:a,blocklyState:r,gameState:o}),o.playerPosition&&o.playerPosition.z===-25&&(o.playerPosition.x===2||o.playerPosition.x===3)?(console.log("✅ Checkpoint condition met: Player is at position {x: 2 or 3, z: -25}"),!0):(console.log("❌ Checkpoint condition not met: Player is not at position {x: 2 or 3, z: -25}"),!1)),blockValidator:(a,r,o={},n={})=>{console.log("Validating block sequence for checkpoint:",a);const i=a.map(e=>e.type==="speed"?`speed:${e.value}`:e.type==="move"?`move:${e.value}`:`${e.type}:${e.value}`);console.log("🧩 Simplified sequence:",i);const t=["speed:2","move:forward","move:forward","move:forward","move:forward","move:forward","move:right","move:forward"];return i.length>=t.length&&t.every((e,c)=>i[c]===e)?(console.log("✅ Block sequence valid!"),!0):(console.log("❌ Invalid block sequence. Expected pattern:",t),!1)},dialogues:[{speaker:"Rob",message:"",characterDirection:"left",dialogType:"achievement",image:"images/Food Icons/Eggplant_Icon.webp",cameraPan:{target:[100.23999686181044,25.518367178155934,-940.2293309106905],duration:2,zoom:.5}},{speaker:"Rob",message:"Sayur!!",characterDirection:"left",dialogType:"story",image:"images/ROB_Dialogue_Head.webp"},{speaker:"Rob",message:"Wah, air katira di sana nampak menarik. Saya ingin membeli air di gerai itu pula.",characterDirection:"left",dialogType:"story",image:"images/ROB_Dialogue_Head.webp",cameraPan:{target:[173.17497727229176,38.50866445568995,-879.2051708930667],duration:2,zoom:.3}},{speaker:"Rob",message:"Gunakan kaedah yang sama, bina atur cara pergerakan supaya Rob dapat bergerak ke gerai tersebut.",characterDirection:"left",dialogType:"checkpoint",image:"images/ROB_Dialogue_Head.webp"}],dialogType:"story"}]};export{l as checkpointConfig};
