More small changes to pda

This commit is contained in:
gigabit101 2015-08-16 21:29:12 +01:00
parent 25aeaf371e
commit 388dfc016d
4 changed files with 10 additions and 4 deletions
src/main
java/techreborn/pda/pages
resources/assets/techreborn/lang

View file

@ -57,6 +57,6 @@ public class BlocksPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}

View file

@ -55,6 +55,6 @@ public class IndexPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}

View file

@ -15,7 +15,7 @@ public class ItemsPage extends TitledPage{
@SuppressWarnings("unchecked")
@Override
public void initGui() {
buttonList.clear();
// buttonList.clear();
int row = 0;
int collum = 0;
for (BasePage page : collection.pages){
@ -57,6 +57,6 @@ public class ItemsPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}

View file

@ -840,6 +840,12 @@ Cable.glassFiberCable.name=Glass Fiber Cable
Cable.tinCable.name=Tin Cable
#PDA
techreborn.pda.contents=Contents Page
techreborn.pda.itemspage=Items
techreborn.pda.blockspage=Blocks
techreborn.pda.index=Index
techreborn.pda.backbutton=BACK
item.techreborn.advancedDrill.description=This Tool is a advanced version of the mining drill, when this item is activated it will dig out a 3x3.
tile.techreborn.alloyfurnace.description=This Machine is your first step into TechReborn with this you can fuse metals into other metals. These other metals can be used to craft the higher tier machines.
tile.techreborn.alloysmelter.description=This machine is a upgraded version of the Alloy Furnace, This block requires EU or RF.