using Content.Shared.Botany.Items.Components;
using Content.Shared.Burial.Components;
namespace Content.Shared.Botany.Events;
///
/// Event raised when a botany hoe is used on a tray.
///
[ByRefEvent]
public sealed class TrayHoeAttemptEvent(Entity hoe, EntityUid user) : CancellableEntityEventArgs
{
public Entity Hoe { get; } = hoe;
public EntityUid User { get; } = user;
}
///
/// Event raised when a produce is attempted to be composted.
///
[ByRefEvent]
public sealed class CompostingProduceAttemptEvent(Entity produce, EntityUid user) : CancellableEntityEventArgs
{
public Entity Produce { get; } = produce;
public EntityUid User { get; } = user;
}
///
/// Event raised when a sample is attempted to be taken.
///
[ByRefEvent]
public sealed class PlantSampleAttemptEvent(Entity sample, EntityUid user) : CancellableEntityEventArgs
{
public Entity Sample { get; } = sample;
public EntityUid User { get; } = user;
}
///
/// Event raised when a seed is attempted to be planted.
///
[ByRefEvent]
public sealed class PlantingSeedAttemptEvent(Entity seed, EntityUid user) : CancellableEntityEventArgs
{
public Entity Seed { get; } = seed;
public EntityUid User { get; } = user;
}
///
/// Event raised when a shovel is attempted to be used.
///
[ByRefEvent]
public sealed class TrayShovelAttemptEvent(Entity shovel, EntityUid user) : CancellableEntityEventArgs
{
public Entity Shovel { get; } = shovel;
public EntityUid User { get; } = user;
}