This commit is contained in:
@@ -33,12 +33,22 @@ function EndWindow.draw()
|
|||||||
local cx = Config.screen.width / 2
|
local cx = Config.screen.width / 2
|
||||||
local name = Context.player_name or "AAA"
|
local name = Context.player_name or "AAA"
|
||||||
local code = CodeGenerator.encrypt(name)
|
local code = CodeGenerator.encrypt(name)
|
||||||
Print.text_center("Game over -- good ending.", cx, 40, Config.colors.light_blue)
|
|
||||||
Print.text_center("Congrats " .. name .. "!", cx, 54, Config.colors.white)
|
Print.text_center("~ GOOD ENDING ~", cx, 8, Config.colors.light_blue)
|
||||||
Print.text_center("Your personal code:", cx, 72, Config.colors.light_grey)
|
Print.text_center("Congratulations, " .. name .. "!", cx, 20, Config.colors.white)
|
||||||
Print.text_center(code, cx, 84, Config.colors.white, false, 3)
|
|
||||||
Print.text_center("Write it down!", cx, 112, Config.colors.item)
|
rectb(40, 29, 160, 36, Config.colors.blue)
|
||||||
Print.text_center("Press Z to return to menu", cx, 126, Config.colors.dark_grey)
|
Print.text_center("your code", cx, 33, Config.colors.light_grey)
|
||||||
|
Print.text_center(code, cx, 44, Config.colors.white, false, 2)
|
||||||
|
|
||||||
|
Print.text_center("Write it down!", cx, 70, Config.colors.item)
|
||||||
|
|
||||||
|
line(20, 82, 219, 82, Config.colors.dark_grey)
|
||||||
|
Print.text_center("To continue via telnet:", cx, 87, Config.colors.light_grey)
|
||||||
|
Print.text_center("games.teletype.hu 2324", cx, 98, Config.colors.white)
|
||||||
|
line(20, 110, 219, 110, Config.colors.dark_grey)
|
||||||
|
|
||||||
|
Print.text_center("Press Z to return to menu", cx, 116, Config.colors.dark_grey)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user