|
@@ -8501,16 +8501,20 @@ return {
|
|
{
|
|
{
|
|
name = "setIdentity",
|
|
name = "setIdentity",
|
|
summary = "Set the name of the save directory.",
|
|
summary = "Set the name of the save directory.",
|
|
- description = "Set the name of the save directory.",
|
|
|
|
|
|
+ description = "Set the name of the save directory. This function can only be called once and is called automatically at startup, so this function normally isn't called manually. However, the identity can be changed by setting the `t.identity` option in `lovr.conf`.",
|
|
key = "lovr.filesystem.setIdentity",
|
|
key = "lovr.filesystem.setIdentity",
|
|
module = "lovr.filesystem",
|
|
module = "lovr.filesystem",
|
|
|
|
+ related = {
|
|
|
|
+ "lovr.conf",
|
|
|
|
+ "lovr.filesystem.getSaveDirectory"
|
|
|
|
+ },
|
|
variants = {
|
|
variants = {
|
|
{
|
|
{
|
|
arguments = {
|
|
arguments = {
|
|
{
|
|
{
|
|
name = "identity",
|
|
name = "identity",
|
|
type = "string",
|
|
type = "string",
|
|
- description = "The new name of the save directory."
|
|
|
|
|
|
+ description = "The name of the save directory."
|
|
}
|
|
}
|
|
},
|
|
},
|
|
returns = {}
|
|
returns = {}
|