removing 'dev build' notif and recipe print on non devmode

This commit is contained in:
minjaesong
2023-10-05 01:06:49 +09:00
parent 3d34363525
commit fefa8c78f9
2 changed files with 9 additions and 7 deletions

View File

@@ -343,7 +343,7 @@ object TerrarumPostProcessor : Disposable {
private val currentResStr = "${App.scr.width}x${App.scr.height}"
private val safeAreaStr = "TV Safe Area"
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.

View File

@@ -42,12 +42,14 @@ class EntryPoint : ModuleEntryPoint() {
ModMgr.GameLanguageLoader.invoke(moduleName)
ModMgr.GameCraftingRecipeLoader.invoke(moduleName)
println("Crafting Recipes: ")
CraftingRecipeCodex.props.forEach { item, recipes ->
println("$item ->")
recipes.forEach {
print(" ")
println(it)
if (App.IS_DEVELOPMENT_BUILD) {
println("[EntryPoint] Crafting Recipes: ")
CraftingRecipeCodex.props.forEach { item, recipes ->
println("[EntryPoint] $item ->")
recipes.forEach {
print(" ")
println(it)
}
}
}