Author Topic: [Answered] A couple of questions about recoveryTransformations  (Read 2250 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
I have two questions about the recoveryTransformations: feature in OXCE.


Question #1:
If recoveryTransformations: is used to change a recovered live alien into an item but there is no alien containment at the base will the item still be recovered as it is an item now and not a live alien?

Or is the alien corpse item recovered instead since the live alien died and thus was not transformed via recoveryTransformations: into a different item.

Question #2:
If recoveryTransformations: is used to change a recovered live alien into an item but there is no alien containment at the base will the "Captured aliens die due to lack of alien containment" message still be displayed after battle?
« Last Edit: February 12, 2023, 09:31:29 am by Meridian »

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: (OXCE) A couple of questions about recoveryTransformations:
« Reply #1 on: May 16, 2020, 06:13:47 am »
After altering most of the STR_SECTOID live alien items to change into x10 rifle clips on recovery I managed to hunt down a UFO on the geoscape and stun a Sectoid.

Code: [Select]
  - type: STR_SECTOID_LEADER
    size: 0.0
    recover: true
    liveAlien: true
    costSell: 60000
    recoveryTransformations:
      STR_RIFLE_CLIP: [10]
  - type: STR_SECTOID_ENGINEER
    size: 0.0
    recover: true
    liveAlien: true
    costSell: 60000
    recoveryTransformations:
      STR_RIFLE_CLIP: [10]
  - type: STR_SECTOID_MEDIC
    size: 0.0
    recover: true
    liveAlien: true
    costSell: 60000
    recoveryTransformations:
      STR_RIFLE_CLIP: [10]
  - type: STR_SECTOID_NAVIGATOR
    size: 0.0
    recover: true
    liveAlien: true
    costSell: 60000
    recoveryTransformations:
      STR_RIFLE_CLIP: [10]
  - type: STR_SECTOID_SOLDIER
    size: 0.0
    recover: true
    liveAlien: true
    costSell: 40000
    recoveryTransformations:
      STR_RIFLE_CLIP: [10]

Here are the results of my attempt:

Answer to Question #1:
Without having an alien containment waiting at the base the live alien is still converted into an item instead of becoming the alien corpse item.

Answer to Question #2:
No "Aliens died due to lack of alien containment" message is displayed if a live alien is converted into an item and there is no alien containment available at the base.