added sussy easter egg in about tab

This commit is contained in:
Looki2000 2023-02-23 02:26:22 +01:00
parent 896efb84bd
commit 1aab983730

View File

@ -171,6 +171,15 @@ return {
core.colorize("#ffdd33", fgettext("Previous Contributors"))
})
prepare_credits(credit_list, previous_contributors)
-- SUS
local excamation_marks_count = math.random(1, 40)
table.insert_all(credit_list, {
"",
"",
core.colorize("#f00", fgettext("AMOGUS IS SUS" .. string.rep("!", excamation_marks_count)))
})
local credit_fs, scroll_height = build_hacky_list(credit_list)
-- account for the visible portion
scroll_height = math.max(0, scroll_height - 6.9)