public override Task GetTask() { // Closest plant to cut to the character position Tilable tilable = WorldUtils.FieldNextToCut(this.character.position); if (tilable != null) { return(new Task( Defs.tasks["task_cut"], new TargetList(new Target(tilable)) )); } return(null); }