public function onCityExit(SR_Party $party) { if ($party->hasNPCClassed('PrisonB2_Malois')) { $party->notice('Malois says: "Hurry, we have to hurry!"'); } parent::onCityExit($party); }
public function onCityEnter(SR_Party $party) { if ($party->hasNPCClassed('PrisonB2_Malois')) { $this->setAlert($party, 9000000); } parent::onCityEnter($party); }
public function onCityEnter(SR_Party $party) { $party->giveKnowledge('places', 'Prison_Registry'); if ($party->hasNPCClassed('PrisonB2_Malois')) { $this->setAlert($party, 9000000); } $party->notice('You can see the registry from here.'); parent::onCityEnter($party); }