31 lines
710 B
Plaintext
31 lines
710 B
Plaintext
|
|
## Input screen ################################################################
|
|
##
|
|
## This screen is used to display renpy.input. The prompt parameter is used to
|
|
## pass a text prompt in.
|
|
##
|
|
## This screen must create an input displayable with id "input" to accept the
|
|
## various input parameters.
|
|
##
|
|
## https://www.renpy.org/doc/html/screen_special.html#input
|
|
|
|
screen input(prompt):
|
|
style_prefix "input"
|
|
|
|
window:
|
|
# This makes the background the same as the ADV dialogue box
|
|
|
|
vbox:
|
|
xanchor 0.0 ypos 20 spacing 10
|
|
text prompt style "input_prompt"
|
|
input id "input"
|
|
|
|
style input_prompt:
|
|
xalign 0.0
|
|
|
|
style input:
|
|
xalign 0.0
|
|
xmaximum 1116
|
|
|
|
|