Author Topic: Research (mod+submod)  (Read 2411 times)

Offline Docent

  • Colonel
  • ****
  • Posts: 101
    • View Profile
Research (mod+submod)
« on: November 24, 2019, 07:44:24 pm »
The question is simple: if in mod resarch.rul the code is:
  - name: STR_ETHEREAL_LEADER
    unlocks:
      - STR_U1
      - STR_U2
    getOneFree:
      - STR_F1
      - STR_F2
and I do in submod like this:
  - name: STR_ETHEREAL_LEADER
    getOneFree:
      - STR_F3
then in the end the game should read this as:
  - name: STR_ETHEREAL_LEADER
    unlocks:
      - STR_U1
      - STR_U2
    getOneFree:
      - STR_F1
      - STR_F2
      - STR_F3
???????
I thought it worked like that, everything else worked like that, but for some reason it didn't.
Yes or no answer will be enough for me.

EDIT: I changed my mind if the answer is no, then I would like a more extended answer :)
« Last Edit: November 24, 2019, 07:47:06 pm by Docent »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9101
    • View Profile
Re: Research (mod+submod)
« Reply #1 on: November 24, 2019, 08:23:37 pm »
No.

All attributes that you mod get replaced (not mixed, merged or anyhow else combined):
- if a value was 24 and you change it to 42... only 42 remains
- if a value was [1,2,3,4] and you change it to [5,6,7]... only [5,6,7] remains (not [1,2,3,4,5,6,7])

...everything else worked like that, but for some reason it didn't.

Actually, quite the opposite, nothing works like that (with maybe 1 or 2 exceptions which I won't even mention to not confuse you).
« Last Edit: November 24, 2019, 08:35:51 pm by Meridian »

Offline Docent

  • Colonel
  • ****
  • Posts: 101
    • View Profile
Re: Research (mod+submod)
« Reply #2 on: November 25, 2019, 10:59:00 am »
 :o
Thanks...