This is an old revision of the document!
Table of Contents
Wolfpack Definitions
Introduction
Wolfpack Definitions are how information about objects are stored. It differs from scripts (ie: Python) in that definitions does not perform any action per se. Objects, such as items, npcs and others, are defined using the XML language. You can learn more about XML in the W3C XML Tutorial.
See also: List of definition tags
NPCs
Monsters, humans non-humans and animals that are not controlled by a player are called Non Player Characters (NPCs). These NPCs have special properties which have to be defined using the following definition standards.
Each NPC definition is concentrated in one definition section which starts with an opening npc id=… - tag and ends with a closing /npc - tag. The tags between the npc - tags define the properties of the NPC.
<npc id='name_of_the_npc_section'> <property1>...</property1> <property2 /> </npc>
backpack
open-close-tag, behaves like an item definition section.
<backpack> ...item definition tags like color... <contains> ...see item section for more info... </contains> </backpack>
attack
single-tags, set the attack properties of the npc. is a synonym for min and maxdamage. has attributes min and max
<attack min='value' max='value' />
direction
open-close-tag, sets the direction of the npc. Possible values: N, NE, E, SE, S, SW, W, NW. Default: N.