VTML
Эта страница проверялась в последний раз для версии Vintage Story 1.15.
Язык разметки Vintagetext (VTML) — это (очевидно) совершенно новый и высокотехнологичный язык разметки, разработанный для отображения богато отформатированного текста внутри Vintage Story. Определенно не имеет ничего общего со старым и устаревшим стандартом HTML ;-)
Теги
- <br>
Вызывает разрыв строки - <i>text</i>
Делает текст выделенным курсивом - <strong>text</strong>
Делает текст жирным шрифтом - <a href="url">text</a>
Превращает текст в кликабельную ссылку. Вы можете ссылаться на веб-сайты (http://), страницы руководств (handbook://pagecode) или запускать горячие клавиши.(hotkey://code) - <font size="num" color="hexcolor" weight="bold" lineheight="1.2" align="right" opacity="0.5">text</font>
Форматирует текст по заданным свойствам, все свойства являются необязательными
Значки
<icon name="[icon name]"></icon>
Рисует символ, выбранный из списка предопределенных, жестко закодированных символов, который можно использовать при изменении Справочника или любого другого форматированного текста в игре. Эти значки можно масштабировать и окрашивать, добавляя соответствующие команды.
Normal Icons
These icons are not used in the game at the moment, but are still available.
- <icon name=dice></icon>
Adds a dice icon - <icon name=paintbrush></icon>
Adds a paintbrush icon - <icon name=raiselower></icon>
Adds a terraforming icon - <icon name=airbrush></icon>
Adds an airbrush icon - <icon name=erode></icon>
Adds an erosion icon - <br><icon name=move></icon>
Adds an arrow icon - <icon name=import></icon>
Adds an import icon - <icon name=eraser></icon>
Adds an eraser icon - <icon name=growshrink></icon>
Adds a size changing icon - <icon name=line></icon>
Adds a line icon - <br><icon name=lake></icon>
Adds a water icon - <icon name=floodfill></icon>
Adds an overflowing bucket icon - <icon name=tree></icon>
Adds a tree icon - <icon name=undo></icon>
Adds an undo icon - <icon name=redo></icon>
Adds a redo icon - <br><icon name=copy></icon>
Adds a copy icon - <icon name=select></icon>
Adds a select icon - <icon name=repeat></icon>
Adds a repeat icon - <icon name=trousers></icon>
Adds a trouser icon - <icon name=gloves></icon>
Adds a glove icon - <br><icon name=hat></icon>
Adds a hat icon - <icon name=shirt></icon>
Adds a shirt icon - <icon name=boots></icon>
Adds a boot icon - <icon name=basket></icon>
Adds a basket icon - <icon name=cape></icon>
Adds a cape icon - <br><icon name=ring></icon>
Adds a ring icon - <icon name=medal></icon>
Adds a medal icon - <icon name=belt></icon>
Adds a belt icon - <icon name=necklace></icon>
Adds a necklace icon - <icon name=pullover></icon>
Adds a pullover icon - <br><icon name=mask></icon>
Adds a mask icon - <icon name=bracers></icon>
Adds a bracer icon - <icon name=handheld></icon>
Adds an icon of a hand holding a tool - <icon name=left></icon>
Adds an icon of an arrow pointing left - <icon name=right></icon>
Adds an icon of an arrow pointing right - <icon name=offhand></icon>
Adds an icon of a left empty hand - <icon name=leftmousebutton></icon>
Adds an icon of a mouse with highlighted left button - <icon name=rightmousebutton></icon>
Adds an icon of a mouse with highlighted right button
Waypoint Icons
These are the icons that are already used for the waypoints and map images ingame.
- <icon name=wpCross></icon>
Adds an icon of a cross - <icon name=wpBee></icon>
Adds an icon of a bee - <icon name=wpCave></icon>
Adds an icon of a mountain - <icon name=wpHome></icon>
Adds an icon of a house - <icon name=wpLadder></icon>
Adds an icon of a ladder out of a hole - <icon name=wpCircle></icon>
Adds an icon of a circle - <icon name=wpPick></icon>
Adds an icon of a pickaxe - <icon name=wpPlayer></icon>
Adds an icon of the player map marker - <icon name=wpRocks></icon>
Adds an icon of rocks - <icon name=wpRuins></icon>
Adds an icon of a ruin - <icon name=wpSpiral></icon>
Adds an icon of a spiral - <icon name=wpStar1></icon>
Adds an icon of a four point star - <icon name=wpStar2></icon>
Adds an icon of a five point star - <icon name=wpTrader></icon>
Adds an icon of a traders caravan - <icon name=wpVessel></icon>
Adds an icon of a vessel
Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.
Modding | |
---|---|
Modding Introduction | Getting Started • Пакет тем |
Content Modding | Content Mods • Developing a Content Mod • Basic Tutorials • Intermediate Tutorials • Advanced Tutorials • Content Mod Concepts |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |