Yun-Seo1 / Open-World

"Open World" submod for Monika After Story
14 stars 4 forks source link

thanks [Player]! >:D #3

Open MrPhaze62 opened 1 year ago

MrPhaze62 commented 1 year ago

image

i dun thonk this belongs there. nyeheh.

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

Yun-Seo1 commented 1 year ago

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

zer0fixer commented 1 year ago

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 commented 1 year ago

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