Exemplo n.º 1
0
 public void openLeather(int hide) {
   for (int i = 0; i < leathers.length; i++) {
     if (leathers[i][0] == hide) {
       c.getPA().sendFrame164(8880); // leather
       c.getPA().sendFrame126("What would you like to make?", 8879);
       c.getPA().sendFrame246(8884, 250, leathers[i][1]); // middle
       c.getPA().sendFrame246(8883, 250, leathers[i][2]); // left picture
       c.getPA().sendFrame246(8885, 250, leathers[i][3]); // right pic
       c.getPA().sendFrame126("Vambs", 8889);
       c.getPA().sendFrame126("Chaps", 8893);
       c.getPA().sendFrame126("Body", 8897);
     }
   }
   c.craftingLeather = true;
   c.hideId = hide;
 }
Exemplo n.º 2
0
 public void resetCrafting() {
   c.craftingLeather = false;
   c.hideId = -1;
 }