Difference between revisions of "Manual:DIL Manual/weapon name()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bfweapon_name"></span>
  
 +
'''Function:'''  <i><!--CODE-->string weapon_name( i : integer ) ;</i><!--ENDCODE-->
  
 +
<!--TERM-->  '''i'''
 +
<!--DEFINITION-->        Weapon to get the name of ass defined in 'values.h' and 'weapons.def'
 +
<!--TERM-->  '''returns'''
 +
<!--DEFINITION-->        The name of the weapon that corresponds with the integer value
 +
 +
'''example:'''
 +
<i><!--CODE-->
 +
---~---~---~---~---~---~---~---~---
 +
 +
myweap:=weapon_name(5);
 +
 +
---~---~---~---~---~---~---~---~---
 +
 +
</i><!--ENDCODE-->
 
<span id="bfweapon_name"></span>
 
<span id="bfweapon_name"></span>
  

Latest revision as of 22:37, 4 December 2025

Function:  string weapon_name( i : integer ) ;
  i
         Weapon to get the name of ass defined in 'values.h' and 'weapons.def'
  returns
         The name of the weapon that corresponds with the integer value
example:

---~---~---~---~---~---~---~---~---
myweap:=weapon_name(5);
---~---~---~---~---~---~---~---~---

Function:  string weapon_name( i : integer ) ;
  i
         Weapon to get the name of ass defined in 'values.h' and 'weapons.def'
  returns
         The name of the weapon that corresponds with the integer value
example:

---~---~---~---~---~---~---~---~---
myweap:=weapon_name(5);
---~---~---~---~---~---~---~---~---