Skip to content

rich text symbols sometimes not working and puts newline before other newlines #138

Description

@Beadlm

Describe the Bug

Image

the newline cutoff is closer to the left since the multi character symbol is only 1 space long, idk if u can fix this but yeah it makes quest not really readable

Image

this special character is written correctly on my IDE but doesn't appear on the quest because it's being cut off by the newline character

Reproduction Steps

  1. install questlog and hexcasting (or any mod with text based symbols like figura emojis)
  2. make a quest with a sentence that contains a hexcasting pattern (such as "")
  3. look at quest
{
    "title" : "Hexcasting Mechanics",
    "description"  : "Hexcasting is a very complicated mod family, It's okay if you don't understand it all right now. \n# PATTERNS \na pattern is a \"symbol\" you can write with your staff (press right click). each symbol has an effect, \n<sw qaq> puts an iota of yourself in the stack for instance\n Some patterns require you to have certain iotas in the stack like <e aawaawaa>           that needs a number THEN a position to explode, the order of them is very important but it is easy to manipulate a stack to get the right ones.\n\n# THE STACK \nthe stack in your spellcasting window (top left when casting) is your storage of iotas, an iota is \"just\" a value, it can represent a position, a number, an entity... all sorts of things \n the stack works in what we call a First In Last Out (FILO) paradigm, meaning if you have 2 iotas in the stack and cast a pattern that would use one, it will select the last one you cast (so the top-most one) and ignore the other.\nthe notebook, however shows you the order in \"reverse\", as in <e aawaawaa> asks for a vector and a number, but in the stack, the vector must be below the number (it will make sense with practice) \n\n# HEXES \na hex can be any sequence of correct patterns. \n for instance : <sw qaq> <sw aa> <se aqaaw> <e aawaawaa> is a hex that Will make something explode at the area you were in when you casted the second pattern",
    "chapter": "hexcasting",
    "requirements":  [
        {
        "type" : "questlog:quest_complete",
        "quest" : "questlog:h001_make_wandbook"
    }
    ]
}

Expected Result

the newline cutoff is in the same area as the

Screenshots and Videos

Image Image

Game Version

1.20.1

Mod Version

2.3.0

Mod Loader

Fabric

Loader Version

No response

Other Mods / Modpack

hexcasting

full modpack @ https://modrinth.com/modpack/sloppyrpg

Additional Context

none?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingincompatabilitySomething has gone wrong due to an interaction with another modquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions