Decoupled hook type 2 of HOOK_AMMOCOST from CheckWeaponAmmoCost

Edits to documents to reflect the hook change.
Changed CheckWeaponAmmoCost to be enabled by default.
Updated version number.
This commit is contained in:
NovaRain
2023-05-20 10:59:26 +08:00
parent 033c8bf8ef
commit 26693fd0ed
7 changed files with 18 additions and 21 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
;sfall configuration settings
;v3.8.38.1
;v3.8.39
[Main]
;Set to 1 if you want to use command line arguments to tell sfall to use another ini file
@@ -621,10 +621,10 @@ ExplosionsEmitLight=0
;MovieTimer_artimer3=270
;MovieTimer_artimer4=360
;Set to 1 to add proper check for ammo before attacking and proper calculation of the number of burst rounds
;Set to 1 to add proper checks for ammo before attacking
;By default, a weapon can perform an attack with at least one ammo, regardless of ammo cost calculation
;Note that enabling this option will prevent super cattle prods and mega power fists from attacking with only one ammo left
CheckWeaponAmmoCost=0
CheckWeaponAmmoCost=1
;Controls the speed of combat panel animations (lower - faster; valid range: 0..65535)
CombatPanelAnimDelay=1000