Weapon(3)                                                            Weapon(3)



NNAAMMEE
       Weapon -

SSYYNNOOPPSSIISS
       Inherits IItteemm.

       Inherited by WWeeaappoonnOObbjj.


   PPuubblliicc MMeetthhooddss
       string wweeaappoonn__iinnffoo ()
       varargs mixed qquueerryy__wwcc (string param)
       varargs mixed qquueerryy__rreeqquuiirreemmeenntt (string req)
       varargs int qquueerryy__rreeqquuiirreemmeennttss__mmeett (object player, int silent)
       int qquueerryy__wweeaappoonn ()
       string rraannggeedd__wweeaappoonn__iinnffoo ()

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       TTooddoo::
            Document this file

       Definition at line 4 of file inherit/weapon.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   vvaarraarrggss mmiixxeedd qquueerryy__rreeqquuiirreemmeenntt ((ssttrriinngg rreeqq))
       Similar functionality to query_wc, only deals with the requirements to
       wield a weapon (if any).

       Definition at line 49 of file inherit/weapon.c.

   vvaarraarrggss iinntt qquueerryy__rreeqquuiirreemmeennttss__mmeett ((oobbjjeecctt ppllaayyeerr,, iinntt ssiilleenntt))
       Returns the number of basic requirements the player does NOT meet in
       order to wield this weapon. Returns 0 if the player may wield the
       weapon. Returns -1 if player is not a valid object.

       PPaarraammeetteerrss::

       _p_l_a_y_e_r The player for whom you are doing a stat check against this
              weapon.

       _s_i_l_e_n_t (Optional) If true, no message will be printed to the player if
              they cannot wield the weapon. Otherwise, The player is told the
              reason that they can't wield the weapon.

       Definition at line 67 of file inherit/weapon.c.

   vvaarraarrggss mmiixxeedd qquueerryy__wwcc ((ssttrriinngg ppaarraamm))
       Return the weapon class of this object. If called with a string
       parameter, then one particular wc is returned (ie, query_wc('fire')
       returns the weapon's fire wc). If called without any parameters, the
       object's entire wc mapping is returned.

       Definition at line 35 of file inherit/weapon.c.

   iinntt qquueerryy__wweeaappoonn (())
       RReettuurrnnss::
           True, indicating that this object is a weapon.

       Definition at line 254 of file inherit/weapon.c.

   ssttrriinngg rraannggeedd__wweeaappoonn__iinnffoo (())
       OObbjjeecctt editor information.

       Definition at line 15 of file ranged_weapon.c.

   ssttrriinngg wweeaappoonn__iinnffoo (())
       OObbjjeecctt editor information.

       Definition at line 15 of file inherit/weapon.c.


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                         Weapon(3)
