Achievement Prototype

- Added achievement system
- Added a few achievements(still working on ideas)
- Fixed an odd pixel on manyullyn pickaxe head
- Added an event for when the tool is *actually* crafted
This commit is contained in:
Arthur Uzulin committed 2013-11-17 19:59:56 +11:00
1 parent c7ca9e3d6b
commit 82ffe30579
15 files changed
+153 -13

No files matched your search

+3
View File
@@ -1,5 +1,7 @@
package tconstruct.items;
import tconstruct.achievements.TAchievements;
import java.util.List;
import tconstruct.TConstruct;
@@ -24,6 +26,7 @@ public class Manual extends CraftingItem
@Override
public ItemStack onItemRightClick (ItemStack stack, World world, EntityPlayer player)
{
player.addStat(TAchievements.achievements.get("tconstruct.beginner"), 1);
player.openGui(TConstruct.instance, TConstruct.proxy.manualGuiID, world, 0, 0, 0);
/*Side side = FMLCommonHandler.instance().getEffectiveSide();
if (side.isClient())