Added in book entries for the Teleport Array and the Turret Array.

This commit is contained in:
WayofTime 2018-03-30 07:15:38 -04:00
parent 6e7b387e6a
commit b7adad76e7
5 changed files with 32 additions and 13 deletions

View file

@ -93,6 +93,26 @@ public class CategoryAlchemy
bouncePages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "bounce" + ".info"), 370));
entries.put(new ResourceLocation(keyBase + "bounce"), new EntryText(bouncePages, TextHelper.localize(keyBase + "bounce"), true));
List<IPage> teleportPages = new ArrayList<>();
PageAlchemyArray teleportRecipePage = BookUtils.getAlchemyPage("teleport");
if (teleportRecipePage != null)
{
teleportPages.add(teleportRecipePage);
}
teleportPages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "teleport" + ".info"), 370));
entries.put(new ResourceLocation(keyBase + "teleport"), new EntryText(teleportPages, TextHelper.localize(keyBase + "teleport"), true));
List<IPage> standardTurretPages = new ArrayList<>();
PageAlchemyArray standardTurretRecipePage = BookUtils.getAlchemyPage("turret");
if (standardTurretRecipePage != null)
{
standardTurretPages.add(standardTurretRecipePage);
}
standardTurretPages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "standardTurret" + ".info"), 370));
entries.put(new ResourceLocation(keyBase + "standardTurret"), new EntryText(standardTurretPages, TextHelper.localize(keyBase + "standardTurret"), true));
List<IPage> buffPages = new ArrayList<>();
buffPages.addAll(PageHelper.pagesForLongText(TextHelper.localize(keyBase + "buff" + ".info"), 370));