Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 23, 2024, 06:27:45 pm
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
Modding
»
Help
»
Can a mod have two .rul files with an items: section?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can a mod have two .rul files with an items: section? (Read 2271 times)
The Martian
Commander
Posts: 754
"It implores you to listen to its arguments..."
Can a mod have two .rul files with an items: section?
«
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?
Logged
Nord
Commander
Posts: 1746
The Gate is open.
Re: Can a mod have two .rul files with an items: section?
«
Reply #1 on:
April 29, 2020, 01:50:17 pm »
yes, in alphabetic order.
Logged
Meridian
Global Moderator
Commander
Posts: 9094
Re: Can a mod have two .rul files with an items: section?
«
Reply #2 on:
April 29, 2020, 02:30:25 pm »
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.
Logged
The Martian
Commander
Posts: 754
"It implores you to listen to its arguments..."
Re: Can a mod have two .rul files with an items: section?
«
Reply #3 on:
May 02, 2020, 08:38:13 am »
To keep the order as desired I'll make use of the listOrder: variable.
Thank you for the help.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
Modding
»
Help
»
Can a mod have two .rul files with an items: section?