- "button[5,5.5;2.6,0.5;world_create_confirm;" .. fgettext("Create") .. "]" ..
- "button[7.5,5.5;2.8,0.5;world_create_cancel;" .. fgettext("Cancel") .. "]"
+ "button[3.25,6;2.5,0.5;world_create_confirm;" .. fgettext("Create") .. "]" ..
+ "button[5.75,6;2.5,0.5;world_create_cancel;" .. fgettext("Cancel") .. "]"
+
+ if #gamemgr.games == 0 then
+ retval = retval .. "box[2,4;8,1;#ff8800]label[2.25,4;" ..
+ fgettext("You have no subgames installed.") .. "]label[2.25,4.4;" ..
+ fgettext("Download one from minetest.net") .. "]"
+ elseif #gamemgr.games == 1 and gamemgr.games[1].id == "minimal" then
+ retval = retval .. "box[1.75,4;8.7,1;#ff8800]label[2,4;" ..
+ fgettext("Warning: The minimal development test is meant for developers.") .. "]label[2,4.4;" ..
+ fgettext("Download a subgame, such as minetest_game, from minetest.net") .. "]"
+ end