Manual:DIL Manual/extraptr

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 10:46, 29 November 2025 by Papi (talk | contribs)
Jump to navigation Jump to search

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.

Members:

member type description
next extraptr Points to the next linked extra description. NULL if none
names stringlist Array of names on the extra description. NULL if none
vals intlist Array of integers on the extra description. NULL if none
descr string string of text