I'm testing a new mod and I've run into a problem that's leaving me confused. I can only research captured aliens once and I don't see anything in the code that should be causing this. I have two individuals of the same type in a base and when I research one, the other remains and can even be sold but not re-researched. Let me post relevant parts of the code.
items:
- type: STR_ARMOREDALIENS_SNAKEMAN_NAVIGATOR
size: 0.0
recover: true
liveAlien: true
costSell: 60000
research:
- name: STR_ARMOREDALIENS_SNAKEMAN_NAVIGATOR
cost: 10
points: 50
needItem: true
unlocks:
- STR_ALIEN_ORIGINS
- STR_ARMOREDALIENS_SNAKEMAN
- name: STR_ARMOREDALIENS_SNAKEMAN
cost: 10
points: 20
dependencies:
- STR_ARMOREDALIENS_SNAKEMAN_SOLDIER
- STR_ARMOREDALIENS_SNAKEMAN_NAVIGATOR
- STR_ARMOREDALIENS_SNAKEMAN_ENGINEER
- STR_ARMOREDALIENS_SNAKEMAN_LEADER
- STR_ARMOREDALIENS_SNAKEMAN_COMMANDER
I don't even remember how many variations I've tested and it never works. I've even tried to copy my own code from a working mod and while the original code works, the new one doesn't. My code unlocks the new research, as it should, but no matter what I do, or what getOneFree items I add, the game never offers me the option of researching that armored navigator (or any other of the new aliens) again. Anyone has an idea what might be causing this?