ZORO COMMUNITY
کانال بسته
نمایش بیشتر
کشور مشخص نشده استدسته بندی مشخص نشده است
875
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
if(!(inv.bow>0))R.push({name:'Bow',res:'bow',n:1,cost:{string:3,planks:3}});
R.push({name:'Arrows x4',res:'arrow',n:4,cost:{bone:1,planks:1}});
R.push({name:'Planks x4',res:'planks',n:4,cost:{wood:1}});
R.push({name:'Torches x4',res:'torch',n:4,cost:{coal:1,planks:1}});
R.push({name:'Cooked Meat',res:'cooked',n:1,cost:{meat:1,wood:1}});
R.push({name:'Golden Apple',res:'gapple',n:1,cost:{apple:1,gold:3}});
return R;
}
const afford=c=>!!c&&Object.keys(c).every(k=>(inv[k]||0)>=c[k]);
const costStr=c=>Object.keys(c).map(k=>c[k]+' '+nm(k)).join(' + ');
function craft(r){
if(!afford(r.cost)){toast('Not enough materials');return;}
for(const k in r.cost)inv[k]-=r.cost[k];
inv[r.res]=(inv[r.res]||0)+r.n;autoAssign(r.res);
toast((menuMode==='trade'?'Traded: ':'Crafted ')+r.name+'!');
}
const curList=()=>menuMode==='trade'?TRADES:recipes();
function bagItems(){
const a=[];for(const t of TT)for(let i=4;i>=1;i--)if(inv[t+i]>0)a.push(t+i);
if(inv.bow>0)a.push('bow');
for(const k of ['arrow','dirt','stone','wood','planks','torch','apple','meat','cooked','gapple','coal','iron','gold','diamond','bone','string','wool'])if(inv[k]>0)a.push(k);
return a;
}
function menuGeo(){const px=10,py=56,pw=W-20,ph=H-112,headH=90,rh=60;return{px,py,pw,ph,headH,rh,vy0:py+headH,vh:ph-headH-52};}
function bagGeo(){
const g=menuGeo(),hs=Math.min(40,Math.floor((g.pw-24-7*4)/8)),hy=g.py+54,cell=52,gap=6,cols=Math.max(3,Math.floor((g.pw-24+gap)/(cell+gap))),gy0=hy+hs+34,gvh=g.py+g.ph-8-gy0;
return{g,hs,hy,cell,gap,cols,gy0,gvh};
}
function menuMax(){
if(menuMode==='bag'){const b=bagGeo(),rows=Math.ceil(bagItems().length/b.cols);return Math.max(0,rows*(b.cell+b.gap)-b.gvh);}
const g=menuGeo();return Math.max(0,curList().length*g.rh-g.vh);
}
function openMenu(mode){menuOpen=true;menuMode=mode;menuScroll=0;newArmUntil=0;}
function menuTap(x,y){
if(menuMode==='bag'){
const b=bagGeo(),g=b.g;
if(x>=g.px+g.pw-48&&x<=g.px+g.pw-10&&y>=g.py+8&&y<=g.py+42){menuOpen=false;return;}
for(let i=0;i<8;i++){const sx=g.px+12+i*(b.hs+4);if(x>=sx&&x<=sx+b.hs&&y>=b.hy&&y<=b.hy+b.hs){if(bagTarget===i&&hot[i])hot[i]=null;else bagTarget=i;return;}}
if(y>=b.gy0&&y<=b.gy0+b.gvh){
const items=bagItems(),cx=Math.floor((x-g.px-12)/(b.cell+b.gap)),cy=Math.floor((y-b.gy0+menuScroll)/(b.cell+b.gap));
if(cx<0||cx>=b.cols)return;const id=items[cy*b.cols+cx];if(!id)return;
if(!equippable(id)){toast(nm(id)+' is a material');return;}
const o=hot.indexOf(id);if(o>=0)hot[o]=null;
hot[bagTarget]=id;hotSel=bagTarget;toast(nm(id)+' \u2192 slot '+(bagTarget+1));
}
return;
}
const g=menuGeo();
if(x>=g.px+g.pw-48&&x<=g.px+g.pw-10&&y>=g.py+8&&y<=g.py+42){menuOpen=false;return;}
if(y<g.vy0||y>g.vy0+g.vh)return;
const R=curList();
for(let i=0;i<R.length;i++){
const ry=g.vy0+i*g.rh-menuScroll,bx=g.px+g.pw-88,by=ry+g.rh/2-18;
if(x>=bx&&x<=bx+76&&y>=by&&y<=by+36){craft(R[i]);return;}
}
}
// ================= input =================
const ptrs={};
function ctrl(){
const S=Math.min(80,Math.max(62,W*.19)),g=12,y=H-S-g-4;
return [{n:'left',x:g,y,w:S,h:S},{n:'right',x:g*2+S,y,w:S,h:S},{n:'jump',x:W-S-g,y,w:S,h:S},
{n:'craft',x:W-S-g,y:y-44,w:S,h:38},{n:'bag',x:W-S-g,y:y-88,w:S,h:38},{n:'pause',x:W-46,y:hotRects()[0].y+hotRects()[0].h+6,w:38,h:32}];
}
function hotRects(){const gap=3,s=Math.min(42,Math.floor((W-16-gap*7)/8)),out=[];for(let i=0;i<8;i++)out.push({n:'hot:'+i,i,x:8+i*(s+gap),y:6,w:s,h:s});return out;}
function btnAt(x,y){for(const b of ctrl().concat(hotRects()))if(x>=b.x&&x<=b.x+b.w&&y>=b.y&&y<=b.y+b.h)return b.n;return null;}
function mobAt(wx,wy){for(let i=mobs.length-1;i>=0;i--){const m=mobs[i];if(wx>m.x-10&&wx<m.x+m.w+10&&wy>m.y-10&&wy<m.y+m.h+10)return m;}return null;}
cv.addEventListener('pointerdown',e=>{
e.preventDefault();if(state!=='play')return;
20 اکتبر, 11:01
Repost from N/a
⛏Selling My All Tool
👉 Src Panel ( Supported Injector/container/mod ) 👉alp ( all updated ) 👉Updator Tools ( Supported Fields ) 👉Anti-Hook Injector 👉 Andlua Protector 👉Con/Mod Src 👉Bypass Finder 👉SkinFinder 👉Python Tools
😕 Price : 1k ( For All )
⚠️For More info 💳 @Sachiokapotie
14 نوامبر, 07:25
omsim tas palit mo sa aimbot don sa main.lua kung nasan yung offset ng aimbot mo
07 اکتبر, 09:35
