Modules
ADRIFT 5 Modules are simply the same data that is stored in a TAF, but in an uncompressed text format. The data format used to encode modules is XML, so modules can be viewed or edited with an appropriate XML editor or viewer such as Notepad or Internet Explorer.
Modules can also be used as Libraries.
An Example
If we create a location that looks like so:
This would export as the following XML in a module:
<Location>
<Key>Location1</Key>
<ShortDescription>
<Description>
<DisplayWhen>StartDescriptionWithThis</DisplayWhen>
<Text>The Livingroom</Text>
</Description>
</ShortDescription>
<LongDescription>
<Description>
<DisplayWhen>StartDescriptionWithThis</DisplayWhen>
<Text>There is a large rug, and a sofa here. To one side, sits a fireplace.</Text>
</Description>
<Description>
<DisplayWhen>AppendToPreviousDescription</DisplayWhen>
<Text>The fire is glowing a bright orange, giving the room a lovely warm feel.</Text>
<TabLabel>Fire burning</TabLabel>
</Description>
</LongDescription>
<Movement>
<Direction>East</Direction>
<Destination>Location2</Destination>
</Movement>
</Location>