def settings(self):
     return [
         mobase.PluginSetting("enabled",
                              self.__tr("Enable all FNISTool plugins"),
                              True),
         mobase.PluginSetting("fnis-path",
                              self.__tr("Path to GenerateFNISforUsers.exe"),
                              ""),
         mobase.PluginSetting(
             "output-to-mod",
             self.__tr(
                 "Whether or not to direct the FNIS output to a mod folder."
             ), True),
         mobase.PluginSetting(
             "output-path",
             self.__tr(
                 "When output-to-mod is enabled, the path to the mod to use."
             ), ""),
         mobase.PluginSetting(
             "initialised",
             self.__tr(
                 "Settings have been initialised.  Set to False to reinitialise them."
             ), False),
         mobase.PluginSetting(
             "output-logs-to-mod",
             self.__tr(
                 "Whether or not to direct any new FNIS logs to a mod folder."
             ), True),
         mobase.PluginSetting(
             "output-logs-path",
             self.__tr(
                 "When output-logs-to-mod is enabled, the path to the mod to use."
             ), ""),
     ]
Exemple #2
0
 def settings(self):
     return [
         mobase.PluginSetting(
             "log gl errors",
             self.__tr(
                 "If enabled, log OpenGL errors and debug messages. May decrease performance."
             ), False),
         mobase.PluginSetting("background r",
                              self.__tr("Red channel of background colour"),
                              0),
         mobase.PluginSetting(
             "background g",
             self.__tr("Green channel of background colour"), 0),
         mobase.PluginSetting(
             "background b", self.__tr("Blue channel of background colour"),
             0),
         mobase.PluginSetting(
             "background a",
             self.__tr("Alpha channel of background colour"), 0)
     ]
 def settings(self):
     return [
         mobase.PluginSetting("enabled", self.__tr("Enables the plugin"),
                              True),
     ]
 def settings(self):
     return [
       mobase.PluginSetting("enabled", self.__tr("Enable plugin"), False)
       ]
 def settings(self):
     return [
         mobase.PluginSetting("enabled", self.__tr("Enables the plugin"), True),
         mobase.PluginSetting("always_fix", self.__tr("Always quietly fix the registry entry"), True),
         ]