Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

def balazar3-0.1::tofu::Player::remove_mobile (   self,
  mobile 
)

Player.remove_mobile(mobile)

Removes the control of MOBILE from the Player.
Usually called when the Mobile is dead.

Definition at line 947 of file __init__.py.

00947                                  :
    """Player.remove_mobile(mobile)

Removes the control of MOBILE from the Player.
Usually called when the Mobile is dead."""
    self.mobiles.remove(mobile)
    mobile.player_name = ""
    mobile.bot         = 1
    if not self.mobiles: self.killed()
    
  @side("single", "server")
  def killed(self, save = 0):


Generated by  Doxygen 1.6.0   Back to index