aliens

Author Topic: Either OR research dependency  (Read 379 times)

Offline Alpha Centauri Bear

  • Captain
  • ***
  • Posts: 73
    • View Profile
Either OR research dependency
« on: October 14, 2020, 04:23:01 am »
Sorry if stupid question but I could not figure out how to define either OR research dependency. For example, research C becomes available after either A OR B is researched. Please help. Thank you.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 6814
  • OXCE developer
    • View Profile
    • My Wiki
Re: Either OR research dependency
« Reply #1 on: October 14, 2020, 09:44:22 am »
Code: [Select]
research:
  - name: STR_A
    cost: 1
    unlocks:
      - STR_C
  - name: STR_B
    cost: 1
    unlocks:
      - STR_C
  - name: STR_C
    cost: 1
    dependencies:
      - STR_A
      - STR_B

Offline Alpha Centauri Bear

  • Captain
  • ***
  • Posts: 73
    • View Profile
Re: Either OR research dependency
« Reply #2 on: October 14, 2020, 02:13:52 pm »
Thank you, Meridian. I should read manual first. 😟