Added in new ore/ingot images for ore resource. Removed test ore and the pancakes that spawned.
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 257 B |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 530 B After Width: | Height: | Size: 530 B |
|
@ -127,8 +127,8 @@ namespace Revitalize.Framework.Objects
|
||||||
/// Serializes an example ore to eb
|
/// Serializes an example ore to eb
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void serializeOreVeins() {
|
private void serializeOreVeins() {
|
||||||
OreVeinObj testOre = new OreVeinObj(PyTKHelper.CreateOBJData("Omegasis.Revitalize.Resources.Ore.Test", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Test"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Test Ore Vein", "Omegasis.Revitalize.Resources.Ore.Test", "A ore vein that is used for testing purposes.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Test"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Test"), new Animation(0, 0, 16, 16)), Color.White, false, null, null));
|
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.Test", TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Test"), typeof(OreVeinTile), Color.White), new BasicItemInformation("Test Ore Vein", "Omegasis.Revitalize.Resources.Ore.Test", "A ore vein that is used for testing purposes.", "Revitalize.Ore", Color.Black, -300, 0, false, 350, true, true, TextureManager.GetTexture(ModCore.Manifest, "Resources.Ore", "Test"), new AnimationManager(TextureManager.GetExtendedTexture(ModCore.Manifest, "Resources.Ore", "Test"), 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),
|
||||||
new InformationFiles.OreResourceInformation(this.getOre("Tin"), true, true, true, false, new List<IntRange>()
|
new InformationFiles.OreResourceInformation(this.getOre("Tin"), true, true, true, false, new List<IntRange>()
|
||||||
{
|
{
|
||||||
new IntRange(1,9)
|
new IntRange(1,9)
|
||||||
|
@ -143,8 +143,8 @@ namespace Revitalize.Framework.Objects
|
||||||
OreFactoryInfo testOre_0_0_file = new OreFactoryInfo(testOre_0_0);
|
OreFactoryInfo testOre_0_0_file = new OreFactoryInfo(testOre_0_0);
|
||||||
OreFactoryInfo testOre_file = new OreFactoryInfo(testOre);
|
OreFactoryInfo testOre_file = new OreFactoryInfo(testOre);
|
||||||
|
|
||||||
ModCore.Serializer.SerializeContentFile("TestOre_0_0", testOre_0_0_file,Path.Combine(this.oreResourceDataPath,"TestOre"));
|
ModCore.Serializer.SerializeContentFile("TinOre_0_0", testOre_0_0_file,Path.Combine(this.oreResourceDataPath,"TinOre"));
|
||||||
ModCore.Serializer.SerializeContentFile("TestOre", testOre_file, Path.Combine(this.oreResourceDataPath, "TestOre"));
|
ModCore.Serializer.SerializeContentFile("TinOre", testOre_file, Path.Combine(this.oreResourceDataPath, "TinOre"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ namespace Revitalize.Framework.Utilities
|
||||||
public static List<GameLocation> GetAllLocations()
|
public static List<GameLocation> GetAllLocations()
|
||||||
{
|
{
|
||||||
List<GameLocation> locations = new List<GameLocation>();
|
List<GameLocation> locations = new List<GameLocation>();
|
||||||
foreach (GameLocation location in locations)
|
foreach (GameLocation location in Game1.locations)
|
||||||
{
|
{
|
||||||
locations.Add(location);
|
locations.Add(location);
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,6 +161,7 @@ namespace Revitalize.Framework.Utilities
|
||||||
if (o is Chest && o.Name != "Chest")
|
if (o is Chest && o.Name != "Chest")
|
||||||
{
|
{
|
||||||
Item I = this.GetItemFromChestName(o.Name);
|
Item I = this.GetItemFromChestName(o.Name);
|
||||||
|
ModCore.log("Found a custom item in a chest!");
|
||||||
toAdd.Add(I);
|
toAdd.Add(I);
|
||||||
toRemove.Add(o);
|
toRemove.Add(o);
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,9 +175,48 @@
|
||||||
<None Include="manifest.json" />
|
<None Include="manifest.json" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\AluminumIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\BauxiteOre.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\BrassIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\BronzeIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\ElectrumIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\LeadIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\LeadOre.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\SilverIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\SilverOre.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\SteelIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\TinIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="Content\Graphics\Items\Resources\Ore\TinOre.png">
|
<Content Include="Content\Graphics\Items\Resources\Ore\TinOre.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\TitaniumIngot.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Content\Graphics\Items\Resources\Ore\TitaniumOre.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="Content\Graphics\Menus\InventoryMenu\ItemBackground.png">
|
<Content Include="Content\Graphics\Menus\InventoryMenu\ItemBackground.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -211,7 +250,7 @@
|
||||||
<Content Include="Content\Graphics\Objects\Furniture\Tables\Oak Table.png">
|
<Content Include="Content\Graphics\Objects\Furniture\Tables\Oak Table.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="Content\Graphics\Objects\Resources\Ore\Test.png">
|
<Content Include="Content\Graphics\Objects\Resources\Ore\Tin.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="Content\Minigames\SeasideScramble\Graphics\Enemies\Target.png">
|
<Content Include="Content\Minigames\SeasideScramble\Graphics\Enemies\Target.png">
|
||||||
|
|