Added optional options to the perks ini file

* to toggle modification sections for perks and traits.

Reorganized ini reading functions in main.cpp, and edited related code
in Perks/Stats modules.

Added error/warning icons to message boxes.
This commit is contained in:
NovaRain
2019-10-14 10:19:11 +08:00
parent 85dfb35f01
commit 882a601b0c
9 changed files with 185 additions and 148 deletions
+9
View File
@@ -27,6 +27,10 @@ WeaponAccurateBonus=20
WeaponHandlingBonus=3
;##############################################################################
[Perks]
;Set to 1 to enable the modifications to perks
Enable=0
;Name=The name of the perk (max 63 characters)
;Desc=The description of the perk (max 255 characters)
;Image=The line number (0-indexed) of the corresponding FRM in skilldex.lst
@@ -119,6 +123,11 @@ Skill4Mod=0
Skill5=-1
Skill5Mod=0
;##############################################################################
[Traits]
;Set to 1 to enable the modifications to traits
Enable=0
;This is a modification to trait 0
[t0]
NoHardcode=0