Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Advanced Rooms

Rarisma edited this page Nov 1, 2020 · 2 revisions

You can do more with rooms than just display text

Variables

a variable can hold data, currently this can be a Boolean value (True or False) or a string of text

Setting a variable

To set a variable create a file in the room called VarSet.txt

VarSet Formatting guide can be found here https://imgur.com/a/hWopjAq

It is important to note that variables are capped at 10000

Checking a Variable

VarCheck.txt let's the user check a variable and if the check passes they can add an extra option

VarCheck.txt formatting guide can be found here https://imgur.com/a/H5spZ1r

Changing chapters

The chapter can be changed by adding a file called ChapterChange.txt, if this file is present in a room you do not need O.txt L.txt or T.txt and if they are present they will be ignored.

All that needs to be done is put the name of the chapter folder you wish to change to on the first line