Code: Select all
grf {
grfid: "\50\4F\4C\00";
name: string(STR_GRF_NAME);
desc: string(STR_GRF_DESCRIPTION);
version: 0;
min_compatible_version: 0;
}
town_names(A) {
styles: string(STR_GAME_OPTIONS_TOWN_NAME_NUSANTARA);
{
text("Jakarta", 5),
text("Kuala Lumpur", 5),
text("Surabaya", 3),
text("Medan", 1),
text("Makassar", 1),
text("Bandung", 1),
text("Johor Bahru", 1),
text("Kota Kinabalu", 1),
}
}
I have included the code in the same folder as nmlc and python (and some other files). There are a few lines of code before giving some descriptions like "//name". Though I haven't included a language code in the folder, giving the following warning:
Code: Select all
[K nmlc warning: Default language file "lang\english.lng" doesn't exist
Is this code required as well or is this just optional? What has to be included in this file and is there a good example of such a file?
Maybe this request may sound a bit silly, but I hope you can help me. Thanks in advance.