mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
registering gamemode 'survival'
This commit is contained in:
@@ -296,6 +296,13 @@ object VDSaveOrigin {
|
||||
const val IMPORTED = 16
|
||||
}
|
||||
|
||||
object VDSaveMode {
|
||||
operator fun invoke(actorvalue: String?) = when (actorvalue?.lowercase()) {
|
||||
"survival" -> 1
|
||||
else -> 0
|
||||
}
|
||||
}
|
||||
|
||||
object VDFileID {
|
||||
const val ROOT = 0L
|
||||
const val SAVEGAMEINFO = -1L
|
||||
|
||||
Reference in New Issue
Block a user