aliens

Author Topic: [DONE][SUGGESTION] articleText on interfaces.rul  (Read 654 times)

Offline efrenespartano

  • Commander
  • *****
  • Posts: 721
  • I know a lot about the law and other lawyerings.
    • View Profile
    • Email
[DONE][SUGGESTION] articleText on interfaces.rul
« on: April 13, 2022, 10:05:50 pm »
Howdy!

Recently, i was looking in interfaces.rul for the option to change the color of the UFOPedia buttons and text. I was able to find articleItem, articleCraftWeapon and articleArmor, however it seems there are no option to modify the elements of the UFOPedia entries with type_id: 7 and type_id: 8

So, my suggestion is the following:

Code: [Select]
interfaces:
  - type: articleText
    elements:
      - id: button
        color: 15    # orange
      - id: text
        color: 239    # grey
        color2: 244   # light blue

Hope this is easy to do! Unless its defined elsewhere and im just really bad at searching things  ;D
« Last Edit: July 15, 2022, 11:59:15 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7806
    • View Profile
Re: [SUGGESTION] articleText on interfaces.rul
« Reply #1 on: April 13, 2022, 10:09:31 pm »
ok, todolisted

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7806
    • View Profile
Re: [SUGGESTION] articleText on interfaces.rul
« Reply #2 on: July 09, 2022, 10:04:35 pm »
Done.

Disclaimer: if you have any images with custom palettes, make sure they (all) have correct colors on the new indices you plan to use.


Code: [Select]
  - type: articleText
    elements:
      - id: button
        color: 80    # very light grey
      - id: title
        color: 244   # light blue
      - id: text
        color: 239   # grey
        color2: 244  # light blue
  - type: articleTextImage
    elements:
      - id: button
        color: 83    # light grey
      - id: title
        color: 244   # light blue
      - id: text
        color: 239   # grey
        color2: 244  # light blue

Offline efrenespartano

  • Commander
  • *****
  • Posts: 721
  • I know a lot about the law and other lawyerings.
    • View Profile
    • Email
Re: [DONE][SUGGESTION] articleText on interfaces.rul
« Reply #3 on: July 20, 2022, 10:48:15 pm »
Thank you, Meridian! I was looking forward to seeing this.