Author Topic: [MOD] Make the "recover" tag for items on the battlefield more flexible  (Read 2534 times)

Offline clownagent

  • Colonel
  • ****
  • Posts: 380
    • View Profile
I would like to make mod, which allows that armor from dead soldiers (corpses) is recoverable.

Right now the "recover" tag for items in the ruleset allows only true or false. It would be great, if it were possible to specifiy a list of recovered_items from the battlescape for each item.

For example:
  - type: STR_CORPSE_FLYING_SUIT
    name: STR_CORPSE
    recover: true
    recovered_items: STR_FLYING_SUIT
   
With this, I could define the armortype for each corpse, which should be recovered and voila my new rookies can use a, not so new, power armor on their first mission.

Of course, for the realists one could also define a damaged armor item, which has to be first repaired in the workshop. :P

 - type: STR_CORPSE_FLYING_SUIT
    name: STR_CORPSE
    recover: true
    recovered_items: STR_DAMAGED_FLYING_SUIT



     

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
+1! I want to play around with manufacturing options.