Manual:DIL Manual/weapon name()

From DikuMUD Wiki
Jump to navigation Jump to search


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);
---~---~---~---~---~---~---~---~---