Updated NPC combat control mod to be able to automatically set the number for the notification box.

Updated item highlighting mod to also be disabled while in the barter screen.
This commit is contained in:
NovaRain
2019-02-20 21:26:23 +08:00
parent 99664dfa8a
commit 36e3a2bd5f
6 changed files with 52 additions and 25 deletions
+3 -3
View File
@@ -13,7 +13,7 @@
NOTE: this script requires compiler from sfall modderspack with -s option
(short circuit evaluation)
version 1.0
version 1.1
**/
@@ -67,7 +67,7 @@ procedure KeyPressHandler begin
scanCode := get_sfall_arg,
scanner, charges;
if scanCode == highlightKey and not(get_game_mode bwand INTFACELOOT) then begin
if scanCode == highlightKey and not(get_game_mode bwand (INTFACELOOT bwor BARTER)) then begin
if pressed then begin
isHighlight := true;
if motionScanner then begin
@@ -106,7 +106,7 @@ procedure CombatTurnHandler begin
end
procedure GameModeChangeHandler begin
if isHighlight and (get_game_mode bwand INTFACELOOT) then begin
if isHighlight and (get_game_mode bwand (INTFACELOOT bwor BARTER)) then begin
isHighlight := false;
call ToggleHighlight(false);
end