Small convenience feature - improved bomb planting (by Sevenfm)

- new INI option: IMPROVED_BOMB_PLANTING
- With new option IMPROVED_BOMB_PLANTING = TRUE, if you hold SHIFT key while planting new mine, then another mine with same item id will be taken automatically from your merc's inventory. If no such item found, any mine will be taken. If you plant tripwire-triggered mine, then only tripwire-triggered items will be taken. This new feature work only in realtime.
If you are making tripwire network, then this feature can be used to plant another tripwire item with network and hierarchy settings taken from previously planted tripwire. You just plant tripwire as usual, selecting it's settings from dialogue, then if you plant another one while holding SHIFT key, those settings will be used for new tripwire, instead of showing you dialogue
- I hope this small improvement will save you some time for building large and complicated defensive minefields.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1882 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2013-11-24 11:09:22 +00:00
parent 1b06a4b85c
commit 4d16001c18
2 changed files with 74 additions and 9 deletions
+11
View File
@@ -628,6 +628,7 @@ SMALL_SIZE_PB = FALSE
; 0 = no change
; 100 = max volume
;------------------------------------------------------------------------------------------------------------------------------
WEAPON_SOUND_EFFECTS_VOLUME = 0
;------------------------------------------------------------------------------------------------------------------------------
@@ -921,6 +922,16 @@ ALLOW_EXPLOSIVE_ATTACHMENTS = FALSE
ALLOW_SPECIAL_EXPLOSIVE_ATTACHMENTS = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Allow merc to automatically take mine with same id from inventory after using one
; If no item found, then first available mine will be taken from inventory
; For this feature to work, SHIFT key must be pressed while planting mine
; Also, this allows to plant tripwire with previously selected network type and hierarchy (with SHIFT key pressed)
;------------------------------------------------------------------------------------------------------------------------------
IMPROVED_BOMB_PLANTING = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Default: 100
; Chance to say annoying phrase.