Skip to content

Commit

Permalink
Merge pull request #1 from micdoodle8/master
Browse files Browse the repository at this point in the history
Sync fork with trunk - new fork
  • Loading branch information
EzerArch committed Apr 17, 2015
2 parents a5ce8b4 + 2259de1 commit 4fd3e83
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer, ItemStack> input = new HashMap<Integer, ItemStack>();
input.put(1, new ItemStack(GCItems.partNoseCone));
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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 });

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" });
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 5 additions & 9 deletions src/main/resources/assets/galacticraftasteroids/lang/th_TH.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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=ใช้สำหรับการตกแต่งที่คล้ายกับสภาพภายใน ยานอวกาศ
Expand All @@ -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=ดาวเคราะห์น้อยขนาดเล็ก
Expand All @@ -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=ปิดใช้งานก๊าซฮีเลียมบนดาวเคราะห์น้อย
2 changes: 1 addition & 1 deletion src/main/resources/assets/galacticraftcore/lang/th_TH.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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=เครื่องขนส่งสินค้า
Expand Down

0 comments on commit 4fd3e83

Please sign in to comment.