diff --git a/src/main/java/com/hbm/items/tool/ItemGuideBook.java b/src/main/java/com/hbm/items/tool/ItemGuideBook.java index 53dc0947d..545354fd7 100644 --- a/src/main/java/com/hbm/items/tool/ItemGuideBook.java +++ b/src/main/java/com/hbm/items/tool/ItemGuideBook.java @@ -49,7 +49,8 @@ public class ItemGuideBook extends Item { TEST("book.test.cover", 2F, statFacTest()), RBMK("book.rbmk.cover", 1.5F, statFacRBMK()), - HADRON("book.error.cover", 1.5F, statFacHadron()); + HADRON("book.error.cover", 1.5F, statFacHadron()), + STARTER("book.starter.cover", 1.5F, statFacStarter()); public List pages; public float titleScale; @@ -127,6 +128,20 @@ public class ItemGuideBook extends Item { return pages; } + /* Mmm, maybe I should include something that allows you to have variable textures for the gui + item + That would be something to do after the book is done though + */ + public static List statFacStarter() { + + List pages = new ArrayList(); + + //TODO: Figure out why non-whole scales stretch and fuck up the text + pages.add(new GuidePage("book.starter.page1").setScale(2F).addTitle("book.starter.title1", 0x800000, 1F) + .addImage(new ResourceLocation(RefStrings.MODID + ":textures/gui/book/starter1.png"), 95, 100, 56)); + + return pages; + } + public static class GuidePage { public String title; diff --git a/src/main/java/com/hbm/main/CraftingManager.java b/src/main/java/com/hbm/main/CraftingManager.java index 3a03d7eb6..197295558 100644 --- a/src/main/java/com/hbm/main/CraftingManager.java +++ b/src/main/java/com/hbm/main/CraftingManager.java @@ -858,6 +858,7 @@ public class CraftingManager { addShapelessAuto(new ItemStack(ModItems.book_guide, 1, BookType.TEST.ordinal()), new Object[] { Items.book, ModItems.canned_jizz }); addShapelessAuto(new ItemStack(ModItems.book_guide, 1, BookType.RBMK.ordinal()), new Object[] { Items.book, Items.potato }); addShapelessAuto(new ItemStack(ModItems.book_guide, 1, BookType.HADRON.ordinal()), new Object[] { Items.book, ModItems.fuse }); + addShapelessAuto(new ItemStack(ModItems.book_guide, 1, BookType.STARTER.ordinal()), new Object[] { Items.book, Items.iron_ingot }); addShapelessAuto(new ItemStack(ModItems.holotape_image, 1, EnumHoloImage.HOLO_RESTORED.ordinal()), new Object[] { new ItemStack(ModItems.holotape_image, 1, EnumHoloImage.HOLO_DIGAMMA.ordinal()), ModItems.screwdriver, ModItems.ducttape, ModItems.armor_polish }); diff --git a/src/main/resources/assets/hbm/lang/en_US.lang b/src/main/resources/assets/hbm/lang/en_US.lang index 69674971f..5cafcd361 100644 --- a/src/main/resources/assets/hbm/lang/en_US.lang +++ b/src/main/resources/assets/hbm/lang/en_US.lang @@ -204,6 +204,10 @@ book.rbmk.page15=The §lfuel§r response depends on many factors. The main ones book.rbmk.title16=Melting book.rbmk.page16=§4§lAVOID. +book.starter.cover=An Industrialist's$Guide to Rebuilding$Society +book.starter.title1=Introduction +book.starter.page1=If you're reading this, it's highly likely that society, in one way or another, has collapsed entirely. Governments, countries, and authority are a concept of the past - along with all of the amenities of civilized life. As such, this guide will inform you how to change that by recreating the industry and technology of the past for the improvement of your own life. + #book.rbmk.cover=HOW 2 RBMK:$The Basics$of Reactor$Construction #book.rbmk.title1=Introduction #book.rbmk.page1=The §lRBMK§r is a fully modular nuclear reactor. Unlike most other reactors, there is no "core", and no size limitations, rather, the behavior and efficiency of the reactor comes from how it is built and how the different pieces interact with each other. diff --git a/src/main/resources/assets/hbm/textures/gui/book/starter1.png b/src/main/resources/assets/hbm/textures/gui/book/starter1.png new file mode 100644 index 000000000..8eecd5fa7 Binary files /dev/null and b/src/main/resources/assets/hbm/textures/gui/book/starter1.png differ