public function ai_msg_5274(array $args) { $player = SR_AIExtension::getPlayer($args[1]); $item = SR_AIExtension::getItem($args[0]); $this->ai_say_message('No thanks.'); $this->ai_give($player, $item); }
public static function sort_priority_asc(SR_AIExtension $a, SR_AIExtension $b) { return $a->getPriority() - $b->getPriority(); }
public function getExtensions() { return SR_AIExtension::merge(parent::getExtensions(), array('interval' => array(300, array($this, 'brag')))); }
public function getExtensions() { return SR_AIExtension::merge(parent::getExtensions(), array()); }
public function ai_init_extensions() { $this->extensions = SR_AIExtension::generate($this->getExtensions()); }
public function getExtensions() { return SR_AIExtension::merge(parent::getExtensions(), array('interval' => array(60, array($this, 'beggar_brabbels')))); }