JunWang пре 8 година
родитељ
комит
e84b30b78d
4 измењених фајлова са 11 додато и 11 уклоњено
  1. 4 4
      data/crafting.txt
  2. 5 5
      data/furnace.txt
  3. 1 1
      tests/UnitTest/CraftingRecipeTest.cs
  4. 1 1
      tests/UnitTest/FurnaceRecipeTest.cs

+ 4 - 4
data/crafting.txt

@@ -248,10 +248,10 @@ Bucket         = IronIngot, 1:1, 2:2, 3:1
 ##
 #
 ## Helmets:
-#DiamondHelmet    = Diamond,   1:1, 2:1, 3:1, 1:2, 3:2
-#GoldenHelmet     = GoldIngot, 1:1, 2:1, 3:1, 1:2, 3:2
-#IronHelmet       = IronIngot, 1:1, 2:1, 3:1, 1:2, 3:2
-#LeatherHelmet    = Leather,   1:1, 2:1, 3:1, 1:2, 3:2
+DiamondHelmet    = Diamond,   1:1, 2:1, 3:1, 1:2, 3:2
+GoldenHelmet     = GoldIngot, 1:1, 2:1, 3:1, 1:2, 3:2
+IronHelmet       = IronIngot, 1:1, 2:1, 3:1, 1:2, 3:2
+LeatherCap    = Leather,   1:1, 2:1, 3:1, 1:2, 3:2
 #
 ## Chestplates:
 #DiamondChestplate   = Diamond,   1:1, 3:1, 1:2, 2:2, 3:2, 1:3, 2:3, 3:3

+ 5 - 5
data/furnace.txt

@@ -53,16 +53,16 @@
 #ChainmailLeggings   = IronNugget
 #Chicken             = CookedChicken
 #ChorusFruit         = PoppedChorusFruit
-#Clay                = Brick
+Clay                = Brick
 #ClayBlock           = HardenedClay
-#CoalOre             = Coal
+CoalOre             = Coal
 #Cobblestone         = Stone
 #CrackedStonebrick   = Stonebrick
 #CyanTerracotta      = CyanGlazedTerracotta
 #DiamondOre          = Diamond
 #EmeraldOre          = Emerald
 #Fish                = CookedFish
-#GoldOre             = GoldIngot
+GoldOre             = GoldIngot
 #GoldAxe             = GoldNugget
 #GoldBoots           = GoldNugget
 #GoldChestplate      = GoldNugget
@@ -75,7 +75,7 @@
 #GoldSword           = GoldNugget
 #GrayTerracotta      = GrayGlazedTerracotta
 #GreenTerracotta     = GreenGlazedTerracotta
-#IronOre             = IronIngot
+IronOre             = IronIngot
 #IronAxe             = IronNugget
 #IronBoots           = IronNugget
 #IronChestplate      = IronNugget
@@ -105,7 +105,7 @@ Wood2^-1             = Coal^Charcoal
 #RedTerracotta       = RedGlazedTerracotta
 #RedstoneOre         = Redstone
 #Salmon              = CookedSalmon
-#Sand                = Glass
+Sand                = Glass
 #StoneBrick          = CrackedStoneBricks
 #WetSponge           = Sponge
 #WhiteTerracotta     = WhiteGlazedTerracotta

+ 1 - 1
tests/UnitTest/CraftingRecipeTest.cs

@@ -32,7 +32,7 @@ namespace MineCase.UnitTest
             }
 
             var recipes = loader.Recipes;
-            Assert.Equal(13 + 26, recipes.Count);
+            Assert.Equal(13 + 26 + 4, recipes.Count);
         }
 
         [Fact]

+ 1 - 1
tests/UnitTest/FurnaceRecipeTest.cs

@@ -32,7 +32,7 @@ namespace MineCase.UnitTest
             }
 
             var recipes = loader.Recipes;
-            Assert.Equal(2, recipes.Count);
+            Assert.Equal(2 + 5, recipes.Count);
             var fuels = loader.Fuels;
             Assert.Equal(4, fuels.Count);
         }