Skip to content

Commit 8783af2

Browse files
committed
ASCII icon on start
1 parent 7848441 commit 8783af2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

common/src/main/kotlin/com/lambda/core/Loader.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import com.lambda.command.CommandManager
66
import com.lambda.interaction.PlayerPacketManager
77
import com.lambda.interaction.RotationManager
88
import com.lambda.module.ModuleRegistry
9+
import com.lambda.util.Communication.ascii
910
import kotlin.system.measureTimeMillis
1011

1112
object Loader {
@@ -17,6 +18,7 @@ object Loader {
1718
)
1819

1920
fun initialize() {
21+
ascii.split("\n").forEach { LOG.info(it) }
2022
LOG.info("Initializing ${Lambda.MOD_NAME} ${Lambda.VERSION}")
2123

2224
val initTime = measureTimeMillis {

common/src/main/kotlin/com/lambda/util/Communication.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ import net.minecraft.client.toast.SystemToast
99
import net.minecraft.text.Text
1010

1111
object Communication {
12+
val ascii = """
13+
⣰⡛⠶⣄⠀⠀⠀⠀⠀⠀
14+
⠑⠭⣛⡜⣳⡀⠀⠀⠀⠀
15+
⠀⠀⠹⣾⣥⣛⡄⠀⠀⠀
16+
⠀⠀⢠⣿⢯⣷⣻⡄⠀⠀
17+
⠀⢠⣿⣿⣿⢶⣏⡿⡄⠀
18+
⢠⣿⣿⡿⠃⠘⣿⣼⣻⣄
19+
⠻⢿⡿⠁⠀⠀⠘⢷⡽⠞
20+
""".trimIndent()
21+
1222
fun Any.debug(message: String, source: String = "") = log(LogLevel.DEBUG.text(message), LogLevel.DEBUG, source)
1323
fun Any.debug(message: Text, source: Text = Text.empty()) = log(message, LogLevel.DEBUG, textSource = source)
1424
fun Any.info(message: String, source: String = "") = log(LogLevel.INFO.text(message), LogLevel.INFO, source)

0 commit comments

Comments
 (0)