Complex sentence: He also told the Nambudiri that an idol suitable for this was lying hidden in the nearby forest; however, before taking the idol, he would have to appease a Yakshi, who would be protecting it.
Split into simpler sentences: He also told the Nambudiri that an idol suitable for this was lying hidden in the nearby forest. However, before taking the idol, he would have to appease a Yakshi who would be protecting it.