Код
screen mainquestpage():
imagemap:
ground "first quest page.png"
hotspot (1070, 526, 202, 169) action Hide("mainquestpage")
vbox xpos 100 ypos 100 spacing 30:
if activequests[0] == 1 and questcomp1 == False:
text "[questname1]" color '#000000' size 18
text "[questdesc1]" color '#000000' size 18
elif questcomp1:
text "[questname1] was completed." color '#000000' size 18
imagemap:
ground "first quest page.png"
hotspot (1070, 526, 202, 169) action Hide("mainquestpage")
vbox xpos 100 ypos 100 spacing 30:
if activequests[0] == 1 and questcomp1 == False:
text "[questname1]" color '#000000' size 18
text "[questdesc1]" color '#000000' size 18
elif questcomp1:
text "[questname1] was completed." color '#000000' size 18
Это экран. А вот quests.rpy:
Код
# list of all active quests
define activequests = [ None ]
# quest 1
define questname1 = "Helping Part One."
define questdesc1 = "Fetch a ball."
define questcomp1 = False
define activequests = [ None ]
# quest 1
define questname1 = "Helping Part One."
define questdesc1 = "Fetch a ball."
define questcomp1 = False