43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
using Microsoft.Xna.Framework;
|
||
|
using PyTK.CustomElementHandler;
|
||
|
using StardewValley;
|
||
|
using StardewValley.Objects;
|
||
|
|
||
|
namespace Revitalize.Framework.Objects
|
||
|
{
|
||
|
public class GarbageTest:CustomObject
|
||
|
{
|
||
|
public GarbageTest()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public GarbageTest(BasicItemInformation info) : base(info)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public GarbageTest(BasicItemInformation info,Vector2 TileLocation) : base(info,TileLocation)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override Item getOne()
|
||
|
{
|
||
|
return new GarbageTest(this.info);
|
||
|
}
|
||
|
|
||
|
public override ICustomObject recreate(Dictionary<string, string> additionalSaveData, object replacement)
|
||
|
{
|
||
|
CustomObjectData data = CustomObjectData.collection[additionalSaveData["id"]];
|
||
|
return new GarbageTest((BasicItemInformation)data, (replacement as Chest).TileLocation);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|