Making your own Quirks

Making your own Quirks:

The quirks are stored in a YAML configuration file in the minequirk folder. It's essentially a list of each character implemented by name, then the regular expressions to match, then the characters to replace.

Example quirk list:

(Quirk formatting has not been finalized; this subject may be changed.)

rules:
    eridan:
        [w]:
            - ww
        [v]:
            - vv

Adding your own quirks:

For instance, let's say we wanted to add a dude who doubles the last letter:

rules:
    nearlynonexistent:
        (.)$:
            - \1\1

It is important to remember that internally all of the quirk names need to be lowercase.

Back


Comments

Posts Quoted:
Reply
Clear All Quotes