From 3407aa61ba25bd74b7b3697b607bc45fa76b1c35 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 19 Oct 2016 18:24:50 +0200 Subject: [PATCH] Added description to the booklet to explain what it is and that it needs to be right-clicked --- .../de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java | 5 +++++ .../actuallyadditions/mod/tile/TileEntityFishingNet.java | 2 +- src/main/resources/assets/actuallyadditions/lang/en_US.lang | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java index 643aa6c0d..bb2d414aa 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java @@ -88,6 +88,11 @@ public class ItemBooklet extends ItemBase implements IHudDisplay{ @Override public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean bool){ list.add(StringUtil.localize("tooltip."+ModUtil.MOD_ID+"."+this.getBaseName()+".desc")); + + for(int i = 1; i <= 4; i++){ + String format = i == 4 ? TextFormatting.GOLD.toString()+TextFormatting.ITALIC : TextFormatting.RESET.toString(); + list.add(format+StringUtil.localize("tooltip."+ModUtil.MOD_ID+"."+this.getBaseName()+".sub."+i)); + } } diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFishingNet.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFishingNet.java index c221169bc..3002b436f 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFishingNet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFishingNet.java @@ -71,7 +71,7 @@ public class TileEntityFishingNet extends TileEntityBase{ } } else{ - int time = 150; + int time = 15000; this.timeUntilNextDrop = time+Util.RANDOM.nextInt(time/2); } } diff --git a/src/main/resources/assets/actuallyadditions/lang/en_US.lang b/src/main/resources/assets/actuallyadditions/lang/en_US.lang index 2755fb344..030d4c820 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_US.lang +++ b/src/main/resources/assets/actuallyadditions/lang/en_US.lang @@ -537,6 +537,10 @@ tooltip.actuallyadditions.laser.stored.desc= tooltip.actuallyadditions.laser.connected.desc= tooltip.actuallyadditions.laser.cantConnect.desc=Can't connect: The relays are either part of the same network, the stored relay isn't the same type or doesn't exist anymore or it is too far away! tooltip.actuallyadditions.itemBooklet.desc=Or "Booklet", if you will +tooltip.actuallyadditions.itemBooklet.sub.1=This book guides you through all of +tooltip.actuallyadditions.itemBooklet.sub.2=the features that Actually Additions +tooltip.actuallyadditions.itemBooklet.sub.3=has to offer. +tooltip.actuallyadditions.itemBooklet.sub.4=Use while holding to open. tooltip.actuallyadditions.playerProbe.disconnect.1=The player you were probing has broken the connection before you could strap him to the Player Interface! Data will be cleared! tooltip.actuallyadditions.playerProbe.disconnect.2=The player you were probing has disconnected before you could strap him to the Player Interface! Data will be cleared! tooltip.actuallyadditions.playerProbe.probing=Probing