Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thanks [Player]! >:D #3

Open
MrPhaze62 opened this issue Aug 3, 2023 · 3 comments
Open

thanks [Player]! >:D #3

MrPhaze62 opened this issue Aug 3, 2023 · 3 comments

Comments

@MrPhaze62
Copy link

MrPhaze62 commented Aug 3, 2023

image

i dun thonk this belongs there. nyeheh.

happens when you load back into the submod in that open street. heheh

@Yun-Seo1
Copy link
Owner

Yun-Seo1 commented Aug 3, 2023

Those dialogues are randomized, I removed [player] until I can fix it

@zer0fixer
Copy link

You can use the renpy.substitute() function to properly display a variable.

define list = [
         "Hi, [player]",
         "Do you have something interesting to say, [player]?"
         ]

label monika:
    $ m_say = renpy.substitute(renpy.random.choice(list))
    m "[m_say]"
    return

@Yun-Seo1
Copy link
Owner

Yun-Seo1 commented Sep 1, 2023

Thank Fren, I'll be testing it out and close this when I get it right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants