Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
9bb6648f
Commit
9bb6648f
authored
10 years ago
by
rubenwardy
Committed by
kwolekr
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add notice when only minimal is installed
parent
4a3592ff
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
builtin/mainmenu/dlg_create_world.lua
+10
-0
10 additions, 0 deletions
builtin/mainmenu/dlg_create_world.lua
builtin/mainmenu/gamemgr.lua
+1
-1
1 addition, 1 deletion
builtin/mainmenu/gamemgr.lua
with
11 additions
and
1 deletion
builtin/mainmenu/dlg_create_world.lua
+
10
−
0
View file @
9bb6648f
...
...
@@ -62,6 +62,16 @@ local function create_world_formspec(dialogdata)
"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"
)
..
"]"
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
return
retval
...
...
This diff is collapsed.
Click to expand it.
builtin/mainmenu/gamemgr.lua
+
1
−
1
View file @
9bb6648f
...
...
@@ -68,7 +68,7 @@ end
function
gamemgr
.
gamelist
()
local
retval
=
""
if
#
gamemgr
.
games
>
0
then
retval
=
retval
..
gamemgr
.
games
[
1
].
id
retval
=
retval
..
gamemgr
.
games
[
1
].
name
for
i
=
2
,
#
gamemgr
.
games
,
1
do
retval
=
retval
..
","
..
gamemgr
.
games
[
i
].
name
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment