Code:
public static void shipInterface(TextDrawingArea[] tda) {
RSInterface tab = addScreenInterface(15040);
addSprite(15009, 0, "Ship/BOX");
addHoverButton(15010, "Ship/TIME", 1, 99, 52, "Shows a list of information", -1, 15011, 1);
addHoveredButton(15011, "Ship/TIME", 0, 99, 52, 15051);
addHoverButton(15012, "Ship/CANNON", 1, 99, 52, "Upgrade ships cannons", -1, 15013, 1);
addHoveredButton(15013, "Ship/CANNON", 0, 99, 52, 15052);
addHoverButton(15014, "Ship/CARGO", 1, 99, 52, "Upgrade ships cargo", -1, 15015, 1);
addHoveredButton(15015, "Ship/CARGO", 0, 99, 52, 15053);
addHoverButton(15016, "Ship/POWER", 1, 99, 52, "Upgrade ships power", -1, 15017, 1);
addHoveredButton(15017, "Ship/POWER", 0, 99, 52, 15054);
addHoverButton(15018, "Ship/LOOT", 1, 149, 147, "Check loot", -1, 15019, 1);
addHoveredButton(15019, "Ship/LOOT", 0, 149, 147, 15055);
addHoverButton(15020, "Ship/SAIL", 1, 99, 52, "Send ship to plunder", -1, 15021, 1);
addHoveredButton(15021, "Ship/SAIL", 0, 99, 52, 15056);
addHoverButton(15022, "Ship/CLOSE", 1, 16, 16, "Close", -1, 15022, 1);
addHoveredButton(15023, "Ship/CLOSE", 0, 16, 16, 15057);
addText(15024, /*Text kept it cause it might be nice to have*/"", tda, 3, 0xffffff, false, true);
tab.totalChildren(16);
int x = 82;
int y = 110;
tab.child(0, 15009, 48, 65);
tab.child(1, 15010, x, y);
tab.child(2, 15011, x, y);
tab.child(3, 15012, x, y+60);
tab.child(4, 15013, x, y+60);
tab.child(5, 15014, x, y+120);
tab.child(6, 15015, x, y+120);
tab.child(7, 15016, x+124, y+60);
tab.child(8, 15017, x+124, y+60);
tab.child(9, 15018, 319, y+48);
tab.child(10, 15019, 319, y+48);
tab.child(11, 15020, x+124, y+120);
tab.child(12, 15021, x+124, y+120);
tab.child(13, 15022, 448, 69);
tab.child(14, 15023, 448, 69);
tab.child(15, 15024, 197, 70);
}