The contraband system allows for Chemicals
(Drugs), Things
, or even entire ThingCategories
to be made illegal to trade.
To make something illegal, you'll need a VEF.Factions.ContrabandDef
. A ContrabandDef
allows you to specify which factions consider the trading or gifting illegal, what specifically is illegal, the chance that they'll catch you, along with the related strings.