Exemple #1
0
def _Setup () -> None:
	global PrintNamesCommand, ShowDialogCommand, ShowListCommand

	commandPrefix = This.Mod.Namespace.lower() + ".settings"

	PrintNamesCommand = Command.ConsoleCommand(_PrintNames, commandPrefix + ".print_names", showHelp = True)
	ShowDialogCommand = Command.ConsoleCommand(_ShowDialog, commandPrefix + ".show_dialog", showHelp = True, helpInput = "{ setting name }")
	ShowListCommand = Command.ConsoleCommand(_ShowList, commandPrefix + ".show_list", showHelp = True)
Exemple #2
0
def _Setup () -> None:
	global SupportNeonOceanCommand, VisitNeonOceanSiteCommand

	commandPrefix = This.Mod.Namespace.lower() + ".global"  # type: str

	# noinspection SpellCheckingInspection
	SupportNeonOceanCommand = Command.ConsoleCommand(_SupportNeonOcean, commandPrefix + ".support_neonocean")
	# noinspection SpellCheckingInspection
	VisitNeonOceanSiteCommand = Command.ConsoleCommand(_VisitNeonOceanSite, commandPrefix + ".visit_neonocean_site")
Exemple #3
0
def _Setup() -> None:
    global AboutModCommand, DocumentationCommand, ResetCommand, VisitModPageCommand

    commandPrefix = This.Mod.Namespace.lower() + ".standard"  # type: str

    AboutModCommand = Command.ConsoleCommand(_AboutMod,
                                             commandPrefix + ".about_mod")
    DocumentationCommand = Command.ConsoleCommand(
        _Documentation, commandPrefix + ".documentation")
    ResetCommand = Command.ConsoleCommand(_Reset, commandPrefix + ".reset")
    VisitModPageCommand = Command.ConsoleCommand(
        _VisitModPage, commandPrefix + ".visit_mod_page")
Exemple #4
0
def _Setup() -> None:
    global ShowTestResultsCommand

    commandPrefix = This.Mod.Namespace.lower() + ".pregnancy_test"  # type: str

    ShowTestResultsCommand = Command.ConsoleCommand(
        _ShowTestResults, commandPrefix + ".show_test_results")
Exemple #5
0
def _Setup() -> None:
    global AddSpermCommand, ClearSpermCommand, AddOvumCommand, ClearOvaCommand

    commandPrefix = This.Mod.Namespace.lower()  # type: str

    AddSpermCommand = Command.ConsoleCommand(_AddSperm,
                                             commandPrefix + ".add_sperm",
                                             showHelp=False)
    ClearSpermCommand = Command.ConsoleCommand(_ClearSperm,
                                               commandPrefix + ".clear_sperm",
                                               showHelp=False)
    AddOvumCommand = Command.ConsoleCommand(_AddOvum,
                                            commandPrefix + ".add_ovum",
                                            showHelp=False)
    ClearOvaCommand = Command.ConsoleCommand(_ClearOva,
                                             commandPrefix + ".clear_ova",
                                             showHelp=False)
Exemple #6
0
def _Setup() -> None:
    global AddUnpackedWickedWhimsCondomsCommand

    commandPrefix = This.Mod.Namespace.lower() + ".condom_box"  # type: str

    AddUnpackedWickedWhimsCondomsCommand = Command.ConsoleCommand(
        _AddUnpackedWickedWhimsCondoms,
        commandPrefix + ".add_unpacked_wicked_whims_condoms")
def _Setup() -> None:
    global TakePillCommand

    commandPrefix = This.Mod.Namespace.lower(
    ) + ".birth_control_pills"  # type: str

    TakePillCommand = Command.ConsoleCommand(_TakePill,
                                             commandPrefix + ".take_pill")
Exemple #8
0
def _Setup() -> None:
    global ShowReproductiveInfoCommand, ShowSetCycleProgressDialogCommand, MakePregnantCommand, EndPregnancyCommand, ShowSetPregnancyProgressDialogCommand, FixDotCycleCommand

    commandPrefix = This.Mod.Namespace.lower() + ".debug"  # type: str

    ShowReproductiveInfoCommand = Command.ConsoleCommand(
        _ShowReproductiveInfo,
        commandPrefix + ".show_reproductive_info",
        showHelp=False)
    ShowSetCycleProgressDialogCommand = Command.ConsoleCommand(
        _ShowSetCycleProgressDialog,
        commandPrefix + ".show_set_cycle_progress_dialog",
        showHelp=False)
    MakePregnantCommand = Command.ConsoleCommand(_MakePregnant,
                                                 commandPrefix +
                                                 ".make_pregnant",
                                                 showHelp=False)
    EndPregnancyCommand = Command.ConsoleCommand(_EndPregnancy,
                                                 commandPrefix +
                                                 ".end_pregnancy",
                                                 showHelp=False)
    ShowSetPregnancyProgressDialogCommand = Command.ConsoleCommand(
        _ShowSetPregnancyProgressDialog,
        commandPrefix + ".show_set_pregnancy_progress_dialog",
        showHelp=False)
    FixDotCycleCommand = Command.ConsoleCommand(_FixDotCycle,
                                                commandPrefix +
                                                ".fix_dot_cycle",
                                                showHelp=False)
Exemple #9
0
def _Setup() -> None:
    global \
     EnableCommand, \
     DisableCommand, \
     EnableFertilityNotificationsCommand, \
     DisableFertilityNotificationsCommand, \
     ShowFertilityNotificationsEnabledNotificationCommand, \
     ShowStatusNotificationCommand

    commandPrefix = This.Mod.Namespace.lower() + ".dot"  # type: str
    EnableCommand = Command.ConsoleCommand(_Enable, commandPrefix + ".enable")
    DisableCommand = Command.ConsoleCommand(_Disable,
                                            commandPrefix + ".disable")
    EnableFertilityNotificationsCommand = Command.ConsoleCommand(
        _EnableFertilityNotifications,
        commandPrefix + ".enable_fertility_notifications")
    DisableFertilityNotificationsCommand = Command.ConsoleCommand(
        _DisableFertilityNotifications,
        commandPrefix + ".disable_fertility_notifications")
    ShowFertilityNotificationsEnabledNotificationCommand = Command.ConsoleCommand(
        _ShowFertilityNotificationsEnabledNotification,
        commandPrefix + ".show_fertility_notifications_enabled_notification")
    ShowStatusNotificationCommand = Command.ConsoleCommand(
        _ShowStatusNotification, commandPrefix + ".show_status_notification")
Exemple #10
0
def _Setup() -> None:
    global ResetCommand

    commandPrefix = This.Mod.Namespace.lower()

    ResetCommand = Command.ConsoleCommand(_Reset, commandPrefix + ".reset")
Exemple #11
0
def _Setup () -> None:
	global TakePillCommand

	commandPrefix = This.Mod.Namespace.lower() + ".emergency_contraceptive_pill"  # type: str

	TakePillCommand = Command.ConsoleCommand(_TakePill, commandPrefix + ".take_pill")