OpenXcom Forum
OpenXcom => Troubleshooting => Topic started by: LouisdeFuines on March 23, 2014, 01:28:26 pm
-
Hi,
by luck I found an entry in the options.cfg, I`m completely can`remember having seen before:
"purchaseexclusions:
[]"
Is this important in the options.cfg?
-
It looks like you can exclude items from your purchase list like that. The author did not want to see pistols in the list of things he could purchase, so he wrote this up so he could remove them. Details : https://github.com/SupSuper/OpenXcom/pull/254
-
Ah, great, thanks for the answer, Shoes! :)
-
So, how do I actually use this feature? What is the syntax, and where do I find the item names to put there?
Edit: Never mind, I figured it out. This is my list a few months into the game:
purchaseexclusions:
- STR_STINGRAY_LAUNCHER
- STR_STINGRAY_MISSILES
- STR_CANNON
- STR_CANNON_ROUNDS_X50
- STR_TANK_CANNON
- STR_HWP_CANNON_SHELLS
- STR_TANK_ROCKET_LAUNCHER
- STR_HWP_ROCKETS
- STR_PISTOL
- STR_PISTOL_CLIP
- STR_RIFLE
- STR_RIFLE_CLIP
- STR_AUTO_CANNON
- STR_AC_AP_AMMO
- STR_AC_HE_AMMO
- STR_AC_I_AMMO