dirt system: added an option that controls wether a gun also gets cleaned on fully repairing it

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1616 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2013-03-07 02:21:03 +00:00
parent 41851c0bf5
commit e5b7d871b0
2 changed files with 11 additions and 2 deletions
+3
View File
@@ -2418,6 +2418,9 @@ ONLY_REPAIR_GUNS_AND_ARMOUR = FALSE
; allows a gun to get dirty when used, thereby increasing the chance of weapon jamming
DIRT_SYSTEM = TRUE
; repairing a gun to its currently possible maximum value also cleans the gun (always so on repair shopkeepers)
FULL_REPAIR_CLEANS_GUN = FALSE;
; every turn, a gun suffers a dirt increase equal to a singleshot dirt increase divided by this number
SECTOR_DIRT_DIVIDER = 1000
+8 -2
View File
@@ -2360,13 +2360,19 @@ ADDITIONAL_REPAIR_MODE = TRUE
; advanced repair/dirt system
;------------------------------------------------------------------------------------------------------------------------------
; determines wether a gun can suffer permanent damage that cannot be repaired other by local smiths.
; determines wether a gun can suffer permanent damage that cannot be repaired by anyone other than local smiths.
ADVANCED_REPAIR = TRUE
; the only items we can repair are guns and armour
ONLY_REPAIR_GUNS_AND_ARMOUR = FALSE
; allows a gun to get dirty when used, thereby increasing the chance of weapon jamming
DIRT_SYSTEM = TRUE
; every trun, a gun suffers a dirt increase equal to a singleshot dirt increase divided by this number
; repairing a gun to its currently possible maximum value also cleans the gun (always so on repair shopkeepers)
FULL_REPAIR_CLEANS_GUN = FALSE;
; every turn, a gun suffers a dirt increase equal to a singleshot dirt increase divided by this number
SECTOR_DIRT_DIVIDER = 1000