예제 #1
0
파일: Grove.php 프로젝트: sinfocol/gwf3
 public function getCommands(SR_Player $player)
 {
     $commands = parent::getCommands($player);
     if (false !== $player->getInvItemByName('Shovel', false, false)) {
         $commands[] = 'dig';
     }
     return $commands;
 }
예제 #2
0
파일: Lake.php 프로젝트: sinfocol/gwf3
 public function getCommands(SR_Player $player)
 {
     $commands = parent::getCommands($player);
     $commands[] = 'grab';
     return $commands;
 }