mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-06 08:38:30 +09:00
removing 'dev build' notif and recipe print on non devmode
This commit is contained in:
@@ -343,7 +343,7 @@ object TerrarumPostProcessor : Disposable {
|
|||||||
private val currentResStr = "${App.scr.width}x${App.scr.height}"
|
private val currentResStr = "${App.scr.width}x${App.scr.height}"
|
||||||
private val safeAreaStr = "TV Safe Area"
|
private val safeAreaStr = "TV Safe Area"
|
||||||
private val versionStr = "Version ${App.getVERSION_STRING()}"
|
private val versionStr = "Version ${App.getVERSION_STRING()}"
|
||||||
internal val thisIsDebugStr = "${App.GAME_NAME} Development Build $versionStr"
|
internal val thisIsDebugStr = "${App.GAME_NAME} ${if (App.IS_DEVELOPMENT_BUILD) "Development Build" else "Release"} $versionStr"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Camera will be moved so that (newX, newY) would be sit on the top-left edge.
|
* Camera will be moved so that (newX, newY) would be sit on the top-left edge.
|
||||||
|
|||||||
@@ -42,12 +42,14 @@ class EntryPoint : ModuleEntryPoint() {
|
|||||||
ModMgr.GameLanguageLoader.invoke(moduleName)
|
ModMgr.GameLanguageLoader.invoke(moduleName)
|
||||||
ModMgr.GameCraftingRecipeLoader.invoke(moduleName)
|
ModMgr.GameCraftingRecipeLoader.invoke(moduleName)
|
||||||
|
|
||||||
println("Crafting Recipes: ")
|
if (App.IS_DEVELOPMENT_BUILD) {
|
||||||
CraftingRecipeCodex.props.forEach { item, recipes ->
|
println("[EntryPoint] Crafting Recipes: ")
|
||||||
println("$item ->")
|
CraftingRecipeCodex.props.forEach { item, recipes ->
|
||||||
recipes.forEach {
|
println("[EntryPoint] $item ->")
|
||||||
print(" ")
|
recipes.forEach {
|
||||||
println(it)
|
print(" ")
|
||||||
|
println(it)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user