Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
What do you want to do? If you want to override some function, take a look at the Town Tuning where I override some function for building eras. It might work for you as well.
Yes I'm overriding some functions in certain cases. So far I have been using a "wrapper" method, and it works okay. But recently I found another mod using a custom "package modifier", and I thought it might be a better way. But it seems it only partly works (it's code for a very early version of the game, so maybe out-of-date for current code base). So it gave me the idea to try the addModifiers instead because they seem to have similar intent..., but as you mentioned, I learned that it does not work on the .lua files.