Skip to content

Component

toxicity188 edited this page Sep 2, 2023 · 4 revisions

This docs will teach you how to write the text of dialog, quest, and etc.

Color

test-dialog-1:
  talk:
    - <color:yellow>Hello world!

1
you can use named text color by using <color:name of color> pattern.

test-dialog-1:
  talk:
    - <color:#FFD800>Hello world!

2
you also can use hex color by using <color:#hex(six char)> pattern.

Decoration

test-dialog-1:
  talk:
    - <decoration:bold,italic>Hello world!

4
you can decorate your text like bold, italic, underline, and etc by using <decoration:dec1,dec2> pattern.

Gradient

3
you can use gradient color by using <gradient:color-color> pattern.

Space

test-dialog-1:
  talk:
    - Hello <space:100>world!

2023-08-25_18 43 34
you can use space font by using <space:pixel> pattern.

Font

you can use your custom font by using <font:font key> pattern.

Icon

13
First, to use icon, you have to bring your icon.
14
Second, put your icon to QuestAdder/resources/fonts folder.

test-dialog-1:
  talk:
    - Hello <image:scroll>world!

16
Third, use <image:name of file without extension> pattern.

Clone this wiki locally