Item descriptions

Discussion in 'General Modification' started by SharkD, Jul 25, 2009.

Remove all ads!
  1. SharkD

    SharkD Established Member

    Joined:
    Jul 7, 2009
    Messages:
    218
    Likes Received:
    0
    A couple of questions:

    1. Is there a way to insert line breaks into item descriptions?
    2. Will scrollbars appear in the description box if the text is long?

    -Mike
     
  2. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,743
    Likes Received:
    374
    Don't know, and probably not :)

    To get a new line, try \n as in C++. The Official Python website (which I just visited for the first time - go figure :p) says
    it doesn't say what the 'newline' character is, but try n and see what happens :)

    EDIT: shoulda read further down the page ;) try \r
     
    Last edited: Jul 25, 2009
  3. SharkD

    SharkD Established Member

    Joined:
    Jul 7, 2009
    Messages:
    218
    Likes Received:
    0
    I tested it and it's simpler than that. All you have to do is type normally. I.e. if you press 'enter' in the mes file then it recognizes the new line. Tab characters are converted to spaces however.

    Unfortunately, there's no scrollbar. I was going to suggest that item attributes each be listed on their own line. Without the scrollbar this looks real ugly. Maybe a scrollbar could be modded in?

    -Mike
     
Our Host!