Learn basic modding with Module System to make such edits in a clear and easy way. I recommend that you browse through Warband engine modding section in order to find snippets of code which do what you want to achieve. Tweaking the module with text files will ultimately turn out to be too cumbersome for you.