bool CParrot::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (!(_npcFlags & NPCFLAG_2000000) && _speechCounter == 0) { CTrueTalkTriggerActionMsg triggerMsg(280250, 280250, 1); triggerMsg.execute(this); } return true; }
bool CScraliontisTable::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (_fieldEC) { changeView(_destination, _armPickedUp ? _armDestination : _armlessDestination); } else if (!_ticks || (getTicksCount() - _ticks) >= 5000) { CTriggerNPCEvent triggerMsg(119); triggerMsg.execute("MaitreD"); _ticks = getTicksCount(); } return true; }
bool CParrotPerchHolder::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (!CParrot::_eatingChicken) { if (CCage::_open) { petDisplayMessage(CANNOT_TAKE_CAGE_LOCKED); } else if (CParrot::_state == PARROT_IN_CAGE) { CTrueTalkTriggerActionMsg triggerMsg(280252, 0, 0); triggerMsg.execute(getRoot(), CParrot::_type, MSGFLAG_CLASS_DEF | MSGFLAG_BREAK_IF_HANDLED | MSGFLAG_SCAN); } } return true; }
bool CParrotPerchHolder::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (CParrot::_v1) { if (CCage::_open) { petDisplayMessage("You cannot take this because the cage is locked shut."); } else if (!CParrot::_v4) { CTrueTalkTriggerActionMsg triggerMsg(280252, 0, 0); triggerMsg.execute(getRoot(), CParrot::_type, MSGFLAG_CLASS_DEF | MSGFLAG_BREAK_IF_HANDLED | MSGFLAG_SCAN); } } return true; }
bool CUpLighter::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { CTrueTalkTriggerActionMsg triggerMsg(280245, 0, 0); triggerMsg.execute(getRoot(), CParrot::_type, MSGFLAG_BREAK_IF_HANDLED | MSGFLAG_CLASS_DEF | MSGFLAG_SCAN); return true; }