mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
Former-commit-id: 17dc75ada5a6652fa555c3a34214704897ca9afe Former-commit-id: 75ddbe0187f978958cc5c1208a0cfb85bfdcdfaf
20 lines
543 B
Kotlin
20 lines
543 B
Kotlin
package net.torvald.terrarum
|
|
|
|
import com.google.gson.JsonObject
|
|
|
|
/**
|
|
* Created by minjaesong on 16-03-12.
|
|
*/
|
|
object DefaultConfig {
|
|
fun fetch(): JsonObject {
|
|
val jsonObject = JsonObject()
|
|
|
|
jsonObject.addProperty("smoothlighting", true)
|
|
jsonObject.addProperty("imtooyoungtodie", false)
|
|
jsonObject.addProperty("language", Terrarum.sysLang)
|
|
jsonObject.addProperty("notificationshowuptime", 6500)
|
|
jsonObject.addProperty("multithread", false) // experimental!
|
|
|
|
return jsonObject
|
|
}
|
|
} |