############################################################################
##.||||...||||||.||||||.||..||.||||||.||||||.|||..||.||||...||||||.||||...##
##.||.||......||.||......||||....||...||.....||||.||.||.||..||.....||.||..##
##.||..||.||||||.|||||....||.....||...|||||..||.||||.||..||.|||||..||..||.##
##.||.||..||.....||......||||....||...||.....||..|||.||.||..||.....||.||..##
##.||||...||||||.||||||.||..||...||...||||||.||...||.||||...||||||.||||...##
############################################################################
##.....................|||..|||.||||||.||||...||||||......................##
##.....................||||||||.||.....||.||..||..........................##
##.....................||.||.||.|||||..||||...||..........................##
##.....................||....||.||.....||.||..||..........................##
##.....................||....||.||||||.||..||.||||||......................##
############################################################################

D2ExtendedMercPluginV2 ReadMe

#####################################################################
###############		What does this Plugin do?     ###############
#####################################################################

This plugin lets you customize your merc. You can now create merc only items
with a proper string in the item description. It also lets you fully equip
your merc and align the backgrounds of the slots for the merc AND the char.

#####################################################################
#####################	Installation	#############################
#####################################################################

Add

	D2ExtendedMerc=D2ExtendedMerc.dll

and

	[D2ExtMerc]
	;MercOnlyItems active?
	meon=1
	;Rownumber from ItemTypes. If the row is after the expansionrow, substract 3, else 2.
	itty=103
	;ID of string to display from any tbl
	idst=11143
	;Can the merc be fully equipped?
	ctmb=1
	;Should the graphics of the empty itemslots be aligned to what is spezified in 
	;inventory.txt? Merc and Char!!!! (1=yes; 0=no);
	stgo=1

to your mod ini. After that copy the D2EntendedMerc.dll to your D2 folder.

Attention: Only tested with the rebased D2Common.dll!!!!

#####################################################################
#####################	Deinstallation	#############################
#####################################################################

Just remove the added entries from your mod ini and delete the copied file.

#####################################################################
#####################	Explanations	#############################
#####################################################################

With the meon-line you can turn the merc only items on and off. The itty-line
holds the row number of the merc only items from itemtypes.txt. Be aware of it,
that you have to substract 3 from your row number if it is after the expansion row
and 2 if it is before. The line idst holds the index number of the string
that should be displayed in the item description. The next line ctmb makes the merc
fully equipable. The last line stgo aligns the background graphics of the merc
AND the char to match what you have specified in the inventory.txt for the slots.
In vanilla they were a couple of pixels wrong. To make the merc fully equipable
you have to modify the inventory.txt yourself, so that all the slots are at the
right place.

#####################################################################
#####################	Credits		#############################
#####################################################################

PhrozenKeep and inDiablo members for answering my questions

#####################################################################
#####################	Changelog	#############################
#####################################################################

V1	initial release
V2	fixed a bug with the "merc only"-string not displayed at sets