Code:
public static void questTab(RSFont[] TDA){
RSInterface Interface = addInterface(638);
setChildren(4, Interface);
addText(29155, "Quest Points: 0", 0xFF981F, false, true, 52, TDA, 2);
addButton(29156, 1, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Achievement Diary", 1);
addSprite(29157, 0, "Interfaces/QuestTab/QUEST");
setBounds(29155, 10, 5, 0, Interface);
setBounds(29156, 165, 5, 1, Interface);
setBounds(29157, 3, 24, 2, Interface);
setBounds(29160, 5, 29, 3, Interface);
Interface = addInterface(29160);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 1700;
Interface.newScroller = false;
setChildren(105, Interface);
addText(29161, "RedemptionX", 0xFF981F, false, true, 52, TDA, 2);
addHoverText(29162, "Rules", "Rules", TDA, 0, 0xff0000, false, true, 150);
addText(29163, "Teleports", 0xFF981F, false, true, 52, TDA, 2);
addHoverText(29164, "Shops", "Shops", TDA, 0, 0xff0000, false, true, 150);
addText(29165, "Quests", 0xFF981F, false, true, 52, TDA, 2); //WONT SHOW UP
addHoverText(29166, "Animal Magnetism", "Click for help", TDA, 0, 0xff0000, false, true, 150); //WONT SHOW UP
setBounds(29161, 4, 4, 0, Interface);
setBounds(29162, 8, 22, 1, Interface);
setBounds(29163, 4, 35, 2, Interface);
setBounds(29164, 8, 53, 3, Interface);
setBounds(663, 4, 67, 4, Interface);
int Ypos = 83;
int frameID = 5;
for(int iD = 29165; iD <= 29264;iD++){
addHoverText(iD, "", "View Quest"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
setBounds(iD, 8, Ypos, frameID, Interface);
frameID++;
Ypos += 15;
Ypos++;
}
Interface = addInterface(29265);
try {
setChildren(4, Interface);
addText(29266, "Achievement Diary", 0xFF981F, false, true, -1, TDA, 2);
addButton(29267, 2, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Quest Diary", 1);
addSprite(29269, 0, "Interfaces/QuestTab/QUEST");
setBounds(29266, 10, 5, 0, Interface);
setBounds(29267, 165, 5, 1, Interface);
setBounds(29269, 3, 24, 2, Interface);
setBounds(29268, 5, 29, 3, Interface);
Interface = addInterface(29268);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 215;
Interface.newScroller = false;
setChildren(3, Interface);
setBounds(29295, 8, 6, 0, Interface);
setBounds(29287, 8, 21, 1, Interface);
setBounds(29305, 8, 36, 2, Interface);
addHoverText(29295, "Karamja", "Read Journal", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29287, "Varrock", "Read Journal", TDA, 0, 0xff0000, false, true, 150);
addText(29305, "More coming soon...", 0xFF0000, false, true, -1, TDA, 0, 0xFFFFFF);
} catch(Exception e){
e.printStackTrace();
}
}