Fixed issues created from bad merge during rebase
This commit is contained in:
parent
9fa3286ea0
commit
6811ed551c
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@ -31,7 +31,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Coordinates3D.cs" />
|
<Compile Include="Coordinates3D.cs" />
|
||||||
<Compile Include="ArmourMaterial.cs" />
|
|
||||||
<Compile Include="PlantSpecies.cs" />
|
<Compile Include="PlantSpecies.cs" />
|
||||||
<Compile Include="OreTypes.cs" />
|
<Compile Include="OreTypes.cs" />
|
||||||
<Compile Include="ToolMaterial.cs" />
|
<Compile Include="ToolMaterial.cs" />
|
||||||
|
43
TrueCraft.Core/Logic/Items/FlintAndSteelItem.cs
Normal file
43
TrueCraft.Core/Logic/Items/FlintAndSteelItem.cs
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
using System;
|
||||||
|
using TrueCraft.API.Logic;
|
||||||
|
using TrueCraft.API;
|
||||||
|
|
||||||
|
|
||||||
|
namespace TrueCraft.Core.Logic.Items
|
||||||
|
{
|
||||||
|
public class FlintAndSteelItem : ToolItem, ICraftingRecipe
|
||||||
|
{
|
||||||
|
public static readonly short ItemID = 0x103;
|
||||||
|
public override short ID { get { return 0x103; } }
|
||||||
|
public override sbyte MaximumStack { get { return 1; } }
|
||||||
|
public override short BaseDurability { get { return 65; } }
|
||||||
|
public override string DisplayName { get { return "Flint and Steel"; } }
|
||||||
|
|
||||||
|
public ItemStack[,] Pattern
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return new[,]
|
||||||
|
{
|
||||||
|
{ new ItemStack(IronIngotItem.ItemID), new ItemStack(FlintItem.ItemID) }
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemStack Output
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return new ItemStack(ItemID);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool SignificantMetadata
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -296,14 +296,7 @@
|
|||||||
<Compile Include="MathHelper.cs" />
|
<Compile Include="MathHelper.cs" />
|
||||||
<Compile Include="Logging\PacketLogging.cs" />
|
<Compile Include="Logging\PacketLogging.cs" />
|
||||||
<Compile Include="Logging\FileLogProvider.cs" />
|
<Compile Include="Logging\FileLogProvider.cs" />
|
||||||
<Compile Include="Entities\Entity.cs" />
|
|
||||||
<Compile Include="Entities\EntityEventArgs.cs" />
|
|
||||||
<Compile Include="Entities\ItemEntity.cs" />
|
|
||||||
<Compile Include="Entities\LivingEntity.cs" />
|
|
||||||
<Compile Include="Entities\ObjectEntity.cs" />
|
|
||||||
<Compile Include="Entities\PlayerEntity.cs" />
|
|
||||||
<Compile Include="Logic\Blocks\AirBlock.cs" />
|
<Compile Include="Logic\Blocks\AirBlock.cs" />
|
||||||
<Compile Include="Entities\EntityFlags.cs" />
|
|
||||||
<Compile Include="Windows\CraftingBenchWindow.cs" />
|
<Compile Include="Windows\CraftingBenchWindow.cs" />
|
||||||
<Compile Include="Networking\Packets\CloseWindowPacket.cs" />
|
<Compile Include="Networking\Packets\CloseWindowPacket.cs" />
|
||||||
<Compile Include="Logic\Items\ArmorItem.cs" />
|
<Compile Include="Logic\Items\ArmorItem.cs" />
|
||||||
|
@ -64,11 +64,7 @@ namespace TrueCraft
|
|||||||
{
|
{
|
||||||
e.PreventDefault = true;
|
e.PreventDefault = true;
|
||||||
var messageArray = e.Message.TrimStart('/')
|
var messageArray = e.Message.TrimStart('/')
|
||||||
<<<<<<< HEAD
|
|
||||||
.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries);
|
.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries);
|
||||||
=======
|
|
||||||
.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
|
|
||||||
>>>>>>> New terrain generator
|
|
||||||
CommandManager.HandleCommand(e.Client, messageArray[0], messageArray);
|
CommandManager.HandleCommand(e.Client, messageArray[0], messageArray);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user