Rich text: Difference between revisions
Jump to navigation
Jump to search
Phoenix27833 (talk | contribs) (first draft) |
(No difference)
|
Revision as of 16:15, 12 March 2019
Rich text formatting introduced in 0.17.0 allows the use of tags within most of the game's textboxes to change the visual formatting of text or to embed interactable images/entities. Predefined text tags are employed for this purpose.
Text modifiers
The color and font of text can be changed
Syntax | Example Input | Example Result | Description |
---|---|---|---|
[color=rgb]...[/color]
|
[color=red]Red[/color] text
|
Red text | rgb is a comma separated RGB color ranging from 0 to 1, or an English color name
|
[font=font-name]...[/font]
|
[font=default-bold]Bold text
|
Bold text | font-name is the name of the factorio font to render
|
Tags
Tags are useful for sharing blueprints, marking map locations in chat or adding icons to map markers and train stations. Ctrl+alt clicking the map or ground will automatically insert a gps tag and post it into chat.
Shift clicking most things with the console open will insert a tag for that thing into chat.