Untitled diff
462 lines
function itemzz()
function itemzz()
{
{
_root.junxx = [30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 48, 51, 53];
_root.junxx = [30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 48, 51, 53];
if (_root.locker[68])
if (_root.locker[68])
{
{
_root.junxx.push(35);
_root.junxx.push(35);
} // end if
} // end if
if (_root.locker[74])
if (_root.locker[74])
{
{
_root.junxx.push(47);
_root.junxx.push(47);
} // end if
} // end if
if (_root.locker[72])
if (_root.locker[72])
{
{
_root.junxx.push(49);
_root.junxx.push(49);
} // end if
} // end if
if (_root.locker[77])
if (_root.locker[77])
{
{
_root.junxx.push(50);
_root.junxx.push(50);
} // end if
} // end if
if (_root.locker[78])
if (_root.locker[78])
{
{
_root.junxx.push(42);
_root.junxx.push(42);
} // end if
} // end if
if (_root.locker[81])
if (_root.locker[81])
{
{
_root.junxx.push(29);
_root.junxx.push(29);
} // end if
} // end if
if (_root.locker[84])
if (_root.locker[84])
{
{
} // end if
} // end if
if (_root.locker[91])
if (_root.locker[91])
{
{
_root.junxx.push(54);
_root.junxx.push(54);
} // end if
} // end if
if (_root.locker[92])
if (_root.locker[92])
{
{
_root.junxx.push(55);
_root.junxx.push(55);
} // end if
} // end if
if (_root.locker[93])
if (_root.locker[93])
{
{
_root.junxx.push(56);
_root.junxx.push(56);
} // end if
} // end if
if (_root.locker[94])
if (_root.locker[94])
{
{
_root.junxx.push(57);
_root.junxx.push(57);
} // end if
} // end if
if (_root.locker[95])
if (_root.locker[95])
{
{
_root.junxx.push(58);
_root.junxx.push(58);
} // end if
} // end if
if (_root.locker[96])
if (_root.locker[96])
{
{
_root.junxx.push(59);
_root.junxx.push(59);
} // end if
} // end if
if (_root.locker[97])
if (_root.locker[97])
{
{
_root.junxx.push(60);
_root.junxx.push(60);
} // end if
} // end if
if (_root.locker[98])
if (_root.locker[98])
{
{
_root.junxx.push(61);
_root.junxx.push(61);
} // end if
} // end if
if (random(4) == 0)
{
_root.junxx.push(62);
} // end if
_root.ittt = [1, 1, 2, 3, 4, 5, 6, 7, 8, 8, 10, 12, 13, 14, 15, 19, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 37, 38, 39, 40, 41, 44, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 62, 65, 66, 67, 69, 70, 71, 72, 75, 76, 77, 85, 115, 120, 121, 124, 125, 128, 129];
_root.ittt = [1, 1, 2, 3, 4, 5, 6, 7, 8, 8, 10, 12, 13, 14, 15, 19, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 37, 38, 39, 40, 41, 44, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 62, 65, 66, 67, 69, 70, 71, 72, 75, 76, 77, 85, 115, 120, 121, 124, 125, 128, 129];
_root.ittt.push(136, 137, 138, 140, 142, 143, 144, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157, 160, 163, 167, 169, 173, 177, 178, 180, 183, 191, 192);
_root.ittt.push(136, 137, 138, 140, 142, 143, 144, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157, 160, 163, 167, 169, 173, 177, 178, 180, 183, 191, 192);
_root.ittt2 = [22, 23, 24, 25, 26, 27 + _root.IntRndFn(10, 2), 29 + _root.IntRndFn(10, 3), 29 + _root.IntRndFn(10, 3), 32, 51, 141, 165, 176, 193, 194, 195, 196, 197, 198];
_root.ittt2 = [22, 23, 24, 25, 26, 27 + random(2), 29 + random(3), 29 + random(3), 32, 51, 141, 165, 176, 193, 194, 195, 196, 197, 198];
_root.ittt3 = [11, 16, 42, 77, 161];
_root.ittt3 = [11, 16, 42, 77, 161];
_root.ittt4 = [54, 54, 60, 60, 64, 21, 21, 139, 156, 147, 195];
_root.ittt4 = [54, 54, 60, 60, 64, 21, 21, 139, 156, 147, 195];
_root.ittt6 = [38, 27 + _root.IntRndFn(10, 2), 29 + _root.IntRndFn(10, 3), 26, 1, 50];
_root.ittt6 = [38, 27 + random(2), 29 + random(3), 26, 1, 50];
_root.ittt7 = [8, 67, 79, 80, 81, 115, 118, 133, 145, 159];
_root.ittt7 = [8, 67, 79, 80, 81, 115, 133, 145, 159];
_root.ittt8 = [26, 17, 19, 21, 44, 70, 14, 13];
_root.ittt8 = [26, 17, 19, 21, 44, 70, 14, 13];
_root.ittt9 = [58, 65, 192];
_root.ittt9 = [58, 65, 192];
_root.ittt10 = [7, 33, 101, 146, 142, 173, 182, 184, 185];
_root.ittt10 = [7, 33, 101, 146, 142, 173, 182, 184, 185];
if (_root.IntRndFn(10, 2) == 0)
if (random(4) == 0 || !_root.hardmode)
{
_root.ittt7.push(118);
} // end if
if (random(2) == 0)
{
{
_root.ittt3.push(11, 77);
_root.ittt3.push(11, 77);
} // end if
} // end if
if (_root.IntRndFn(10, 2) == 0)
if (random(2) == 0)
{
{
_root.ittt10.push(184);
_root.ittt10.push(184);
_root.ittt4.push(144);
_root.ittt4.push(144);
}
}
else
else
{
{
_root.ittt4.push(177);
_root.ittt4.push(177);
} // end else if
} // end else if
if (_root.IntRndFn(10, 2) == 0)
if (random(2) == 0)
{
{
_root.ittt6.push(179);
_root.ittt6.push(179);
_root.ittt3.push(190);
_root.ittt3.push(190);
} // end if
} // end if
if (_root.locker[65])
if (_root.locker[65])
{
{
_root.ittt.push(166);
_root.ittt.push(166);
} // end if
} // end if
if (_root.locker[66])
if (_root.locker[66])
{
{
_root.ittt.push(162);
_root.ittt.push(162);
} // end if
} // end if
if (_root.locker[67])
if (_root.locker[67])
{
{
_root.ittt.push(188);
_root.ittt.push(188);
} // end if
} // end if
if (_root.locker[69])
if (_root.locker[69])
{
{
_root.ittt.push(172);
_root.ittt.push(172);
} // end if
} // end if
if (_root.locker[70])
if (_root.locker[70])
{
{
_root.ittt.push(174);
_root.ittt.push(174);
} // end if
} // end if
if (_root.locker[71])
if (_root.locker[71])
{
{
_root.ittt7.push(157);
_root.ittt7.push(157);
} // end if
} // end if
if (_root.locker[73])
if (_root.locker[73])
{
{
_root.ittt.push(186);
_root.ittt.push(186);
} // end if
} // end if
if (_root.locker[75])
if (_root.locker[75])
{
{
_root.ittt3.push(175);
_root.ittt3.push(175);
} // end if
} // end if
if (_root.locker[76])
if (_root.locker[76])
{
{
_root.ittt4.push(164);
_root.ittt4.push(164);
} // end if
} // end if
if (_root.locker[79])
if (_root.locker[79])
{
{
_root.ittt7.push(134);
_root.ittt7.push(134);
} // end if
} // end if
if (_root.locker[80])
if (_root.locker[80] && (!_root.hardmode || random(3) == 0))
{
{
_root.ittt3.push(168);
_root.ittt3.push(168);
} // end if
} // end if
if (_root.locker[82])
if (_root.locker[82])
{
{
_root.ittt.push(189);
_root.ittt.push(189);
} // end if
} // end if
if (_root.locker[83])
if (_root.locker[83])
{
{
_root.ittt.push(171);
_root.ittt.push(171);
} // end if
} // end if
if (_root.locker[86])
if (_root.locker[86])
{
{
_root.ittt.push(170);
_root.ittt.push(170);
} // end if
} // end if
if (_root.locker[85])
if (_root.locker[85])
{
{
_root.ittt.push(187);
_root.ittt.push(187);
} // end if
} // end if
if (_root.IntRndFn(10, 2) == 0)
if (random(2) == 0)
{
{
_root.ittt.push(17);
_root.ittt.push(17);
} // end if
} // end if
if (_root.IntRndFn(10, 3) != 0 && _root.locker[48])
if (random(3) != 0 && _root.locker[48])
{
{
if (_root.IntRndFn(10, 3) == 0)
if (random(3) == 0)
{
{
_root.ittt7.push(35);
_root.ittt7.push(35);
}
}
else
else
{
{
_root.ittt.push(35);
_root.ittt.push(35);
} // end else if
} // end else if
_root.ittt9.push(35);
_root.ittt9.push(35);
} // end if
} // end if
if (_root.IntRndFn(10, 2) == 0)
if (random(2) == 0)
{
{
_root.ittt4.push(116);
_root.ittt4.push(116);
} // end if
} // end if
if (_root.IntRndFn(10, 2) == 0)
if (random(2) == 0)
{
{
_root.ittt4.push(63);
_root.ittt4.push(63);
} // end if
} // end if
if (_root.IntRndFn(10, 5) == 0)
if (random(5) == 0)
{
{
_root.ittt7.push(68);
_root.ittt7.push(68);
}
}
else
else
{
{
_root.ittt.push(68);
_root.ittt.push(68);
} // end else if
} // end else if
if (_root.IntRndFn(10, 3) == 0)
if (random(3) == 0)
{
{
_root.ittt7.push(82);
_root.ittt7.push(82);
} // end if
} // end if
if (_root.IntRndFn(10, 3) == 0)
if (random(3) == 0)
{
{
_root.ittt7.push(84);
_root.ittt7.push(84);
}
}
else if (_root.IntRndFn(10, 2) == 0)
else if (random(2) == 0)
{
{
_root.ittt3.push(84);
_root.ittt3.push(84);
} // end else if
} // end else if
if (_root.locker[3] && _root.skiner != 3)
if (_root.locker[3] && _root.skiner != 3)
{
{
if (_root.IntRndFn(10, 3) == 0)
if (random(3) == 0)
{
{
_root.ittt.push(34);
_root.ittt.push(34);
}
}
else if (_root.IntRndFn(10, 2) == 0)
else if (random(2) == 0)
{
{
_root.ittt3.push(34);
_root.ittt3.push(34);
}
}
else
else
{
{
_root.ittt7.push(34);
_root.ittt7.push(34);
} // end else if
} // end else if
_root.ittt9.push(34);
_root.ittt9.push(34);
} // end if
} // end if
if (_root.locker[1])
if (_root.locker[1])
{
{
_root.ittt.push(45);
_root.ittt.push(45);
} // end if
} // end if
if (_root.locker[2])
if (_root.locker[2])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(46);
_root.ittt.push(46);
}
}
else
else
{
{
_root.ittt7.push(46);
_root.ittt7.push(46);
} // end if
} // end if
} // end else if
} // end else if
if (_root.locker[7])
if (_root.locker[7])
{
{
_root.ittt4.push(78);
_root.ittt4.push(78);
_root.ittt9.push(78);
_root.ittt9.push(78);
} // end if
} // end if
if (_root.locker[8] && _root.IntRndFn(10, 3) != 0)
if (_root.locker[8] && random(3) != 0)
{
{
_root.ittt3.push(20);
_root.ittt3.push(20);
} // end if
} // end if
if (_root.locker[9] && _root.IntRndFn(10, 3) != 0)
if (_root.locker[9] && random(3) != 0)
{
{
_root.ittt7.push(83);
_root.ittt7.push(83);
} // end if
} // end if
if (_root.locker[10])
if (_root.locker[10])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(74);
_root.ittt.push(74);
}
}
else
else
{
{
_root.ittt7.push(74);
_root.ittt7.push(74);
} // end if
} // end if
} // end else if
} // end else if
if (_root.locker[11])
if (_root.locker[11] && (!_root.hardmode || random(3) != 0))
{
{
_root.ittt.push(52);
_root.ittt.push(52);
} // end if
} // end if
if (_root.locker[12])
if (_root.locker[12])
{
{
_root.ittt.push(36);
_root.ittt.push(36);
} // end if
} // end if
if (_root.locker[13])
if (_root.locker[13])
{
{
_root.ittt3.push(89);
_root.ittt3.push(89);
} // end if
} // end if
if (_root.locker[14])
if (_root.locker[14])
{
{
_root.ittt.push(91);
_root.ittt.push(91);
} // end if
} // end if
if (_root.locker[18])
if (_root.locker[18])
{
{
} // end if
} // end if
if (_root.locker[19])
if (_root.locker[19])
{
{
_root.ittt.push(86);
_root.ittt.push(86);
} // end if
} // end if
if (_root.locker[20])
if (_root.locker[20])
{
{
_root.ittt.push(87);
_root.ittt.push(87);
} // end if
} // end if
if (_root.locker[21])
if (_root.locker[21])
{
{
_root.ittt.push(88);
_root.ittt.push(88);
} // end if
} // end if
if (_root.locker[25] && _root.IntRndFn(10, 3) != 0)
if (_root.locker[25] && random(3) != 0)
{
{
_root.ittt2.push(92);
_root.ittt2.push(92);
} // end if
} // end if
if (_root.locker[26])
if (_root.locker[26])
{
{
_root.ittt.push(98);
_root.ittt.push(98);
_root.ittt10.push(98);
_root.ittt10.push(98);
} // end if
} // end if
if (_root.locker[27])
if (_root.locker[27])
{
{
_root.ittt.push(94);
_root.ittt.push(94);
} // end if
} // end if
if (_root.locker[28])
if (_root.locker[28])
{
{
_root.ittt.push(95);
_root.ittt.push(95);
} // end if
} // end if
if (_root.locker[33])
if (_root.locker[33])
{
{
_root.ittt.push(93);
_root.ittt.push(93);
} // end if
} // end if
if (_root.locker[29])
if (_root.locker[29])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(97);
_root.ittt.push(97);
}
}
else
else
{
{
_root.ittt7.push(97);
_root.ittt7.push(97);
} // end else if
} // end else if
_root.ittt9.push(97);
_root.ittt9.push(97);
} // end if
} // end if
if (_root.locker[30])
if (_root.locker[30])
{
{
_root.ittt.push(99);
_root.ittt.push(99);
} // end if
} // end if
if (_root.locker[31])
if (_root.locker[31])
{
{
_root.ittt.push(100);
_root.ittt.push(100);
} // end if
} // end if
if (_root.locker[32])
if (_root.locker[32])
{
{
_root.ittt.push(96);
_root.ittt.push(96);
} // end if
} // end if
if (_root.locker[34])
if (_root.locker[34])
{
{
_root.ittt.push(101);
_root.ittt.push(101);
} // end if
} // end if
if (_root.locker[36])
if (_root.locker[36])
{
{
_root.ittt.push(102);
_root.ittt.push(102);
} // end if
} // end if
if (_root.locker[37])
if (_root.locker[37])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(103);
_root.ittt.push(103);
}
}
else
else
{
{
_root.ittt7.push(103);
_root.ittt7.push(103);
} // end if
} // end if
} // end else if
} // end else if
if (_root.locker[40])
if (_root.locker[40])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(104);
_root.ittt.push(104);
}
}
else
else
{
{
_root.ittt7.push(104);
_root.ittt7.push(104);
} // end if
} // end if
} // end else if
} // end else if
if (_root.locker[38])
if (_root.locker[38])
{
{
_root.ittt.push(105);
_root.ittt.push(105);
} // end if
} // end if
if (_root.locker[35])
if (_root.locker[35])
{
{
_root.ittt.push(106);
_root.ittt.push(106);
} // end if
} // end if
if (_root.locker[39])
if (_root.locker[39])
{
{
_root.ittt.push(107);
_root.ittt.push(107);
} // end if
} // end if
if (_root.locker[43])
if (_root.locker[43])
{
{
_root.ittt.push(108);
_root.ittt.push(108);
} // end if
} // end if
if (_root.locker[44])
if (_root.locker[44])
{
{
if (_root.IntRndFn(10, 3) != 0)
if (random(3) != 0)
{
{
_root.ittt.push(109);
_root.ittt.push(109);
}
}
else
else
{
{
_root.ittt7.push(109);
_root.ittt7.push(109);
} // end if
} // end if
} // end else if
} // end else if
if (_root.locker[47])
if (_root.locker[47])
{
{
_root.ittt.push(110);
_root.ittt.push(110);
} // end if
} // end if
if (_root.locker[46])
if (_root.locker[46])
{
{
_root.ittt.push(111);
_root.ittt.push(111);
} // end if
} // end if
if (_root.locker[55])
if (_root.locker[55])
{
{
omgz(114);
omgz(114);
} // end if
} // end if
if (_root.locker[56])
if (_root.locker[56])
{
{
_root.ittt.push(117);
_root.ittt.push(117);
} // end if
} // end if
if (_root.locker[57])
if (_root.locker[57] && _root.skiner != 5)
{
{
omgz(122);
omgz(122);
} // end if
} // end if
if (_root.locker[58])
if (_root.locker[58])
{
{
omgz(126);
omgz(126);
} // end if
} // end if
if (_root.locker[59])
if (_root.locker[59])
{
{
_root.ittt.push(112);
_root.ittt.push(112);
_root.ittt10.push(112);
_root.ittt10.push(112);
} // end if
} // end if
if (_root.locker[60])
if (_root.locker[60])
{
{
_root.ittt.push(131);
_root.ittt.push(131);
} // end if
} // end if
if (_root.locker[61])
if (_root.locker[61])
{
{
omgz(113);
omgz(113);
} // end if
} // end if
if (_root.locker[62])
if (_root.locker[62])
{
{
omgz(127);
omgz(127);
} // end if
} // end if
if (_root.locker[63])
if (_root.locker[63])
{
{
omgz(123);
omgz(123);
_root.ittt9.push(123);
_root.ittt9.push(123);
} // end if
} // end if
for (z in _root.ittt2)
for (z in _root.ittt2)
{
{
for (i = 0; i < _root.ittt.length; i++)
for (i = 0; i < _root.ittt.length; i++)
{
{
if (_root.ittt2[z] == _root.ittt[i])
if (_root.ittt2[z] == _root.ittt[i])
{
{
_root.ittt.splice(i, 1);
_root.ittt.splice(i, 1);
break;
break;
} // end if
} // end if
} // end of for
} // end of for
} // end of for...in
} // end of for...in
for (z in _root.ittt4)
for (z in _root.ittt4)
{
{
for (i = 0; i < _root.ittt.length; i++)
for (i = 0; i < _root.ittt.length; i++)
{
{
if (_root.ittt4[z] == _root.ittt[i])
if (_root.ittt4[z] == _root.ittt[i])
{
{
_root.ittt.splice(i, 1);
_root.ittt.splice(i, 1);
break;
break;
} // end if
} // end if
} // end of for
} // end of for
} // end of for...in
} // end of for...in
for (z in _root.ittt6)
for (z in _root.ittt6)
{
{
for (i = 0; i < _root.ittt.length; i++)
for (i = 0; i < _root.ittt.length; i++)
{
{
if (_root.ittt6[z] == _root.ittt[i])
if (_root.ittt6[z] == _root.ittt[i])
{
{
_root.ittt.splice(i, 1);
_root.ittt.splice(i, 1);
break;
break;
} // end if
} // end if
} // end of for
} // end of for
} // end of for...in
} // end of for...in
} // End of the function
} // End of the function