Skip to content

Commit

Permalink
feat(story): add explore hallway
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Oct 1, 2024
1 parent a09ed50 commit ad1c0ce
Showing 1 changed file with 37 additions and 4 deletions.
41 changes: 37 additions & 4 deletions game/story/inside/hallway.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ label hallway(with_dissolve=True):
jump hallway_lord

"Look around":
$ dialogue = renpy.random.choice(["The skies are clear tonight.", "The moon shines brightly."]) if night else renpy.random.choice(["The skies are clear today.", "The sun shines brightly."])
player "[dialogue]"

call hallway(with_dissolve=False)
call screen explore_hallway

"Go elsewhere":
jump explore_inside_day
Expand Down Expand Up @@ -68,3 +65,39 @@ label hallway_lord:

"Nevermind":
call hallway(with_dissolve=False)

screen explore_hallway():
use back("hallway")

vbox:
for i in range(8):
textbutton "{alpha=0}{noalt}WINDOW":
xpos 90
ypos 210
action Jump("hallway_window")

vbox:
for i in range(8):
textbutton "{alpha=0}{noalt}WINDOW":
xpos 330
ypos 210
action Jump("hallway_window")

vbox:
for i in range(8):
textbutton "{alpha=0}{noalt}WINDOW":
xpos 1410
ypos 210
action Jump("hallway_window")

vbox:
for i in range(8):
textbutton "{alpha=0}{noalt}WINDOW":
xpos 1640
ypos 210
action Jump("hallway_window")

label hallway_window:
$ dialogue = renpy.random.choice(["The skies are clear tonight.", "The moon shines brightly."]) if night else renpy.random.choice(["The skies are clear today.", "The sun shines brightly."])
player "[dialogue]"
call screen explore_hallway

0 comments on commit ad1c0ce

Please sign in to comment.