Move material-abilities to the language files. They are DISPLAY ONLY. Don't use them for anything else.

This commit is contained in:
Bernhard Bonigl committed 2014-09-03 11:50:57 +02:00
1 parent 794e953f01
commit 7f5ce21e29
6 files changed
+42 -40

No files matched your search

@@ -157,9 +157,9 @@ public class MaterialPage extends BookPage
String ability = material.ability();
if (!ability.equals(""))
{
manual.fonts.drawString(materialTrait + ": " + material.localizedAbility(), localWidth, localHeight + 120 + 10 * offset, 0);
manual.fonts.drawString(materialTrait + ": " + ability, localWidth, localHeight + 120 + 10 * offset, 0);
offset++;
if (ability.equals("materialtraits.writable"))
if(material.name().equals("Paper") || material.name().equals("Thaumium"))
manual.fonts.drawString(extraMod, localWidth, localHeight + 120 + 10 * offset, 0);
}