Request: Punctuation in long description stats

Discussion in 'General Modification' started by SharkD, Aug 1, 2009.

Remove all ads!
  1. SharkD

    SharkD Established Member

    Joined:
    Jul 7, 2009
    Messages:
    218
    Likes Received:
    0
    Might want to check Scather and Fragarach. They're the longest, AFAIK.

    -Mike
     
  2. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Looks like we won't be able to have long description bullet item entries on separate lines after all, because WorldBuilder nullifies the carriage returns ([enter] in 'the parlance of our times') when it saves description.mes and long_description.mes. We can however have items separated by this symbol, whatever it's called:

    Code:
    |
    e.g.

    Code:
    To Hit Bonus: 0 | Damage: 1d6
    which looks a little better and is easier to read.

    Can everybody see that? I hope it's not excusive to US keyboards or anything.
     
  3. SharkD

    SharkD Established Member

    Joined:
    Jul 7, 2009
    Messages:
    218
    Likes Received:
    0
    You might also want to try the bullet character:



    Though ToEE's font probably doesn't have it.
     
  4. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    I'm confused. You had it working above, Gaear: is the problem ToEEWB? In that case, lets just never use it for long_description.mes: Notepad would do just as well anyway?
     
  5. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Yeah, it's WB, although I'm not doing the edits to long_description.mes in WB. If you do the carriage return maneuver in Notepad it works fine (as in the pic above), but when WB saves the file, the returns are gone again.

    WB's save function in the prototypes tab is universal - automatically saving protos.tab, description.mes, and long_description.mes in order to keep those three files properly aligned (which is a good thing). So you may never make an edit to long_description.mes in WB at all, but it still saves the file anyway when you save proto edits.

    So I guess this means you can't use WB for proto-editing if you want to have line-enumerated stats in long_description.mes, or so I assume.
     
  6. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    254
    ToEE seems to use a square character for carriage returns - did you try using that for the long_description.mes file?
     
  7. Cortillaen

    Cortillaen The Newbie

    Joined:
    Jul 21, 2009
    Messages:
    40
    Likes Received:
    0
    Another option: Someone writes a little blurb of a program to convert instances of a chosen character to carriage returns, and another to go back. Convert long_descriptions.mes to using the character prior to using WB, and convert it to carriage returns afterwards. Not as clean as it might be, but I imagine it'd work.
     
  8. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    I always thought that little square just represented a symbol that was unrecognized or undisplayable in your font or not avaialble on your keyboard. (You see it pop up from time to time in various files that you foreigners edit ;).)

    So I assume the square in ToEE carriage returns is 'unknown symbol.'

    Regardless, if it's a carriage return, WB seems to discard it.
     
  9. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Mine comes up as a 'male' symobl (circle with spearhead).

    I would say, when copying protos.tab and description.mes back from your WB folder to the main game files, don't copy long_description.mes. I'll also check that Python carriage-return thing I mentioned somewhere.
     
  10. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Well, but then we're not allowing WB to do its job and keep the three files aligned.
     
  11. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    How about slashes, like this:

    Code:
    A rapier is a relatively slender, sharply pointed sword, used mainly for thrusting attacks.  /  To Hit Bonus: 0  /  Damage: 1d6  /  Critical Range: 18-20/x2  /  Damage Type: Piercing  /  Weapon proficiency: Martial, Rapier
    Is that a universal symbol?
     
  12. Emirkol the Chaotic

    Emirkol the Chaotic Proud Polytheist

    Joined:
    Aug 20, 2008
    Messages:
    1,436
    Likes Received:
    1
    Oooh! I like that! Easy to read and fast, for a quick scan of "what-the-hell-is-this" or "what- does-this-do-again" type questions.
     
  13. SharkD

    SharkD Established Member

    Joined:
    Jul 7, 2009
    Messages:
    218
    Likes Received:
    0
    Why not just modify WorldBuilder?
     
  14. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Well, I do need the programming practise: since Ag posted the source code, I might try that. (And adding '1337 C# programmer with many many hours experience!' to the resume doesn't hurt).

    Using the Python string things did nothing, btw.

    EDIT: And assuming I can't do this, which is a healthy starting point, Gaear's backslash idea looks fine to me.
     
  15. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    The job is done, with forward slashes. But...now I see on the interweb that not everyone gets forward slashes (/) with the same key. Some may get exclamation points, which would look ridiculous.

    What is a universal symbol that we could use to break up the text? Semi-colons would look confusing, since a lot of the descriptions use colons (e.g. Damage: 1d6). I'm skeptical of the bullet, since it's a special character that isn't even on most keyboards.

    So ... pound (#)? Asterisk (*)? Dash (-)? What?
     
Our Host!