starter guide beginnings

This commit is contained in:
Vaern 2022-02-09 19:46:15 -08:00
parent efd1325e8f
commit f8a11d3d33
4 changed files with 21 additions and 1 deletions

View File

@ -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<GuidePage> 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<GuidePage> statFacStarter() {
List<GuidePage> 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;

View File

@ -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 });

View File

@ -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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB