Mr Kris

Newbie
Aug 4, 2019
45
54
How you did this? Please tell us.
Well, I did it specifically with Kie when she is in the yard but you can add it to any character menu that you would like (I did it with Kie because it would be funny to ask your mom for money XD).

Go to the folder "code" in the game files and there open the file mansion.rpy. Search "label kieYard1Click" and there you will see the menu "kie_yard1_talk" that has various options: "Address me differently", "Talk to her" and "Back". There I added a new option "Give me money" like this:
Code:
"Give me money":
    scene bg yard1 with dissolve
    show kie talk with dissolve
    kie "Sure"
    $ gold += 200
    play sound "audio/get_item.ogg"
    show gold with dissolve
    "+200 yen."
    jump yard1Navigation
(I added some extra code to make it more "realistic" like the sound effect for when you receive money)

The important thing there is the "$ gold += 200". There you can modify the number for how much money you want to receive each time.
At the end you will have something like this:
Code:
label kieYard1Click:
    scene bg yard1
    show kie yard1
    menu kie_yard1_talk:
        "Give me money":
            scene bg yard1 with dissolve
            show kie talk with dissolve
            kie "Sure"
            $ gold += 200
            play sound "audio/get_item.ogg"
            show gold with dissolve
            "+200 yen."
            jump yard1Navigation
        "Address me differently":
            scene bg yard1 with dissolve
            show kie talk with dissolve
            kie "How do you feel better about me calling you?"
            show kie neutral with dissolve
            menu:
                "[mcname]":
                    $ mc_kie = mcname
                    show kie talk with dissolve
                    kie "Sure, no problem, [mc_kie]."
                    show kie neutral with dissolve
                    jump kie_yard1_talk
                "Tanjiro":
                    $ mc_kie = "Tanjiro"
                    show kie happy1 with dissolve
                    kie "Sure, my dear Tanjiro."
                    show kie neutral with dissolve
                    jump kie_yard1_talk
                "Never mind":
                    jump kie_yard1_talk
        "Talk to her":
            scene bg yard1 with dissolve
            show kie neutral with dissolve
            mc "Why are you drying the clothes when there are girls in this mansion who take care of it?"
            show kie talk with dissolve
            kie "Well, I volunteered. I'm not really used to such luxuries like in this mansion."
            kie "Besides, I want to be helpful. I heard that the girls here do what they can since they're not fit to be hunters, so I want to do the same."
            show kie neutral with dissolve
            mc "Ah, I see. If that's the case, I think it's fine."
            show kie happy1 with dissolve
            kie "Um. You don't need to worry, [mcname]. I'm not too old to sit around doing nothing."
            show kie happy with dissolve
            mc "Yes, I didn't mean that."
            show kie happy3 with dissolve
            kie "Hehe, I know."
            show kie happy2 with dissolve
            jump yard1Navigation
        "Back":
            jump yard1Navigation
 

kaiizer

New Member
Sep 12, 2022
4
16
Well, I did it specifically with Kie when she is in the yard but you can add it to any character menu that you would like (I did it with Kie because it would be funny to ask your mom for money XD).

Go to the folder "code" in the game files and there open the file mansion.rpy. Search "label kieYard1Click" and there you will see the menu "kie_yard1_talk" that has various options: "Address me differently", "Talk to her" and "Back". There I added a new option "Give me money" like this:
Code:
"Give me money":
    scene bg yard1 with dissolve
    show kie talk with dissolve
    kie "Sure"
    $ gold += 200
    play sound "audio/get_item.ogg"
    show gold with dissolve
    "+200 yen."
    jump yard1Navigation
(I added some extra code to make it more "realistic" like the sound effect for when you receive money)

The important thing there is the "$ gold += 200". There you can modify the number for how much money you want to receive each time.
At the end you will have something like this:
Code:
label kieYard1Click:
    scene bg yard1
    show kie yard1
    menu kie_yard1_talk:
        "Give me money":
            scene bg yard1 with dissolve
            show kie talk with dissolve
            kie "Sure"
            $ gold += 200
            play sound "audio/get_item.ogg"
            show gold with dissolve
            "+200 yen."
            jump yard1Navigation
        "Address me differently":
            scene bg yard1 with dissolve
            show kie talk with dissolve
            kie "How do you feel better about me calling you?"
            show kie neutral with dissolve
            menu:
                "[mcname]":
                    $ mc_kie = mcname
                    show kie talk with dissolve
                    kie "Sure, no problem, [mc_kie]."
                    show kie neutral with dissolve
                    jump kie_yard1_talk
                "Tanjiro":
                    $ mc_kie = "Tanjiro"
                    show kie happy1 with dissolve
                    kie "Sure, my dear Tanjiro."
                    show kie neutral with dissolve
                    jump kie_yard1_talk
                "Never mind":
                    jump kie_yard1_talk
        "Talk to her":
            scene bg yard1 with dissolve
            show kie neutral with dissolve
            mc "Why are you drying the clothes when there are girls in this mansion who take care of it?"
            show kie talk with dissolve
            kie "Well, I volunteered. I'm not really used to such luxuries like in this mansion."
            kie "Besides, I want to be helpful. I heard that the girls here do what they can since they're not fit to be hunters, so I want to do the same."
            show kie neutral with dissolve
            mc "Ah, I see. If that's the case, I think it's fine."
            show kie happy1 with dissolve
            kie "Um. You don't need to worry, [mcname]. I'm not too old to sit around doing nothing."
            show kie happy with dissolve
            mc "Yes, I didn't mean that."
            show kie happy3 with dissolve
            kie "Hehe, I know."
            show kie happy2 with dissolve
            jump yard1Navigation
        "Back":
            jump yard1Navigation
can u give me ur file pls ?it doesn't work with me i crash when i talk to kie
 
4.10 star(s) 8 Votes