[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"mdc-l0cpge-key":3,"mdc-3nskji-key":45,"mdc-fxfpxh-key":55},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","ul",{},[13,20,25,30,35,40],{"type":9,"tag":14,"props":15,"children":16},"li",{},[17],{"type":18,"value":19},"text","QTE minigame inspired by Crimson Desert",{"type":9,"tag":14,"props":21,"children":22},{},[23],{"type":18,"value":24},"Press the key when the indicator aligns with the target segment",{"type":9,"tag":14,"props":26,"children":27},{},[28],{"type":18,"value":29},"Customizable rounds, keys, rotation speed and target size",{"type":9,"tag":14,"props":31,"children":32},{},[33],{"type":18,"value":34},"Visual effects via AnimPostFX",{"type":9,"tag":14,"props":36,"children":37},{},[38],{"type":18,"value":39},"Event callbacks and clear return statuses",{"type":9,"tag":14,"props":41,"children":42},{},[43],{"type":18,"value":44},"Free & part of jo_libs",{"data":46,"body":47},{},{"type":6,"children":48},[49],{"type":9,"tag":50,"props":51,"children":52},"p",{},[53],{"type":18,"value":54},"Loading changelog...",{"data":56,"body":57},{},{"type":6,"children":58},[59,72,145,152,173,518,523],{"type":9,"tag":50,"props":60,"children":61},{},[62,64,70],{"type":18,"value":63},"Bring the thrill of ",{"type":9,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":18,"value":69},"Crimson Desert",{"type":18,"value":71}," to your RedM server with this free QTE (Quick Time Event) minigame! Players must press the right key at the exact moment the indicator aligns with the target segment. A fast, skill-based challenge you can plug into any of your scripts: lockpicking, robberies, crafting, fishing, and more.",{"type":9,"tag":10,"props":73,"children":74},{},[75,85,95,105,115,125,135],{"type":9,"tag":14,"props":76,"children":77},{},[78,83],{"type":9,"tag":65,"props":79,"children":80},{},[81],{"type":18,"value":82},"Crimson Desert Inspired",{"type":18,"value":84},": A modern, dynamic QTE design straight out of Crimson Desert.",{"type":9,"tag":14,"props":86,"children":87},{},[88,93],{"type":9,"tag":65,"props":89,"children":90},{},[91],{"type":18,"value":92},"Timing-Based Gameplay",{"type":18,"value":94},": Press the key when the rotating indicator hits the target zone.",{"type":9,"tag":14,"props":96,"children":97},{},[98,103],{"type":9,"tag":65,"props":99,"children":100},{},[101],{"type":18,"value":102},"Fully Customizable",{"type":18,"value":104},": Adjust the number of rounds, allowed keys, rotation speed and target segment size.",{"type":9,"tag":14,"props":106,"children":107},{},[108,113],{"type":9,"tag":65,"props":109,"children":110},{},[111],{"type":18,"value":112},"Difficulty Control",{"type":18,"value":114},": Fine-tune every parameter to make the challenge as easy or punishing as you want.",{"type":9,"tag":14,"props":116,"children":117},{},[118,123],{"type":9,"tag":65,"props":119,"children":120},{},[121],{"type":18,"value":122},"Visual Effects",{"type":18,"value":124},": Built-in AnimPostFX effects for immersive feedback.",{"type":9,"tag":14,"props":126,"children":127},{},[128,133],{"type":9,"tag":65,"props":129,"children":130},{},[131],{"type":18,"value":132},"Developer Friendly",{"type":18,"value":134},": Simple API with event callbacks and clear return statuses (success, failed, canceled).",{"type":9,"tag":14,"props":136,"children":137},{},[138,143],{"type":9,"tag":65,"props":139,"children":140},{},[141],{"type":18,"value":142},"100% Free",{"type":18,"value":144},": Included in jo_libs, the free open-source library for RedM developers.",{"type":9,"tag":146,"props":147,"children":149},"h3",{"id":148},"easy-integration",[150],{"type":18,"value":151},"Easy Integration",{"type":9,"tag":50,"props":153,"children":154},{},[155,157,162,164,171],{"type":18,"value":156},"The QTE minigame is part of the ",{"type":9,"tag":65,"props":158,"children":159},{},[160],{"type":18,"value":161},"jo_libs",{"type":18,"value":163}," library. Add the module to your resource, call ",{"type":9,"tag":165,"props":166,"children":168},"code",{"className":167},[],[169],{"type":18,"value":170},"jo.minigame.qte()",{"type":18,"value":172}," and let your players test their reflexes:",{"type":9,"tag":174,"props":175,"children":181},"pre",{"className":176,"code":177,"language":178,"meta":179,"style":180},"language-lua shiki shiki-themes slack-dark","-- Start a QTE minigame with custom rounds, keys, and timing\nlocal result = jo.minigame.qte({\n  roundCount = 5,\n  allowedKeys = { \"A\", \"S\", \"D\", \"F\" },\n  rotationDuration = {\n    min = 1500,\n    max = 2500\n  }\n})\n\n-- Handle success, failure, cancel, or busy statuses\nif result == \"success\" then\n  print(\"QTE completed\")\nelse\n  print(\"QTE result: \" .. result)\nend\n","lua","","--shiki-default:#E6E6E6;--shiki-default-bg:#222222",[182],{"type":9,"tag":165,"props":183,"children":184},{"__ignoreMap":179},[185,197,241,265,322,340,362,380,389,398,408,417,446,470,479,509],{"type":9,"tag":186,"props":187,"children":190},"span",{"class":188,"line":189},"line",1,[191],{"type":9,"tag":186,"props":192,"children":194},{"style":193},"--shiki-default:#6A9955",[195],{"type":18,"value":196},"-- Start a QTE minigame with custom rounds, keys, and timing\n",{"type":9,"tag":186,"props":198,"children":200},{"class":188,"line":199},2,[201,207,213,219,224,230,236],{"type":9,"tag":186,"props":202,"children":204},{"style":203},"--shiki-default:#569CD6",[205],{"type":18,"value":206},"local",{"type":9,"tag":186,"props":208,"children":210},{"style":209},"--shiki-default:#9CDCFE",[211],{"type":18,"value":212}," result",{"type":9,"tag":186,"props":214,"children":216},{"style":215},"--shiki-default:#D4D4D4",[217],{"type":18,"value":218}," =",{"type":9,"tag":186,"props":220,"children":221},{"style":209},[222],{"type":18,"value":223}," jo",{"type":9,"tag":186,"props":225,"children":227},{"style":226},"--shiki-default:#E6E6E6",[228],{"type":18,"value":229},".minigame.",{"type":9,"tag":186,"props":231,"children":233},{"style":232},"--shiki-default:#DCDCAA",[234],{"type":18,"value":235},"qte",{"type":9,"tag":186,"props":237,"children":238},{"style":226},[239],{"type":18,"value":240},"({\n",{"type":9,"tag":186,"props":242,"children":244},{"class":188,"line":243},3,[245,250,254,260],{"type":9,"tag":186,"props":246,"children":247},{"style":209},[248],{"type":18,"value":249},"  roundCount",{"type":9,"tag":186,"props":251,"children":252},{"style":215},[253],{"type":18,"value":218},{"type":9,"tag":186,"props":255,"children":257},{"style":256},"--shiki-default:#B5CEA8",[258],{"type":18,"value":259}," 5",{"type":9,"tag":186,"props":261,"children":262},{"style":226},[263],{"type":18,"value":264},",\n",{"type":9,"tag":186,"props":266,"children":268},{"class":188,"line":267},4,[269,274,278,283,289,294,299,303,308,312,317],{"type":9,"tag":186,"props":270,"children":271},{"style":209},[272],{"type":18,"value":273},"  allowedKeys",{"type":9,"tag":186,"props":275,"children":276},{"style":215},[277],{"type":18,"value":218},{"type":9,"tag":186,"props":279,"children":280},{"style":226},[281],{"type":18,"value":282}," { ",{"type":9,"tag":186,"props":284,"children":286},{"style":285},"--shiki-default:#CE9178",[287],{"type":18,"value":288},"\"A\"",{"type":9,"tag":186,"props":290,"children":291},{"style":226},[292],{"type":18,"value":293},", ",{"type":9,"tag":186,"props":295,"children":296},{"style":285},[297],{"type":18,"value":298},"\"S\"",{"type":9,"tag":186,"props":300,"children":301},{"style":226},[302],{"type":18,"value":293},{"type":9,"tag":186,"props":304,"children":305},{"style":285},[306],{"type":18,"value":307},"\"D\"",{"type":9,"tag":186,"props":309,"children":310},{"style":226},[311],{"type":18,"value":293},{"type":9,"tag":186,"props":313,"children":314},{"style":285},[315],{"type":18,"value":316},"\"F\" ",{"type":9,"tag":186,"props":318,"children":319},{"style":226},[320],{"type":18,"value":321},"},\n",{"type":9,"tag":186,"props":323,"children":325},{"class":188,"line":324},5,[326,331,335],{"type":9,"tag":186,"props":327,"children":328},{"style":209},[329],{"type":18,"value":330},"  rotationDuration",{"type":9,"tag":186,"props":332,"children":333},{"style":215},[334],{"type":18,"value":218},{"type":9,"tag":186,"props":336,"children":337},{"style":226},[338],{"type":18,"value":339}," {\n",{"type":9,"tag":186,"props":341,"children":343},{"class":188,"line":342},6,[344,349,353,358],{"type":9,"tag":186,"props":345,"children":346},{"style":209},[347],{"type":18,"value":348},"    min",{"type":9,"tag":186,"props":350,"children":351},{"style":215},[352],{"type":18,"value":218},{"type":9,"tag":186,"props":354,"children":355},{"style":256},[356],{"type":18,"value":357}," 1500",{"type":9,"tag":186,"props":359,"children":360},{"style":226},[361],{"type":18,"value":264},{"type":9,"tag":186,"props":363,"children":365},{"class":188,"line":364},7,[366,371,375],{"type":9,"tag":186,"props":367,"children":368},{"style":209},[369],{"type":18,"value":370},"    max",{"type":9,"tag":186,"props":372,"children":373},{"style":215},[374],{"type":18,"value":218},{"type":9,"tag":186,"props":376,"children":377},{"style":256},[378],{"type":18,"value":379}," 2500\n",{"type":9,"tag":186,"props":381,"children":383},{"class":188,"line":382},8,[384],{"type":9,"tag":186,"props":385,"children":386},{"style":226},[387],{"type":18,"value":388},"  }\n",{"type":9,"tag":186,"props":390,"children":392},{"class":188,"line":391},9,[393],{"type":9,"tag":186,"props":394,"children":395},{"style":226},[396],{"type":18,"value":397},"})\n",{"type":9,"tag":186,"props":399,"children":401},{"class":188,"line":400},10,[402],{"type":9,"tag":186,"props":403,"children":405},{"emptyLinePlaceholder":404},true,[406],{"type":18,"value":407},"\n",{"type":9,"tag":186,"props":409,"children":411},{"class":188,"line":410},11,[412],{"type":9,"tag":186,"props":413,"children":414},{"style":193},[415],{"type":18,"value":416},"-- Handle success, failure, cancel, or busy statuses\n",{"type":9,"tag":186,"props":418,"children":420},{"class":188,"line":419},12,[421,427,431,436,441],{"type":9,"tag":186,"props":422,"children":424},{"style":423},"--shiki-default:#C586C0",[425],{"type":18,"value":426},"if",{"type":9,"tag":186,"props":428,"children":429},{"style":209},[430],{"type":18,"value":212},{"type":9,"tag":186,"props":432,"children":433},{"style":215},[434],{"type":18,"value":435}," ==",{"type":9,"tag":186,"props":437,"children":438},{"style":285},[439],{"type":18,"value":440}," \"success\" ",{"type":9,"tag":186,"props":442,"children":443},{"style":423},[444],{"type":18,"value":445},"then\n",{"type":9,"tag":186,"props":447,"children":449},{"class":188,"line":448},13,[450,455,460,465],{"type":9,"tag":186,"props":451,"children":452},{"style":232},[453],{"type":18,"value":454},"  print",{"type":9,"tag":186,"props":456,"children":457},{"style":226},[458],{"type":18,"value":459},"(",{"type":9,"tag":186,"props":461,"children":462},{"style":285},[463],{"type":18,"value":464},"\"QTE completed\"",{"type":9,"tag":186,"props":466,"children":467},{"style":226},[468],{"type":18,"value":469},")\n",{"type":9,"tag":186,"props":471,"children":473},{"class":188,"line":472},14,[474],{"type":9,"tag":186,"props":475,"children":476},{"style":423},[477],{"type":18,"value":478},"else\n",{"type":9,"tag":186,"props":480,"children":482},{"class":188,"line":481},15,[483,487,491,496,501,505],{"type":9,"tag":186,"props":484,"children":485},{"style":232},[486],{"type":18,"value":454},{"type":9,"tag":186,"props":488,"children":489},{"style":226},[490],{"type":18,"value":459},{"type":9,"tag":186,"props":492,"children":493},{"style":285},[494],{"type":18,"value":495},"\"QTE result: \" ",{"type":9,"tag":186,"props":497,"children":498},{"style":215},[499],{"type":18,"value":500},"..",{"type":9,"tag":186,"props":502,"children":503},{"style":209},[504],{"type":18,"value":212},{"type":9,"tag":186,"props":506,"children":507},{"style":226},[508],{"type":18,"value":469},{"type":9,"tag":186,"props":510,"children":512},{"class":188,"line":511},16,[513],{"type":9,"tag":186,"props":514,"children":515},{"style":423},[516],{"type":18,"value":517},"end\n",{"type":9,"tag":50,"props":519,"children":520},{},[521],{"type":18,"value":522},"Perfect for adding skill checks to heists, minigames, jobs or any interactive gameplay on your RedM server.",{"type":9,"tag":524,"props":525,"children":526},"style",{},[527],{"type":18,"value":528},".shiki,html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}"]