VTML: Difference between revisions

From Vintage Story Wiki
1,304 bytes added ,  2 months ago
Add builtin SVG icons
(Add missing waypoint icons)
(Add builtin SVG icons)
Line 106: Line 106:
*'''<nowiki><icon name=wpX></icon></nowiki>'''<br>Adds an icon of an X
*'''<nowiki><icon name=wpX></icon></nowiki>'''<br>Adds an icon of an X
*'''<nowiki><icon name=wpCross></icon></nowiki>'''<br>Adds an icon of a cross
*'''<nowiki><icon name=wpCross></icon></nowiki>'''<br>Adds an icon of a cross
====Builtin SVG Icons====
These icons are included in the base game. Additional SVG icons can be added by mods by placing them in the textures folder. By default the icons are rendered very small. So the example image on the side uses font size 30 for the icons and font size 16 for the names.
[[File:Icons builtin svg.png|500px|thumb|right]]
*'''<nowiki><icon path="icons/excla.svg"></icon></nowiki>'''<br>Exclamation mark
*'''<nowiki><icon path="icons/warning.svg"></icon></nowiki>'''<br>Warning
*'''<nowiki><icon path="icons/checkmark.svg"></icon></nowiki>'''<br>Checkmark
*'''<nowiki><icon path="icons/heatmap.svg"></icon></nowiki>'''<br>Contour map
*'''<nowiki><icon path="icons/rocks.svg"></icon></nowiki>'''<br>Rocks
*'''<nowiki><icon path="icons/scytheremove.svg"></icon></nowiki>'''<br>Completely remove grass block with scythe
*'''<nowiki><icon path="icons/scythetrim.svg"></icon></nowiki>'''<br>Trim the top of the grass block with scythe
*'''<nowiki><icon path="icons/character/armor-body.svg"></icon></nowiki>'''<br>Chest plate
*'''<nowiki><icon path="icons/character/armor-helmet.svg"></icon></nowiki>'''<br>Helmet
*'''<nowiki><icon path="icons/character/armor-legs.svg"></icon></nowiki>'''<br>Boots
*'''<nowiki><icon path="icons/worldedit/chiselbrush.svg"></icon></nowiki>'''<br>Chisel


</translate>
</translate>
{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
{{Game navbox}}
{{Game navbox}}
Confirmedusers
261

edits