muffalomill, you can do it by editing Defs\Compatibility\Core.xml to something like this:
I used this variant to allow eating PSMs only while there are no other "valid" food available. I think you can change "RawBad" to "Luxury" if you really want to disallow them completely.
I have a feeling that there was some issue with it, can't remember exactly. Either pawns could take PSM into their inventory (but still eating only allowed food), or they didn't take but could eat PSM if it already was in their inventory (if pawn was spawned with it). Probably it even was fixed.
Anyway, in practice it worked fine enough.
Code Select
<Defs>
<WM.SmarterFoodSelection.CompabilityDef>
<!-- <defname>SFS_Core</defname>-->
<requiredMod>Core</requiredMod>
<foods>
<li>
<def>NutrientPasteDispenser</def>
<pref>MealAwful</pref>
</li>
<li>
<def>PlantMoss</def>
<pref>Grass</pref>
</li>
<li> <!-- added -->
<def>MealSurvivalPack</def>
<pref>RawBad</pref>
</li>
</foods>
</WM.SmarterFoodSelection.CompabilityDef>
</Defs>
I used this variant to allow eating PSMs only while there are no other "valid" food available. I think you can change "RawBad" to "Luxury" if you really want to disallow them completely.
I have a feeling that there was some issue with it, can't remember exactly. Either pawns could take PSM into their inventory (but still eating only allowed food), or they didn't take but could eat PSM if it already was in their inventory (if pawn was spawned with it). Probably it even was fixed.
Anyway, in practice it worked fine enough.