From 1d07d15ac8c433d26238909ab9c1cc053e669bf8 Mon Sep 17 00:00:00 2001 From: JoshuaNavarro Date: Thu, 22 Aug 2019 16:32:40 -0700 Subject: [PATCH] Updated missing pixel on tin ore and named the information appropriately. --- .../Graphics/Items/Resources/Ore/TinOre.png | Bin 255 -> 255 bytes .../Framework/Objects/ResourceManager.cs | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GeneralMods/Revitalize/Content/Graphics/Items/Resources/Ore/TinOre.png b/GeneralMods/Revitalize/Content/Graphics/Items/Resources/Ore/TinOre.png index ad1cf16c9a0a4bf9031927106a2934bf1451986e..821db468aedfe0d2daac3ec43947eba4ae9b3ac3 100644 GIT binary patch delta 197 zcmV;$06PEw0sjGzLVu6j08J1vl;eQN5e+ydB6AfgK$n~tz)yas83svccZCG}jFD85 zI_H4+V`w(z-`+Apn**N(MW13MeV;L zq9UTTR;{%v$#y@I7_dJx;VlVC%{i-xXwF$nDFew2z8oR|>^}S6{Np&9A7dQ0a61E2 zwJt0-w|=`u=iJZ*066DP>cbkpk2?EZ{EzklYbLo2QcxGeS}% zHO8l_!lS<|%S2Kk1jHCytma==Y~Fi#?>oSCT@gY!)xJme+Bna1V+PRJABCiH&Z_@4 zGntu6DJrFiWP2Y$YU5Eyz*`WKN-4?Alu}a8xdR!SFP8`a+dj56d*AnF#~8aS-0q;V z)+uUi9R2o;&be+10C3Ko*t;`+lN#-V|BvzkuHm_exJmuf00000NkvXXu0mjf!d6_1 diff --git a/GeneralMods/Revitalize/Framework/Objects/ResourceManager.cs b/GeneralMods/Revitalize/Framework/Objects/ResourceManager.cs index 82dfde48..06fd86ac 100644 --- a/GeneralMods/Revitalize/Framework/Objects/ResourceManager.cs +++ b/GeneralMods/Revitalize/Framework/Objects/ResourceManager.cs @@ -127,8 +127,8 @@ namespace Revitalize.Framework.Objects /// Serializes an example ore to eb /// private void serializeOreVeins() { - OreVeinObj testOre = new OreVeinObj(PyTKHelper.CreateOBJData("Omegasis.Revitalize.Resources.Ore.Tin", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Tin Ore Vein", "Omegasis.Revitalize.Resources.Ore.Tin", "A ore vein that is full of tin.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new Animation(0, 0, 16, 16)), Color.White, false, null, null)); - OreVeinTile testOre_0_0= new OreVeinTile(PyTKHelper.CreateOBJData("Omegasis.Revitalize.Resources.Ore.Tin", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Tin Ore Vein", "Omegasis.Revitalize.Resources.Ore.Tin", "A ore vein that is full of tin.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new Animation(0, 0, 16, 16)), Color.White, false, null, null), + OreVeinObj tinOre = new OreVeinObj(PyTKHelper.CreateOBJData("Omegasis.Revitalize.Resources.Ore.Tin", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Tin Ore Vein", "Omegasis.Revitalize.Resources.Ore.Tin", "A ore vein that is full of tin.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new Animation(0, 0, 16, 16)), Color.White, false, null, null)); + OreVeinTile tinOre_0_0= new OreVeinTile(PyTKHelper.CreateOBJData("Omegasis.Revitalize.Resources.Ore.Tin", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Tin Ore Vein", "Omegasis.Revitalize.Resources.Ore.Tin", "A ore vein that is full of tin.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Tin"), new Animation(0, 0, 16, 16)), Color.White, false, null, null), new InformationFiles.OreResourceInformation(this.getOre("Tin"), true, true, true, false, new List() { new IntRange(1,9) @@ -140,8 +140,8 @@ namespace Revitalize.Framework.Objects new IntRange(0,9999) }, null,null, 1d, 1.0d, 0.10d, 1d, 1d, 0, 0, 0, 0), new List(), 4); - OreFactoryInfo testOre_0_0_file = new OreFactoryInfo(testOre_0_0); - OreFactoryInfo testOre_file = new OreFactoryInfo(testOre); + OreFactoryInfo testOre_0_0_file = new OreFactoryInfo(tinOre_0_0); + OreFactoryInfo testOre_file = new OreFactoryInfo(tinOre); ModCore.Serializer.SerializeContentFile("TinOre_0_0", testOre_0_0_file,Path.Combine(this.oreResourceDataPath,"TinOre")); ModCore.Serializer.SerializeContentFile("TinOre", testOre_file, Path.Combine(this.oreResourceDataPath, "TinOre"));