private function checkNPCLang(SR_NPC $npc) { if ($npc instanceof SR_TalkingNPC) { $npc->setChatPartner(Shadowrun4::getDummyPlayer()); $npc->langNPC('default'); } }