OpenXcom Forum
Modding => Help => Topic started by: The Martian on April 29, 2020, 12:46:05 pm
-
Can two .rul files each with an items: section exist in the same Mod's ruleset folder?
Also, if the above is possible, what determines which file's items: list is loaded first?
-
yes, in alphabetic order.
-
You cannot count on alphabetical order.
Different platforms (win/android/mac/etc.), locales (en/ru/sk/etc.) and load structures (e.g. ziploader) will have DIFFERENT order.
Don't make anything depend on alphabetical order, ever.
-
To keep the order as desired I'll make use of the listOrder: variable.
Thank you for the help.