Class Literature

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Literature

public class Literature
extends InventoryItem
  • Field Details

    • bAlreadyRead

      public boolean bAlreadyRead
    • requireInHandOrInventory

      public java.lang.String requireInHandOrInventory
    • useOnConsume

      public java.lang.String useOnConsume
  • Constructor Details

    • Literature

      public Literature​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
    • Literature

      public Literature​(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item)
  • Method Details

    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • getCategory

      public java.lang.String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • update

      public void update()
      Overrides:
      update in class InventoryItem
    • finishupdate

      public boolean finishupdate()
      Overrides:
      finishupdate in class InventoryItem
    • DoTooltip

      public void DoTooltip​(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
      Overrides:
      DoTooltip in class InventoryItem
    • save

      public void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException
      Overrides:
      save in class InventoryItem
      Throws:
      java.io.IOException
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException
      Overrides:
      load in class InventoryItem
      Throws:
      java.io.IOException
    • getBoredomChange

      public float getBoredomChange()
      Overrides:
      getBoredomChange in class InventoryItem
    • getUnhappyChange

      public float getUnhappyChange()
      Overrides:
      getUnhappyChange in class InventoryItem
    • getStressChange

      public float getStressChange()
      Overrides:
      getStressChange in class InventoryItem
    • getNumberOfPages

      public int getNumberOfPages()
    • setNumberOfPages

      public void setNumberOfPages​(int int1)
    • getBookName

      public java.lang.String getBookName()
    • setBookName

      public void setBookName​(java.lang.String string)
    • getLvlSkillTrained

      public int getLvlSkillTrained()
    • setLvlSkillTrained

      public void setLvlSkillTrained​(int int1)
    • getNumLevelsTrained

      public int getNumLevelsTrained()
    • setNumLevelsTrained

      public void setNumLevelsTrained​(int int1)
    • getMaxLevelTrained

      public int getMaxLevelTrained()
    • getSkillTrained

      public java.lang.String getSkillTrained()
    • setSkillTrained

      public void setSkillTrained​(java.lang.String string)
    • getAlreadyReadPages

      public int getAlreadyReadPages()
    • setAlreadyReadPages

      public void setAlreadyReadPages​(int int1)
    • canBeWrite

      public boolean canBeWrite()
    • setCanBeWrite

      public void setCanBeWrite​(boolean boolean1)
    • getCustomPages

      public java.util.HashMap getCustomPages()
    • setCustomPages

      public void setCustomPages​(java.util.HashMap hashMap)
    • addPage

      public void addPage​(java.lang.Integer integer, java.lang.String string)
    • seePage

      public java.lang.String seePage​(java.lang.Integer integer)
    • getLockedBy

      public java.lang.String getLockedBy()
    • setLockedBy

      public void setLockedBy​(java.lang.String string)
    • getPageToWrite

      public int getPageToWrite()
    • setPageToWrite

      public void setPageToWrite​(int int1)
    • getTeachedRecipes

      public java.util.List getTeachedRecipes()
    • setTeachedRecipes

      public void setTeachedRecipes​(java.util.List list)