Author Topic: [DONE] [Suggestion] StatStrings per soldier type  (Read 2692 times)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
[DONE] [Suggestion] StatStrings per soldier type
« on: August 08, 2017, 02:52:59 pm »
StatStrings can now be defined on soldier types as well.

If found, these specific rules are used... if missing, fall-back are the global StatStrings.

Code: [Select]
soldiers:
  - type: STR_SOLDIER
    statStrings:
      - string: "ZzZ"
        firing: [70, ~]
      - string: "Z"
        firing: [60, 69]
      - string: "z"
        firing: [~, 59]
« Last Edit: July 17, 2018, 01:59:48 pm by Meridian »

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: StatStrings per soldier type
« Reply #1 on: May 31, 2018, 09:38:20 pm »
Just posting this here as an example of a mod built with this feature. 

https://openxcom.org/forum/index.php/topic,6311.0.html

[MOD] Reversed StatStrings for Multiple Soldier Types (X-PirateZ)

I also ginned up another mod to identify soldier types here:  Soldier Type Statstrings
« Last Edit: June 11, 2018, 11:18:14 pm by ivandogovich »