Pumpkin + Cabbage (#417)
* seeds * import Omsoyk plant sprites * cabbage slicing * sliceable pumpkin * some tweaks * seedbed clean fix, remove shitcode systems * seed crafting, knife fix * utencil * Update base.yml * cabbage rebalance * abstract seed
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
using Content.Shared._CP14.SpawnOnTileTool;
|
||||
|
||||
namespace Content.Server._CP14.SpawnOnTileTool;
|
||||
|
||||
public sealed partial class CP14SpawnOnTileToolSystem : SharedCP14SpawnOnTileToolSystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<CP14SpawnOnTileToolComponent, SpawnOnTileToolAfterEvent>(AfterDoAfter);
|
||||
}
|
||||
|
||||
private void AfterDoAfter(Entity<CP14SpawnOnTileToolComponent> ent, ref SpawnOnTileToolAfterEvent args)
|
||||
{
|
||||
if (args.Handled || args.Cancelled)
|
||||
return;
|
||||
|
||||
SpawnAtPosition(args.Spawn, GetCoordinates(args.Coordinates));
|
||||
|
||||
args.Handled = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user