OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: Meridian on October 22, 2019, 10:38:06 pm

Title: [DONE] Inventory stats improvements
Post by: Meridian on October 22, 2019, 10:38:06 pm
1/ By default the stats show the vanilla Firing/Reactions/Psi skill/Psi strength again... OXCE firing/throwing/melee/psi-combined are moddable via interface ruleset

a/ elements textFiring, textReaction, textPsiSkill and textPsiStrength have been renamed to textStatLine1, textStatLine2, textStatLine3 and textStatLine4
b/ attribute 'custom' has been added, with following values:
1=(firing) accuracy
2=reactions
3=psi skill
4=psi strength
11=firing
12=throwing
13=melee
14=psi combined (strength/skill)

So now you can choose, which of these 8 options you want to display and also in which order.
Title: Re: Inventory stats improvements
Post by: Meridian on October 22, 2019, 10:38:23 pm
2/ It is possible to move the inventory stats to any place on the screen using interface ruleset, example below shows the default values:

Code: [Select]
interfaces:
  - type: inventory
    elements:
      - id: textTUs
        pos: [245, 24]    # will be moved 8 pixels down, if enhanced inventory stats option is enabled
        color: 64
        color2: 16
      - id: textWeight
        pos: [245, 24]
        color: 64
        color2: 16
      - id: textStatLine1
        custom: 1
        pos: [245, 32]
        color: 64
        color2: 16
      - id: textStatLine2
        custom: 2
        pos: [245, 40]
        color: 64
        color2: 16
      - id: textStatLine3
        custom: 3
        pos: [245, 48]
        color: 64
        color2: 16
      - id: textStatLine4
        custom: 4
        pos: [245, 56]
        color: 64
        color2: 16