Difference between revisions of "Manual:DIL Manual/extraptr"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
Line 1: Line 1:
  
  
<span id="extra"></span>
+
<span id="eptr"></span>
  '''The extraptr has the following fields:'''
+
  '''Extraptr:'''
  
    extraptr:
+
  Extra descriptions, quests structures, etc can be searched and manipulated
      'names'        :stringlist (RW)
+
using variables of this type. There is no way to declare static structures of
          names is a list of strings of names, that the extra description matches on.
+
this type in DIL programs. Lists of extra descriptions are easily searched with
      'descr'        :string (RW)
+
the 'in' operator (See below).  Extraptr variables are 'volatile', and thus
          descr is the contents of the extra description.
+
  cleared whenever there is a possibility that they are rendered unusable.
      'next'        :extraptr (RO)
 
          next is the next extra description in a list.
 
      'vals'       :intlist (RW)
 
          vals is a list of integer values attached to this extra.
 
 
 
  ---~---~---~---~---~---~---~---~---
 
 
 
  The unitptr is the key structure in the MUD, containing any kind of the
 
following subtypes:
 
 
 
    object      : a normal object, a sword, a vail, etc.
 
    room        : a room, location or the like.
 
    pc          : a playing character.
 
    npc        : a non playing character (mobile, monster, etc)
 
 
 
---~---~---~---~---~---~---~---~---
 

Revision as of 13:08, 27 May 2020


Extraptr:
  Extra descriptions, quests structures, etc can be searched and manipulated
using variables of this type. There is no way to declare static structures of
this type in DIL programs. Lists of extra descriptions are easily searched with
the 'in' operator (See below).  Extraptr variables are 'volatile', and thus
cleared whenever there is a possibility that they are rendered unusable.