
if (npcs[i].npcType == 81 || npcs[i].npcType == 397
|| npcs[i].npcType == 1766
|| npcs[i].npcType == 1767
|| npcs[i].npcType == 1768) {
if (misc.random2(50) == 1) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Moo";
}
}
if (npcs[i].npcType == 555) {
if (misc.random2(30) <= 2) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Trade me for the shop!";
}
}