public override void Execute() { NWCreature self = (NWCreature)Self; try { Building house = self.FindHouse(); if (house.Area.Contains(self.PosX, self.PosY)) { self.DropItem(Ware); IsComplete = true; } else { IsComplete = false; } } catch (Exception ex) { Logger.Write("WareReturnGoal.execute(): " + ex.Message); } }