-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add mapgen descriptions #16237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add mapgen descriptions #16237
Conversation
retval = retval .. | ||
"label[0,2;" .. fgettext("Mapgen") .. "]".. | ||
"dropdown[0,2.5;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]".. | ||
"textarea[0.5,3.2;6,2;;;" .. mapgens_descriptions[current_mg] .. "]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so the dropdown will disappear if for some reason there is no description, why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ this is still unresolved?
fractal = fgettext("Wold with fractal structure."), | ||
singlenode = fgettext("Empty world, use for lua defined mapgens."), | ||
v6 = fgettext("Simple mapgen with few features, not recommended."), | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: none of these are full sentences so there should be no full stop at the end
Co-authored-by: sfan5 <[email protected]>
Co-authored-by: sfan5 <[email protected]>
Co-authored-by: sfan5 <[email protected]>
Co-authored-by: sfan5 <[email protected]>
flat = fgettext("Flat world terrain"), | ||
fractal = fgettext("World with a fractal structure"), | ||
singlenode = fgettext("Empty world, commonly used for Lua-defined mapgens"), | ||
v6 = fgettext("Simple mapgen with few features"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What "new" features? A few words would be good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're refering to V6. It says few features.
Adds mapgen description when creating a world. Closes #1033
To do
Ready for Review.
How to test
Pull, compile, create world in desired game, observe descriptions.