Ludeon Forums

Ludeon Forums

  • December 18, 2018, 06:33:50 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Whitespaces in "gender ?" operands  (Read 294 times)

Elevator

  • Drifter
  • **
  • Posts: 65
  • Refugee
    • View Profile
Whitespaces in "gender ?" operands
« on: October 10, 2018, 06:37:26 AM »

It would also be great if conditional expressions worked with whitespaces.

Currently
Code: [Select]
{PAWN_gender ? ваш бывший поселенец : ваша бывшая поселенка}transfroms to "вашбывшийпоселенец", which doesn't look good.

One of possible solutions could be using quotation marks like this:
Code: [Select]
{PAWN_gender ? "ваш бывший поселенец" : "ваша бывшая поселенка"}so that anaylyzer will treat text between qoutation marks as a solid string.

I know that I can write like:
Code: [Select]
{PAWN_gender ? ваш : ваша} {PAWN_gender ? бывший : бывшая } {PAWN_gender ? поселенец : поселенка}, but it doesn't seem convenient at all.
Logged

ison

  • Developer
  • Planetologist
  • *****
  • Posts: 2136
    • View Profile
Re: Whitespaces in "gender ?" operands
« Reply #1 on: December 06, 2018, 08:59:41 AM »

Already fixed, thanks.
Logged