* First commit * Lockers * Lockers electric boogaloo * Crates and Lockers * Almost finishing the Textures folder * Updating texture paths. Reminder to fix: * Lockers * Windows * Vending Machines * APC * Catwalks * Bedsheets and Cloaks * Status effects * dont know what happened here * Commit before merge * re-organizing * Lockers broken * Commit before merge * Submodule * renaming * Fixing most issues * forgot these ones * Updating submodule * typo * Fixing some paths * fixing some paths * updating submodule * (hopefully) fixing the submodule
22 lines
662 B
C#
22 lines
662 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Server.GameObjects.Components.Mining
|
|
{
|
|
[RegisterComponent]
|
|
public class PickaxeComponent : Component
|
|
|
|
{
|
|
public override string Name => "Pickaxe";
|
|
public string MiningSound;
|
|
public float MiningSpeedMultiplier;
|
|
|
|
public override void ExposeData(ObjectSerializer serializer)
|
|
{
|
|
base.ExposeData(serializer);
|
|
serializer.DataField(ref MiningSound, "miningSound", "/Audio/Items/mining/pickaxe.ogg");
|
|
serializer.DataField(ref MiningSpeedMultiplier, "miningSpeedMultiplier", 1f);
|
|
}
|
|
}
|
|
}
|