Files
source/gamedir/Data/TableData/EnemyMiscDrops.xml
T

114 lines
3.5 KiB
XML

<!--
If you want to use the XML-Drop files, you must do the following:
a.) Set ENEMIES_ITEM_DROP = 1 in the Ja2_Options.ini
b.) Disable "Enemies drop all items" in the option screen of the game
Attribute Field Reference:
uiIndex - the item index, number the items sequentially starting at 0 up to 199
uiType - the misc item class pointing to <usItemClass> in Items.xml
ubEnemyDropRate - if the enemy has the item, this is the chance (0 - 100) in percent that the item will be dropped
- 0 -> Item will never be dropped
- 100 -> Item will always be dropped, if the enemy has this item in the inventory
ubMilitiaDropRate - if the militia has the item, this is the chance (0 - 100) in percent that the item will be dropped
- 0 -> Item will never be dropped
- 100 -> Item will always be dropped, if the militia has this item in the inventory
-->
<MISCDROPLIST>
<!-- IC_BLADE -->
<!-- Knives -->
<DROPITEM>
<uiIndex>0</uiIndex>
<usItemClass>4</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_THROWING_KNIFE -->
<!-- Throwing knives -->
<DROPITEM>
<uiIndex>1</uiIndex>
<usItemClass>8</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_LAUNCHER -->
<!-- Mortars, Grenade launchers, Talons, ... -->
<DROPITEM>
<uiIndex>2</uiIndex>
<usItemClass>16</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_TENTACLES -->
<!-- Queen tentacles -->
<DROPITEM>
<uiIndex>3</uiIndex>
<usItemClass>32</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_THROWN -->
<!-- Rocks -->
<DROPITEM>
<uiIndex>4</uiIndex>
<usItemClass>64</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_PUNCH -->
<!-- Brass knuckles -->
<DROPITEM>
<uiIndex>5</uiIndex>
<usItemClass>128</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_MEDKIT -->
<!-- Medikits -->
<DROPITEM>
<uiIndex>6</uiIndex>
<usItemClass>4096</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_KIT -->
<!-- Other kits -->
<DROPITEM>
<uiIndex>7</uiIndex>
<usItemClass>8192</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_FACE -->
<!-- Gas masks, googles, ... -->
<DROPITEM>
<uiIndex>8</uiIndex>
<usItemClass>32768</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_KEY -->
<!-- Keys -->
<DROPITEM>
<uiIndex>9</uiIndex>
<usItemClass>65536</usItemClass>
<ubEnemyDropRate>50</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_MISC -->
<!-- Most attachments -->
<DROPITEM>
<uiIndex>10</uiIndex>
<usItemClass>268435456</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
<!-- IC_Money -->
<!-- Money -->
<DROPITEM>
<uiIndex>11</uiIndex>
<usItemClass>536870912</usItemClass>
<ubEnemyDropRate>15</ubEnemyDropRate>
<ubMilitiaDropRate>2</ubMilitiaDropRate>
</DROPITEM>
</MISCDROPLIST>