Skip to content

[Discussion] Make technic use minetest.conf style settings? #659

Open
@DustyBagel

Description

@DustyBagel

Technic has it's own settings system instead of using minetest's own setting system. This can be less than ideal for a few reasons:

  • When you update technic, all the settings are reset instead of being stored in the minetest.conf file.
  • Settings can't be changed in the minetest settings Gui on mobile platforms.

I would really like to move to mintest's settings system. If backwards comparability is desired, we can easily implement it something like this:

if minetest:settings("setting_name") then -- If the setting can't be retrieved or is at its default then this will return nil
    technic_settings_table.setting_name = minetest:settings.get("setting_name")
else
     -- Use default setting.
end

Other mods have had a similar system. I would really like to get started on this when I find the time but first I would like to get the community's thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions