NickWildish / Mas-NSFW-Submod

A submod dedicated to bring you and Monika THAT much closer. How close you ask? Like, THIS close 🤏
40 stars 87 forks source link

Feature - Lewd Window Reacts #59

Open TheOneandOnlyDargonite opened 2 years ago

TheOneandOnlyDargonite commented 2 years ago

It's untapped potential considering the content of the mod. Have Monika react in real time to you browsing Pornhub or Rule 34 at 5am yet again!

Though I will admit I don't really have any exact information on what should be reacted to beyond the standard porn websites. Feel free to place any suggestions here!

TreeWizard96 commented 2 years ago

Could make use of config.label_overrides to add more variety to the existing reaction to things like https://www.reddit.com/r/DDLCRule34/ or the rule34 site. Could vary her reaction based on affection. Possibly might be able to check if you're looking up certain tags... e.g. she could gently scold you (teasingly?) for looking up other Dokis.

The current reaction I can find in script-windowreacts.rpy is this. It looks like it can scan the name of the web page for "r34", "rule34", and "monika" among other things. Could be expanded tocover the above. The actual window reaction label then has her comment on it, or occasionally just fire a random expression.

init 5 python:
    addEvent(
        Event(
            persistent._mas_windowreacts_database,
            eventlabel="mas_wrs_r34m",
            category=[r"(?i)(((r34|rule\s?34).*monika)|(post \d+:[\w\s]+monika)|(monika.*(r34|rule\s?34)))"],
            aff_range=(mas_aff.AFFECTIONATE, None),
            rules={
                "notif-group": "Window Reactions",
                "skip alert": None,
                "skip_pause": None
            },
            show_in_idle=True
        ),
        code="WRS"
    )

label mas_wrs_r34m:
    python:
        mas_display_notif(m_name, ["Hey, [player]...what are you looking at?"],'Window Reactions')

        choice = random.randint(1,10)

        if choice == 1 and mas_isMoniNormal(higher=True):
            queueEvent('monika_nsfw')

        elif choice == 2 and mas_isMoniAff(higher=True):
            queueEvent('monika_pleasure')

        else:
            if mas_isMoniEnamored(higher=True):
                if choice < 4:
                    exp_to_force = "1rsbssdlu"
                elif choice < 7:
                    exp_to_force = "2tuu"
                else:
                    exp_to_force = "2ttu"
            else:
                if choice < 4:
                    exp_to_force = "1rksdlc"
                elif choice < 7:
                    exp_to_force = "2rssdlc"
                else:
                    exp_to_force = "2tssdlc"

            mas_moni_idle_disp.force_by_code(exp_to_force, duration=5)
    return

Might throw in a self-indulgent reaction to playing SPNATI, since she's a character in that game too ;)

TreeWizard96 commented 2 years ago

Alright this has been added to the dev branch. Currently she can now react to having "strip poker night at the inventory" and a couple of the most popular porn/hentai sites, e.g. pornhub. Will take suggestions for more in the future.