Originally Posted by
ronnke
Is there a way to override a single global variable/constant in a CoreRPG script file?
Eg.
In the scripts/manager_language.lua, I want to change the following global constant:
CHAR_LANGUAGE_LIST = "languagelist";
to
CHAR_LANGUAGE_LIST = "traits.languagelist";
Presently I do this by copying the manager_language.lua file from CoreRPG into my ruleset, I make the above change, and then overwrite the <script name="LanguageManager" file="scripts/manager_language.lua" /> in my base.xml file.
Is there a better way to do this with respect to layering?