rob_opr_base.end_game_lose =
   'formspec_version[6]'..
   'size[32,18]'..
   'no_prepend[]'..
   'bgcolor[#000000;both;#000000]'..
   'hypertext[2,10;28,5;;<center><style color=red size=40>The security drones neutralized you.\n'..
   'Next time keep a vigilant eye for the assassin drones.</center>]'..
   'button_exit[14,17;4,1;exit;Exit]'

rob_opr_base.end_game_quit =
   'formspec_version[6]'..
   'size[32,18]'..
   'no_prepend[]'..
   'bgcolor[#000000;both;#000000]'..
   'hypertext[2,10;28,5;;<center><style color=red size=40>Coward, a little stress and you go running to mommy.\n'..
   'I never want to see you again, unless you\'re turning in your letter of resignation.</center>]'..
   'button_exit[14,17;4,1;exit;Exit]'

rob_opr_base.end_game_win =
   'formspec_version[6]'..
   'size[32,18]'..
   'no_prepend[]'..
   'bgcolor[#000000;both;#000000]'..
   'hypertext[2,10;28,5;;<center><style color=aqua size=40>Nice work, you managed to retrieve the package\n'..
   'I look forward to working with you again.</center>]'..
   'button_exit[14,17;4,1;exit;Exit]'

minetest.register_on_player_receive_fields(function(player, formname, fields)
   if formname == 'end_screen' then
      local name = player:get_player_name()
      minetest.disconnect_player(name, 'Game Over... (There is no good way to exit a game, save this....)')
   end
end
)
