using System.Collections.Generic; using UnityEngine; namespace GrassCutter { /// E hands it what's in your tool; it ties that into bundles and sends them down the belt. public class Binder : SiloPiece { public override string Prompt => Silo.Value >= 1f ? Loc.F("Binder: hand in your grass ({0} still to tie)", GameDefs.Kilos(Silo.Value)) : Loc.T("Binder: hand in your grass"); public override bool CanInteract => PlayerAgent.Local && PlayerAgent.Local.Tank.Value >= 0.005f; public override void Interact() => PlayerAgent.Local?.Tools.Feed(this); public override void Ports(List into) { into.Add(BeltNet.Front(transform)); } } }