Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

How To Template

ImaMapleTree edited this page Jun 8, 2023 · 4 revisions

Basics

Before we begin, this tutorial assumes a basic understanding of the YAML data format. If you do not know what that is, or wish to brush-up please check out the basic YAML tutorial I wrote here.

What are templates? Templates are pieces of text that the host defines in a "templates" file (more on that later). These pieces of text can then be given a "tag" which enables the host to echo the text in game by referencing the matching tag. Templates make the host's life easier by allowing them to define text for a wide variety of different scenarios, they give a sense of personality to a host's lobby, and their value cannot be overstated.

Getting started Getting started with templates is super easy! First you'll need to navigate to your Among Directory (where Project Lotus is installed). In there you should see a folder called "LOTUS_DATA", open that folder! Next there should be a file called "Templates.yaml", this is the file where all templates are stored. image
Upon opening the file, you should be greeted to two sections; a "Variables" section (indicated by the word "Variables") and a "Templates" section. Depending on if you already had templates from an older version of the game, the "Templates" section may have some entries under it.

Clone this wiki locally