feat: Graphics update for room 5 (#525)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
This commit is contained in:
@@ -1,9 +1,25 @@
|
||||
:setup
|
||||
# Setup will run every time you enter the room, before the player
|
||||
# can see the room.
|
||||
|
||||
:setup
|
||||
> [!room5_visited]
|
||||
# This runs only the first time the room is ever opened.
|
||||
# That way, if you fix the pipe then leave the room, this will not
|
||||
# break the pipe when you come back
|
||||
set_global room5_visited true
|
||||
set_global r5_pipe_broken true
|
||||
set_global r5_dialog_advance 0
|
||||
|
||||
# Disable wrench item if present in the inventory
|
||||
> [i/r5_wrench]
|
||||
set_active r5_wrench false
|
||||
|
||||
> [r5_pipe_broken]
|
||||
set_state r5_pipe start_water
|
||||
|
||||
> [!r5_pipe_broken]
|
||||
set_state r5_pipe stop_water
|
||||
|
||||
|
||||
# Disable pen item if present in the inventory
|
||||
> [i/r5_pen]
|
||||
@@ -13,6 +29,12 @@
|
||||
> [i/r5_empty_sheet]
|
||||
set_active r5_empty_sheet false
|
||||
|
||||
# Disable both the pen and sheet if the completed form is present in the inventory
|
||||
> [i/r5_filled_sheet]
|
||||
set_active r5_pen false
|
||||
set_active r5_empty_sheet false
|
||||
|
||||
|
||||
# Manage player position depending on where he comes from
|
||||
> [eq ESC_LAST_SCENE room4]
|
||||
teleport player r5_l_exit
|
||||
@@ -25,11 +47,3 @@
|
||||
set_angle player 270
|
||||
stop
|
||||
|
||||
|
||||
#walk player r5_wrench
|
||||
#set_global i/r5_wrench true
|
||||
#set_active r5_wrench false
|
||||
#set_global i/r5_pen true
|
||||
#set_active r5_pen false
|
||||
#set_global i/r5_empty_sheet true
|
||||
#set_active r5_empty_sheet false
|
||||
|
||||
Reference in New Issue
Block a user