Author Topic: [DONE][Suggestion] alignBottom on event descriptions  (Read 1202 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
[DONE][Suggestion] alignBottom on event descriptions
« on: July 20, 2023, 03:35:19 pm »
Can we please get alignBottom on event descriptions, just like on Pedia articles?

People generally have faces on the upper side of the body, and making sure that the face is visible (on events with some portrait) is a nightmare. Thanks!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9089
    • View Profile
Re: [DONE][Suggestion] alignBottom on event descriptions
« Reply #1 on: December 03, 2023, 06:31:59 pm »
Done: https://github.com/MeridianOXC/OpenXcom/commit/750c4a63cc99f5e2e73b58e94f4617edfb7fbbc9


Code: [Select]
eventScripts:
  - type: STR_TEST_EVENT_SCRIPT
    eventWeights:
      0:
        STR_TEST_EVENT1: 100

events:
  - name: STR_TEST_EVENT1
    description: STR_TEST_DESCRIPTION1
    alignBottom: true
    background: BACK13.SCR
    regionList: [STR_NORTH_AMERICA, STR_EUROPE]
    city: true
    everyItemList: [STR_PISTOL]

extraStrings:
   - type: en-US
     strings:
       STR_TEST_EVENT1: "Political assassination in {0}"
       STR_TEST_DESCRIPTION1: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."