RespawnDialog.gd 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. extends WindowPanel
  2. @onready var respawnLabel : Label = $Margin/VBoxContainer/Label
  3. @onready var respawnButton : Button = $Margin/VBoxContainer/Respawn
  4. var deathMessages: PackedStringArray = [
  5. # TMW dead messages
  6. "You are dead.",
  7. "We regret to inform you that your character was killed in battle.",
  8. "You are not that alive anymore.",
  9. "Game Over!",
  10. "Insert coin to continue.",
  11. "No, kids. Your character did not really die. It... err... went to a better place.",
  12. "You've outlived your usefulness. Mommy now wants you to help with supper.",
  13. "I guess this did not run too well.",
  14. "You are no more.",
  15. "You have ceased to be.",
  16. "You've expired and gone to meet your maker.",
  17. "You're a stiff.",
  18. "Bereft of life, you rest in peace.",
  19. "If you weren't so animated, you'd be pushing up the daisies.",
  20. "You're off the twig.",
  21. "You've kicked the bucket.",
  22. "You are an ex-player.",
  23. "Right now, you would just love to be resurrected.",
  24. "Wait, did I just die?",
  25. "What just happened?",
  26. "I guess you're not the One.",
  27. "See you in the underworld.",
  28. "Try again.",
  29. "Don't panic, you're just a bit dead.",
  30. "It's a bit late to start digging your grave, don't you think?",
  31. "Program terminated.",
  32. "Mission failed.",
  33. "Do you want your possessions identified?", # NetHack reference.
  34. "Sadly, no trace of you was ever found...", # Secret of Mana reference.
  35. "Annihilated.", # Final Fantasy VI reference.
  36. "Looks like you got your head handed to you.", # Earthbound reference.
  37. "You screwed up again, dump your body down the tubes and get you another one.", # Leisure Suit Larry 1 reference.
  38. "You're not dead yet. You're just resting.", # Monty Python reference.
  39. "Everybody falls the first time.", # The Matrix reference.
  40. "Welcome... to the real world.", # The Matrix reference.
  41. "Fate, it seems, is not without a sense of irony.", # The Matrix reference.
  42. "There is no spoon.", # The Matrix reference.
  43. "One shot, one kill.", # Call of Duty reference.
  44. "Some men just want to watch the world burn.", # The Dark Knight reference.
  45. "You are fulfilling your destiny.", # Star Wars, Darth Sidious reference.
  46. "Rule #8: Do not die.",
  47. "There will be no order, only chaos.", # Pi reference.
  48. "Too bad, get over it.",
  49. "There's no hope for us here, only death.", # The Fountain reference.
  50. "Death is the road to awe.", # The Fountain reference.
  51. "Stop... Stop it!", # The Fountain reference.
  52. "Today is a good day to die.", # Klingons.
  53. "Any last words? Oops, too late!",
  54. "Confusion will be my epitaph.", # King Crimson reference.
  55. # TMW2 custom dead messages
  56. "KO",
  57. "GG",
  58. "Better luck next time.",
  59. "Everything is a dream.",
  60. "Oh dear, the RNG is angry with you again.",
  61. "Well... That happens, I guess.",
  62. "That is just part of life-- err, death, I mean.",
  63. "Are you enjoying lying on the ground?",
  64. "Today is not your lucky day, it seems.",
  65. "Dead already? But you were so young...",
  66. "Next time, say thanks when you get off the bus.",
  67. "Walk towards the light.",
  68. "And thus, you return to dust; Fulfilling the prophecy.",
  69. "Do you want your noob certificate now or later?",
  70. "One Tap.", # CSGO reference.
  71. "Wasted", # GTA reference.
  72. "Critical Existence Failure.", # TVTropes
  73. "If you see an elevator, be sure to push the up button.", # TMW, sightly modified (if you die in -> if you see an)
  74. "Well, that healing item was too awesome to use, anyway...", # TVTropes reference
  75. "Hey hey, I wasn't done yet!", # The 'hey hey' is often spoken by Saulc
  76. "Why you bully me!", # CSGO S1mple twitch clip
  77. "The cake is a lie.", # Portal
  78. "It is good day to be not dead!", # TF2 SMF Meme https://www.youtube.com/watch?v=oiuyhxp4w9I&ab_channel=AntoineDelak
  79. "Well poop. Let's try not dying next time.", # WarZone 2100 #memes
  80. "Outgunned.", # Operation Black Mesa
  81. "If I try to get away, how long until I'm free? And if I don't come back here, will anyone remember me?", # Mana Source
  82. ]
  83. #
  84. func _on_visibility_changed():
  85. if respawnLabel and visible:
  86. respawnLabel.text = deathMessages[randi() % deathMessages.size()]
  87. Center()
  88. respawnButton.grab_focus.call_deferred()
  89. func _on_respawn_pressed():
  90. Network.TriggerRespawn()
  91. visible = false