1
Modding / Re: Misc modding questions that are too minor to warrant their own thread
« on: March 28, 2024, 10:13:23 PM »See: CustomProductionContract.addArmsDealerBlueprints()
In brief, the dealer excludes weapons with no_sell, no_dealer, and restricted, and weapons with AIHints.SYSTEM, but may sell anything that passes those checks, regardless of it being available to the faction etc.
So in theory if I were to make a modded weapon that I want a faction to use, but not sell, while still allowing for Arms dealer production I would have to:
1. Set Weapon Tier at 5 for no sale.
2. Do not add the SYSTEM AIHint.
3. Do not add the no_sell tag.
4. Do not add the no_dealer tag.
5. Do not add the restricted tag.
For other control on how the weapon could be gotten (or not) I could also make use of:
1. no_drop. This is post combat loot and salvage if I'm not mistaken?
2. no_drop_salvage. This is location based salvage (Like a Research Station) If I'm correct.
I also assume that the SYSTEM hint also prevents drops of the weapon in question too?