Hi Meridian, I believe this is a valid question for you.
I am trying to implement Manufacturing and I come across some frustrating errors. Maybe it is a bug or two, one sure act as one.
This is my code
For items
items:
- type: STR_RAIDERCOMMANDER
size: 0.0
recover: true
liveAlien: true
costSell: 10000
battleType: 0
- type: STR_RAIDERLEADER
size: 0.0
recover: true
liveAlien: true
costSell: 10000
battleType: 0
- type: STR_RAIDEROFFICER
size: 0.0
recover: true
liveAlien: true
costSell: 10000
battleType: 0
- type: STR_RAIDERSARGENT
size: 0.0
recover: true
liveAlien: true
costSell: 10000
battleType: 0
- type: STR_RAIDERSOLDIER
size: 0.0
recover: true
liveAlien: true
costSell: 10000
battleType: 0
For manufacturing.
manufacture:
- name: STR_RAIDERCOMMANDER
category: STR_INTERROGATION
requiredItems:
STR_RAIDERCOMMANDER: 1
randomProducedItems:
#- [70, {}]
- [34, {STR_MERCSOLDIER_TRAINING: 1}]
- [33, {STR_ENGINEERITEM: 1}]
- [33, {STR_SCIENTISTITEM: 1}]
- name: STR_RAIDERLEADER
category: STR_INTERROGATION
requiredItems:
STR_RAIDERLEADER: 1
randomProducedItems:
#- [70, {}]
- [34, {STR_MERCSOLDIER_TRAINING: 1}]
- [33, {STR_ENGINEERITEM: 1}]
- [33, {STR_SCIENTISTITEM: 1}]
- name: STR_RAIDEROFFICER
category: STR_INTERROGATION
requiredItems:
STR_RAIDEROFFICER: 1
randomProducedItems:
#- [70, {}]
- [34, {STR_MERCSOLDIER_TRAINING: 1}]
- [33, {STR_ENGINEERITEM: 1}]
- [33, {STR_SCIENTISTITEM: 1}]
- name: STR_RAIDERSARGENT
category: STR_INTERROGATION
requiredItems:
STR_RAIDERSARGENT: 1
randomProducedItems:
#- [70, {}]
- [34, {STR_MERCSOLDIER_TRAINING: 1}]
- [33, {STR_ENGINEERITEM: 1}]
- [33, {STR_SCIENTISTITEM: 1}]
- name: STR_RAIDERSOLDIER
category: STR_INTERROGATION
requiredItems:
STR_RAIDERSOLDIER: 1
randomProducedItems:
#- [70, {}]
- [34, {STR_MERCSOLDIER_TRAINING: 1}]
- [33, {STR_ENGINEERITEM: 1}]
- [33, {STR_SCIENTISTITEM: 1}]
Short story is, I have capture some soldiers. Trying to interrogate them. Interrogation via the manufacturing method using randomProducedItems.
I follow the syntax from the forum and from XComfiles to double check. The manufacturing outcome, instead of one of three item produced.
Scientist, Engineer and soldier.
I got nothing. I believe this is Bug No 2
For Bug no 1, when I try to produce or interrogate the unit, commander for example. The decrease button, instead of decrease the count, it INCREASE the count by 2. If I make a mistake of increasing the counter by 3, I want to decrease it, instead, it add 2 to be come 5! This increase by a factor of 2.
Please check the screen shot below.