Skip to content
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

[Feature request] Lua: define wesnoth.game_config's mp difficulty_define for singleplayer too #4077

Open
WhiteWolf424242 opened this issue May 14, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@WhiteWolf424242
Copy link

commented May 14, 2019

Currently in Lua's wesnoth.game_config the chosen difficulty is only available under mp_settings as difficulty_define. mattsc assured me this is probably an oversight, and it should be defined for single player use as well.

(Wiki: https://wiki.wesnoth.org/LuaWML/Misc#wesnoth.game_config)

@gfgtdf

This comment has been minimized.

Copy link
Contributor

commented May 15, 2019

There are afaik multiple mp_settings properties that also make sense on do for example since so also allows mods now.

@jostephd

This comment has been minimized.

Copy link
Member

commented May 15, 2019

I suppose we could expose the list of defined preprocessor macros, but I don't think game_config is the right place for that, it's a mix of configuration settings that UMC needs to know (recall cost) and that UMC has no business knowing (list of servers, which may include private servers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.