Done.
missionScripts:
- type: treasureHunting
...
itemTriggers:
STR_TREASURE_MAP: true
STR_TREASURE_CHEST: false
Items considered are
ONLY items directly in base stores.
Not considered are:
1. weapons, ammo, vehicles and items in crafts
2. items in transfer
3. weapons, ammo, vehicles and items in crafts in transfer
4. items worn by soldiers (armor)
5. items being researched
6. potential manufacture refunds
7. potential facility dismantle refunds
8. anything else I forgot
And as a bonus, there is also a possibility to define minimum and maximum required score (from the previous month), similar to how the difficulty constraint works.
The score constraint is
NOT checked at the beginning of the game (before first month).
missionScripts:
- type: xxx
...
minScore: -1000
maxScore: 200
Test build:
https://lxnt.wtf/oxem/builds//Extended/Extended-5.6.4-4e8202a0f-2019-09-18-win32.7zEDIT: there is also a possibility to define minimum and maximum required funds (from the current month, i.e. after monthly rating), similar to how the difficulty constraint works.
The funds constraint is
NOT checked at the beginning of the game (before first month).
missionScripts:
- type: xxx
...
minFunds: -1000
maxFunds: 200