Example #1
0
 public override void OnCreated(IVoxel handle)
 {
     handle.SetPart(new Ore()
     {
         ResourceCount = 1
     });
     base.OnCreated(handle);
 }
Example #2
0
 public override void OnDestroyed(IVoxel handle)
 {
     handle.SetPart <Ore>(null);
     base.OnDestroyed(handle);
 }
 public override void OnCreated(IVoxel handle)
 {
     handle.SetPart(new Miner(handle));
     base.OnCreated(handle);
 }