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:56:39 +08:00
parent c2dde7485a
commit 19db722948
10 changed files with 21 additions and 24 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
;sfall configuration settings
;v4.3.8.1
;v4.3.9
[Main]
;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash
@@ -618,10 +618,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