mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Small convenience feature - improved bomb planting (by Sevenfm)
- 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/trunk/GameSource/ja2_v1.13/Build@6647 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1352,6 +1352,9 @@ void LoadGameExternalOptions()
|
||||
// <GasCan>, <Marbles> and <Alcohol> add special bonuses to explosion
|
||||
gGameExternalOptions.bAllowSpecialExplosiveAttachments = iniReader.ReadBoolean("Tactical Interface Settings","ALLOW_SPECIAL_EXPLOSIVE_ATTACHMENTS",FALSE);
|
||||
|
||||
// Automatically take new mine from inventory, use last tripwire network settings
|
||||
gGameExternalOptions.bImprovedBombPlanting = iniReader.ReadBoolean("Tactical Interface Settings","IMPROVED_BOMB_PLANTING",FALSE);
|
||||
|
||||
// Chance to Say Annoying Phrase (you can just turn of it by button in game)
|
||||
gGameExternalOptions.iChanceSayAnnoyingPhrase = iniReader.ReadInteger("Tactical Interface Settings","CHANCE_SAY_ANNOYING_PHRASE",100);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user