Changelog:
- Changed PartyMemberExtraInfo to not show 'Addict' text (in dark green) on the combat control panel if the party member is not addicted to drugs
- Changed
read_byte,read_short,read_int, andread_stringscript functions to not require AllowUnsafeScripting - Changed AutoQuickSave to use the current selected page if AutoQuickSavePage is disabled
Various bug fixes and features based on the work by Mr.Stalin:
- Fixed a bug introduced in 4.1 that broke the return values of
HOOK_FINDTARGEThook script - Fixed the missing return value of -1 for
HOOK_USEOBJONhook script - Fixed the order of loading global scripts from multiple paths
- Fixed the return values of a hook getting corrupted if another hook was called during the execution of the current hook
- Fixed a bug in the hero appearance mod that caused the player to disappear after saving the game when player's base FID is greater than 255
- Changed how
HOOK_FINDTARGEThook script handles its return values. Now you don't have to specify all 4 targets to override normal sorting - Added a fix for being unable to sell/give items in the barter screen when the player/party member is overloaded
- Added a fix for AI still taking distance into account when calculating hit chance using the 'no_range' flag
- Added a fix for AI not taking
chem_primary_desireinAI.txtas a preference list when using drugs in the inventory - Added a fix to display a pop-up message box about death from radiation
- Added a fix to prevent hook scripts from being executed when the depth limit is exceeded, or the hook is called recursively
- Added a new value to SpeedInterfaceCounterAnims to update the AC counter instantly when switching to other controlled critters in combat
- New script functions:
obj_under_cursor,loot_obj,get/set_object_data,get_object_ai_data - New hook script:
hs_subcombatdmg