From a9d6c9e252dfd47bae1183408071a4fbb0ab5b48 Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 28 Apr 2013 22:57:53 +0000 Subject: [PATCH] Feature improvement: allow accessing other merc inventories when ACCESS_OTHER_MERC_INVENTORIES is TRUE. Even works with dying mercs. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1658 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 2 ++ gamedir/Data-UB/Ja2_Options.ini | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index e444ebbe0..aa92a3c85 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -1679,6 +1679,8 @@ ENERGY_COST_FOR_WEAPON_RECOIL_KICK = 100 ; NPCs are not required to be in CIV_TEAM anymore. ALL_NAMED_NPCS_DECIDE_ACTION = FALSE +; allow accessing other mercs inventories. This works just like stealing, but on your teammembers, even when they are dying or unconscious +ACCESS_OTHER_MERC_INVENTORIES = TRUE ;****************************************************************************************************************************** ;****************************************************************************************************************************** diff --git a/gamedir/Data-UB/Ja2_Options.ini b/gamedir/Data-UB/Ja2_Options.ini index 98540dadb..4edb8c305 100644 --- a/gamedir/Data-UB/Ja2_Options.ini +++ b/gamedir/Data-UB/Ja2_Options.ini @@ -1649,6 +1649,12 @@ ENERGY_COST_FOR_WEAPON_WEIGHT = 100 ; 0 = disabled. 100 = default. Max is 250 (rather excessive). ENERGY_COST_FOR_WEAPON_RECOIL_KICK = 100 +; If set to TRUE, enables proper realtime decision making for any named NPC (i.e. NPCs tied to a profile). As a result such +; NPCs are not required to be in CIV_TEAM anymore. +ALL_NAMED_NPCS_DECIDE_ACTION = FALSE + +; allow accessing other mercs inventories. This works just like stealing, but on your teammembers, even when they are dying or unconscious +ACCESS_OTHER_MERC_INVENTORIES = TRUE ;****************************************************************************************************************************** ;******************************************************************************************************************************