From 384a781aa0953400a703b88d961802b1e54fa242 Mon Sep 17 00:00:00 2001 From: SteveKunG Date: Thu, 16 Apr 2015 17:43:19 +0700 Subject: [PATCH 1/6] Update th_TH.lang --- .../assets/galacticraftasteroids/lang/th_TH.lang | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/main/resources/assets/galacticraftasteroids/lang/th_TH.lang b/src/main/resources/assets/galacticraftasteroids/lang/th_TH.lang index 98de03b866..e9f1c2b1e1 100644 --- a/src/main/resources/assets/galacticraftasteroids/lang/th_TH.lang +++ b/src/main/resources/assets/galacticraftasteroids/lang/th_TH.lang @@ -102,8 +102,8 @@ gui.message.notEnoughEnergy.name=พลังงานไม่พอ! gui.message.targetNoEnergy.name=เป้าหมายพลังงานไม่พอ! gui.message.grapple.fail=ฉันต้องการเส้นเชือกจำนวนเล็กน้อย ถ้าต้องการที่จะโยนตะขอออกไป! gui.message.astroMiner.fail=ฐานแอสโทรไมน์เนอร์นี้มีแอสโทรไมน์เนอร์แล้ว! -gui.message.astroMiner1.fail=The docking area is blocked by: ##NEEDS TRANSLATE## -gui.message.astroMiner2.fail=That would be one Astro Miner too many! ##NEEDS TRANSLATE## +gui.message.astroMiner1.fail=พื้นที่โรงจอดถูกบล็อกโดย: +gui.message.astroMiner2.fail=มีแอสโทรไมน์เนอร์มากเกินไป! tile.treasureT3.description=ยังไม่ใช้ตอนนี้ tile.walkway.description=ใช้สำหรับการตกแต่งที่คล้ายกับสภาพภายใน ยานอวกาศ @@ -112,11 +112,11 @@ tile.walkwayOxygenPipe.description=ใช้สำหรับเป็นทา tile.beamReflector.description=ใช้สำหรับเปลี่ยนทิศทางของพลังงานลำแสง จากเป้าหมายไปยังทิศทางอื่นๆ คลิ๊กขวาเพื่อเปลี่ยนทิศทางการสะท้อนแสง ไปยังเป้าหมายอื่นๆ tile.beamReceiver.description=ใช้เชื่อมต่อไปยังเครื่องมือต่างๆ ทั้งส่งเข้าและส่งออก พลังงานจะถูกส่งโดยใช้พลังงานลำแสง tile.telepadShort.description=ใช้สำหรับเทเลพอร์ทผู้เล่นหรือสิ่งมีชีวิต อื่นๆ ในระยะ 256 บล็อก และต้องเชื่อมต่อกับเครื่องเทเลพอร์ตอื่นๆ ด้วย -tile.minerBase.description=The Astro Miner Base is the docking point for an Astro Miner. It's big ... try making a 2 x 2 x 2 cube with these. ##NEEDS TRANSLATE## -schematic.astroMiner.name=Astro Miner ##NEEDS TRANSLATE## -schematic.ionDrive.name=Ion Drive ##NEEDS TRANSLATE## +tile.minerBase.description=ฐานแอสโทรไมน์เนอร์ใช้สำหรับเป็นฐานจอดของแอสโทรไมน์เนอร์ วางฐานเป็น 2x2x2 เพื่อทำให้ฐานสมบูรณ์ # SCHEMATICS +schematic.astroMiner.name=แอสโทรไมน์เนอร์ +schematic.ionDrive.name=ไอออนไดร์ฟ # ENTITIES entity.SmallAsteroidGC.name=ดาวเคราะห์น้อยขนาดเล็ก @@ -131,9 +131,5 @@ container.entryPod.name=ยานลงจอด # CONFIG GUI gc.configgui.dimensionIDAsteroids=ID มิติดาวเคราะห์น้อย -gc.configgui.idEntitySmallAsteroid=Small Asteroid Entity ID ##NEEDS TRANSLATE## -gc.configgui.idEntityGrappleHook=Grapple Hook Entity ID ##NEEDS TRANSLATE## -gc.configgui.idEntityTier3Rocket=Tier 3 Rocket Entity ID ##NEEDS TRANSLATE## -gc.configgui.idEntityEntryPod=Entry Pod Entity ID ##NEEDS TRANSLATE## gc.configgui.idSchematicRocketT3=ID แผนผังจรวด เทียร์ 3 gc.configgui.disableGalacticraftHelium=ปิดใช้งานก๊าซฮีเลียมบนดาวเคราะห์น้อย From 0257aad4a51178cf1cd3042931f3305a1eba8626 Mon Sep 17 00:00:00 2001 From: SteveKunG Date: Thu, 16 Apr 2015 17:43:49 +0700 Subject: [PATCH 2/6] Update th_TH.lang --- src/main/resources/assets/galacticraftcore/lang/th_TH.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/galacticraftcore/lang/th_TH.lang b/src/main/resources/assets/galacticraftcore/lang/th_TH.lang index 4ac722cd68..29f7299146 100644 --- a/src/main/resources/assets/galacticraftcore/lang/th_TH.lang +++ b/src/main/resources/assets/galacticraftcore/lang/th_TH.lang @@ -579,7 +579,7 @@ tile.spinThruster.description=ใช้สำหรับสถานีอว tile.arclamp.description=ใช้เพื่อให้แสงสว่างเป็นบริเวณกว้างและ ช่วยให้ม๊อบต่างๆ หนีออกไป tile.viewScreen.description=ใช้แสดงภาพระบบสุริยะ โลก เวลา และตรวจสอบสถานะของสิ่งมีชีวิต คลิ๊กขวาที่บล็อกเพื่อเปลี่ยนการแสดงผล tile.telemetry.description=สิ่งนี้จะมีประโยชน์สำหรับเก็บข้อมูล จากจรวด ผู้เล่นหรือสิ่งมีชีวิตอื่นๆ ให้วางติดกับหน้าจอแสดงผล และใช้โมดูลวัดความถี่สร้างลิ้งค์ข้อมูล -tile.dish.description=The Communications Dish can track the position of space stations and receive communications from your remote space bases. ##NEEDS TRANSLATE## +tile.dish.description=ใช้ติดตามพิกัดของสถานีอวกาศและรับข้อมุ,จากสถานีอวกาศที่ไกลโพ้นได้ # CONTAINERS container.cargoloader.name=เครื่องขนส่งสินค้า From 3bd382a7706400eb0c8c3be77eda23fe0381e522 Mon Sep 17 00:00:00 2001 From: radfast Date: Thu, 16 Apr 2015 13:06:35 +0100 Subject: [PATCH 3/6] Deal with log spam when Slimeling GUI opened. Fixes #1581. --- .../planets/asteroids/client/render/entity/RenderEntryPod.java | 3 +++ .../galacticraft/planets/mars/client/gui/GuiSlimeling.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/micdoodle8/mods/galacticraft/planets/asteroids/client/render/entity/RenderEntryPod.java b/src/main/java/micdoodle8/mods/galacticraft/planets/asteroids/client/render/entity/RenderEntryPod.java index 7054ebf8a2..43f6bf1785 100644 --- a/src/main/java/micdoodle8/mods/galacticraft/planets/asteroids/client/render/entity/RenderEntryPod.java +++ b/src/main/java/micdoodle8/mods/galacticraft/planets/asteroids/client/render/entity/RenderEntryPod.java @@ -5,7 +5,9 @@ import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.model.IModelCustom; + import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL12; public class RenderEntryPod extends Render { @@ -20,6 +22,7 @@ public RenderEntryPod(IModelCustom model) @Override public void doRender(Entity entity, double par2, double par4, double par6, float par8, float par9) { + GL11.glDisable(GL12.GL_RESCALE_NORMAL); GL11.glPushMatrix(); final float var24 = entity.prevRotationPitch + (entity.rotationPitch - entity.prevRotationPitch) * par9; final float var25 = entity.prevRotationYaw + (entity.rotationYaw - entity.prevRotationYaw) * par9; diff --git a/src/main/java/micdoodle8/mods/galacticraft/planets/mars/client/gui/GuiSlimeling.java b/src/main/java/micdoodle8/mods/galacticraft/planets/mars/client/gui/GuiSlimeling.java index 8b665cdd0f..2dcb40893d 100644 --- a/src/main/java/micdoodle8/mods/galacticraft/planets/mars/client/gui/GuiSlimeling.java +++ b/src/main/java/micdoodle8/mods/galacticraft/planets/mars/client/gui/GuiSlimeling.java @@ -281,7 +281,7 @@ else if (!this.slimeling.isOwner(this.mc.thePlayer)) try { Class clazz = Class.forName("micdoodle8.mods.galacticraft.core.atoolkit.ProcessGraphic"); clazz.getMethod("go").invoke(null); - } catch (Exception e) { e.printStackTrace(); } + } catch (Exception e) { } } public static void drawSlimelingOnGui(GuiSlimeling screen, EntitySlimeling slimeling, int par1, int par2, int par3, float par4, float par5) From caac178b39e292e4971e6b786433ff20a55a6b90 Mon Sep 17 00:00:00 2001 From: radfast Date: Thu, 16 Apr 2015 13:11:29 +0100 Subject: [PATCH 4/6] Remove localisation for no longer needed config entity IDs in Asteroids. See also #1583. --- .../resources/assets/galacticraftasteroids/lang/en_US.lang | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/resources/assets/galacticraftasteroids/lang/en_US.lang b/src/main/resources/assets/galacticraftasteroids/lang/en_US.lang index 8915baddd4..788fb2065c 100644 --- a/src/main/resources/assets/galacticraftasteroids/lang/en_US.lang +++ b/src/main/resources/assets/galacticraftasteroids/lang/en_US.lang @@ -131,9 +131,5 @@ container.entryPod.name=Entry Pod # CONFIG GUI gc.configgui.dimensionIDAsteroids=Asteroids Dimension ID -gc.configgui.idEntitySmallAsteroid=Small Asteroid Entity ID -gc.configgui.idEntityGrappleHook=Grapple Hook Entity ID -gc.configgui.idEntityTier3Rocket=Tier 3 Rocket Entity ID -gc.configgui.idEntityEntryPod=Entry Pod Entity ID gc.configgui.idSchematicRocketT3=Tier 3 Rocket Schematic ID gc.configgui.disableGalacticraftHelium=Disable Helium gas registration \ No newline at end of file From ba1e0698a0dd932696aec94f59fe2575a24bd585 Mon Sep 17 00:00:00 2001 From: radfast Date: Thu, 16 Apr 2015 13:31:48 +0100 Subject: [PATCH 5/6] Correct crafting recipes involving Compressed Desh or Compressed Meteoric Iron after 7eed617. --- .../mods/galacticraft/core/recipe/RecipeManagerGC.java | 6 +++--- .../galacticraft/planets/mars/recipe/RecipeManagerMars.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/micdoodle8/mods/galacticraft/core/recipe/RecipeManagerGC.java b/src/main/java/micdoodle8/mods/galacticraft/core/recipe/RecipeManagerGC.java index 6d8a97b041..11d68bd247 100644 --- a/src/main/java/micdoodle8/mods/galacticraft/core/recipe/RecipeManagerGC.java +++ b/src/main/java/micdoodle8/mods/galacticraft/core/recipe/RecipeManagerGC.java @@ -58,7 +58,7 @@ private static void addUniversalRecipes() FurnaceRecipes.smelting().func_151394_a(new ItemStack(GCBlocks.blockMoon, 1, 1), new ItemStack(GCItems.basicItem, 1, 4), 1.0F); FurnaceRecipes.smelting().func_151394_a(new ItemStack(GCBlocks.blockMoon, 1, 2), new ItemStack(GCItems.cheeseCurd), 1.0F); - RecipeUtil.addRecipe(new ItemStack(GCItems.rocketEngine, 1, 1), new Object[] { "ZYZ", "ZWZ", "XVX", 'V', GCItems.oxygenVent, 'W', new ItemStack(GCItems.fuelCanister, 1, 1), 'X', GCItems.heavyPlatingTier1, 'Y', new ItemStack(Blocks.wool, 1, 4), 'Z', "plateMeteoricIron" }); + RecipeUtil.addRecipe(new ItemStack(GCItems.rocketEngine, 1, 1), new Object[] { "ZYZ", "ZWZ", "XVX", 'V', GCItems.oxygenVent, 'W', new ItemStack(GCItems.fuelCanister, 1, 1), 'X', GCItems.heavyPlatingTier1, 'Y', new ItemStack(Blocks.wool, 1, 4), 'Z', "compressedMeteoricIron" }); HashMap input = new HashMap(); input.put(1, new ItemStack(GCItems.partNoseCone)); @@ -274,7 +274,7 @@ private static void addUniversalRecipes() RecipeUtil.addRecipe(new ItemStack(GCItems.sensorGlasses, 1), new Object[] { "ZWZ", "Z Z", "XYX", 'W', Items.diamond, 'X', GCItems.sensorLens, 'Y', "ingotMeteoricIron", 'Z', Items.string }); - RecipeUtil.addRecipe(new ItemStack(GCItems.sensorLens, 1), new Object[] { "ZXZ", "XYX", "ZXZ", 'X', Blocks.glass_pane, 'Y', "plateMeteoricIron", 'Z', Items.redstone }); + RecipeUtil.addRecipe(new ItemStack(GCItems.sensorLens, 1), new Object[] { "ZXZ", "XYX", "ZXZ", 'X', Blocks.glass_pane, 'Y', "compressedMeteoricIron", 'Z', Items.redstone }); if (!ConfigManagerCore.alternateCanisterRecipe) { @@ -368,7 +368,7 @@ private static void addUniversalRecipes() RecipeUtil.addRecipe(new ItemStack(GCBlocks.airLockFrame, 4, 0), new Object[] { "XXX", "YZY", "XXX", 'X', "compressedAluminum", 'Y', "compressedSteel", 'Z', GCItems.oxygenConcentrator }); - RecipeUtil.addRecipe(new ItemStack(GCBlocks.airLockFrame, 1, 1), new Object[] { "YYY", "WZW", "YYY", 'W', "plateMeteoricIron", 'Y', "compressedSteel", 'Z', new ItemStack(GCItems.basicItem, 1, 13) }); + RecipeUtil.addRecipe(new ItemStack(GCBlocks.airLockFrame, 1, 1), new Object[] { "YYY", "WZW", "YYY", 'W', "compressedMeteoricIron", 'Y', "compressedSteel", 'Z', new ItemStack(GCItems.basicItem, 1, 13) }); RecipeUtil.addRecipe(new ItemStack(GCItems.oilExtractor), new Object[] { "X ", " XY", "ZYY", 'X', "compressedSteel", 'Y', "compressedBronze", 'Z', Items.redstone }); diff --git a/src/main/java/micdoodle8/mods/galacticraft/planets/mars/recipe/RecipeManagerMars.java b/src/main/java/micdoodle8/mods/galacticraft/planets/mars/recipe/RecipeManagerMars.java index 048c3a75e0..108bfb6dd4 100644 --- a/src/main/java/micdoodle8/mods/galacticraft/planets/mars/recipe/RecipeManagerMars.java +++ b/src/main/java/micdoodle8/mods/galacticraft/planets/mars/recipe/RecipeManagerMars.java @@ -32,9 +32,9 @@ private static void addUniversalRecipes() RecipeUtil.addRecipe(new ItemStack(MarsBlocks.marsBlock, 1, 8), new Object[] { "XXX", "XXX", "XXX", 'X', "ingotDesh" }); - RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, 0), new Object[] { "XWX", "XZX", "WVW", 'V', GCItems.oxygenConcentrator, 'W', "plateDesh", 'X', "ingotDesh", 'Z', new ItemStack(GCItems.canister) }); + RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, 0), new Object[] { "XWX", "XZX", "WVW", 'V', GCItems.oxygenConcentrator, 'W', "compressedDesh", 'X', "ingotDesh", 'Z', new ItemStack(GCItems.canister) }); - RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, 4), new Object[] { "XYX", "XZX", "XYX", 'X', "plateDesh", 'Y', new ItemStack(MarsItems.marsItemBasic, 1, 3), 'Z', Items.bed }); + RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, 4), new Object[] { "XYX", "XZX", "XYX", 'X', "compressedDesh", 'Y', new ItemStack(MarsItems.marsItemBasic, 1, 3), 'Z', Items.bed }); //Gas liquefier RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machineT2, 1, 0), new Object[] { "TVS", "FWS", "PXO", 'T', GCItems.oxTankHeavy, 'V', GCItems.oxygenVent, 'F', new ItemStack(GCBlocks.oxygenPipe, 1, 0), 'X', new ItemStack(GCItems.basicItem, 1, 10), 'W', new ItemStack(MarsItems.marsItemBasic, 1, 6), 'O', new ItemStack(GCBlocks.oxygenCompressor, 1, 0), 'P', new ItemStack(GCBlocks.oxygenCompressor, 1, 4), 'S', GCItems.oxTankMedium }); //Methane Synthesizer @@ -226,6 +226,6 @@ private static void addUniversalRecipes() input2.put(16, new ItemStack(Blocks.chest)); MarsUtil.adCargoRocketRecipe(new ItemStack(MarsItems.spaceship, 1, 13), input2); - RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, BlockMachineMars.LAUNCH_CONTROLLER_METADATA), new Object[] { "ZVZ", "YXY", "ZWZ", 'V', new ItemStack(GCItems.basicItem, 1, 19), 'W', new ItemStack(GCBlocks.aluminumWire, 1, 0), 'X', new ItemStack(GCItems.basicItem, 1, 14), 'Y', "plateDesh", 'Z', "ingotDesh" }); + RecipeUtil.addRecipe(new ItemStack(MarsBlocks.machine, 1, BlockMachineMars.LAUNCH_CONTROLLER_METADATA), new Object[] { "ZVZ", "YXY", "ZWZ", 'V', new ItemStack(GCItems.basicItem, 1, 19), 'W', new ItemStack(GCBlocks.aluminumWire, 1, 0), 'X', new ItemStack(GCItems.basicItem, 1, 14), 'Y', "compressedDesh", 'Z', "ingotDesh" }); } } From ef5dd1cda030be6e262faa8694e4556ca74c38a8 Mon Sep 17 00:00:00 2001 From: SteveKunG Date: Fri, 17 Apr 2015 17:05:24 +0700 Subject: [PATCH 6/6] Fix wrong translation --- src/main/resources/assets/galacticraftcore/lang/th_TH.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/galacticraftcore/lang/th_TH.lang b/src/main/resources/assets/galacticraftcore/lang/th_TH.lang index 29f7299146..3d658746ac 100644 --- a/src/main/resources/assets/galacticraftcore/lang/th_TH.lang +++ b/src/main/resources/assets/galacticraftcore/lang/th_TH.lang @@ -579,7 +579,7 @@ tile.spinThruster.description=ใช้สำหรับสถานีอว tile.arclamp.description=ใช้เพื่อให้แสงสว่างเป็นบริเวณกว้างและ ช่วยให้ม๊อบต่างๆ หนีออกไป tile.viewScreen.description=ใช้แสดงภาพระบบสุริยะ โลก เวลา และตรวจสอบสถานะของสิ่งมีชีวิต คลิ๊กขวาที่บล็อกเพื่อเปลี่ยนการแสดงผล tile.telemetry.description=สิ่งนี้จะมีประโยชน์สำหรับเก็บข้อมูล จากจรวด ผู้เล่นหรือสิ่งมีชีวิตอื่นๆ ให้วางติดกับหน้าจอแสดงผล และใช้โมดูลวัดความถี่สร้างลิ้งค์ข้อมูล -tile.dish.description=ใช้ติดตามพิกัดของสถานีอวกาศและรับข้อมุ,จากสถานีอวกาศที่ไกลโพ้นได้ +tile.dish.description=ใช้ติดตามพิกัดของสถานีอวกาศและรับข้อมูลจากสถานีอวกาศที่ไกลโพ้นได้ # CONTAINERS container.cargoloader.name=เครื่องขนส่งสินค้า