mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Feature enhancement: Drop All now allows to use the following settings:
0 = Drop All is off and drop chances are used 1 = Drop All is on and everything is dropped 2 = Mild Drop All which means that everything is dropped (like 1) but items that are usually not dropped (like 0) are severely damaged. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8675 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-6
@@ -151,11 +151,6 @@ BOOLEAN UsingImprovedInterruptSystem()
|
||||
return (!is_networked && gGameExternalOptions.fImprovedInterruptSystem);
|
||||
}
|
||||
|
||||
BOOLEAN UsingEnemiesDropAllItemsSystem()
|
||||
{
|
||||
return gGameExternalOptions.fEnemiesDropAllItems;
|
||||
}
|
||||
|
||||
BOOLEAN UsingInventoryCostsAPSystem()
|
||||
{
|
||||
#ifdef JA2EDITOR
|
||||
@@ -1146,7 +1141,7 @@ void LoadGameExternalOptions()
|
||||
gGameExternalOptions.bAssignedTraitsRarity = iniReader.ReadInteger("Tactical Difficulty Settings", "ASSIGNED_SKILL_TRAITS_RARITY ", 0, -100, 100);
|
||||
|
||||
// Flugente: drop all is now set in the ini instead of the starting screen
|
||||
gGameExternalOptions.fEnemiesDropAllItems = iniReader.ReadBoolean("Tactical Difficulty Settings", "DROP_ALL", FALSE );
|
||||
gGameExternalOptions.fEnemiesDropAllItems = iniReader.ReadInteger("Tactical Difficulty Settings", "DROP_ALL", 0, 0, 2 );
|
||||
|
||||
// HEADROCK HAM B2.8: At "1", Militia will drop their equipment similar to enemies, IF killed by non-player character. At "2" they drop whenever killed.
|
||||
gGameExternalOptions.ubMilitiaDropEquipment = iniReader.ReadInteger("Tactical Difficulty Settings","MILITIA_DROP_EQUIPMENT", 0, 0, 2 );
|
||||
|
||||
Reference in New Issue
Block a user