The String type, called text, is one of the primitive data types supported by nyan.
text
string : text = "Hello, World!"
Characters of the text type are surrounded by quatation marks (""). Texts can contain non-ASCII characters.
""
Unit(): name : text Spearman(Unit): name = "Spearman"
The text name has the value Spearman.
name
Spearman
Unit(): name : text = "Unit" Archer(Unit): name = "Archer"
Overwrites the old value with a new one.
Spearman(): name = "Spearman" Emphasize<Spearman>(): name += "!"
Appends the given text to the end of another text.
There was an error while loading. Please reload this page.
General
Data Modding
Development