New flags for items

I’m wanting to make a new flag for an item that’s camouflaged. Not active camouflage, just something that makes it harder for enemies to spot you. Is there a way to make completely new flags?

Yes, but it requires at a minimum a fair bit of C++ code, and at a maximum, a huge amount of C++ code. It’s not something you can do in a mod that only adjusts the JSON data of the game.

Just adding the CATTLEFODDER flag so that you can retame feral sheep with cattle fodder required changing 8 lines across 7 files, and that was a pretty simple change.

1 Like

Oh man! I have no knowledge of C++ thanks for letting me know.