From my experience as a long-time SupCom modder, there was little issue here. Typically, actual code is a negligible resource when it comes to mods, and resources like art are much more valuable. Partly, this is because most mods require no complex code at all, and anyone who's read the Lua manual (and caught up on Demigod's systems) should be able to write virtually any mod. Not just that, but it's common that people will ask for technical support for a piece of code, and end up have it nearly entirely written by a more experienced modder.
As a combination of these factors, I find that there is very rarely a problem with "code stealing", and using concepts & ideas about how to accomplish something, as opposed to copying and pasting, is virtually never disagreeable.
However, to be certain, you should always ask the mod author. Kryo has every right to maintain exclusive right to his code and tell you to go write your own.