In RFC based mods, these constants are defined in the Consts.py file, you need to do the same for pBarbarian and then import it in the module you're currently writing.Yep I did start a new game. Not certain where the pBarbarian data comes from. Is there any method for working out where data is being pulled from?
I really recommend an "import * from Consts" in all your files which does not exist in base RFC because it was written in less civilised times.
Edit: If I recall correctly, the pattern was to do something like:
Code:
import Consts as con
pBarbarian = con.pBarbarian