Skip to content

Commit

Permalink
screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed May 16, 2024
1 parent 72d31b9 commit edf7fc7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"Visual Settings"
"Controller Settings"
"Optional Additions"
"Screensaver"
)
}
)
Expand Down Expand Up @@ -51,8 +52,8 @@
(colsel
{$this show_state kState_RB4DXColorSelector}
{$this trigger_select_effects })
(screensaver
{$this show_state kState_RB4DXScreensaver}
("Screensaver"
{$this show_state kState_RB4DXScreensaverWarn}
{$this trigger_select_effects })
("lost menus"
{$this show_state kState_RB4DXLostMenus}
Expand Down
26 changes: 26 additions & 0 deletions _ark/ps4/dx/overshell/dx_warn_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,32 @@
{$this trigger_cancel_effects }
)
)
(kState_RB4DXScreensaverWarn
(view confirm_action)
(enter
{$this setup_confirm_actions "You will need to restart the game to continue playing. Do you want to continue?" (overshell_confirm_yes overshell_confirm_no)}
)
(SELECT_MSG
{local $list_data
{($objId UIListCom) get_data_in_column token}
}
{switch $list_data
(overshell_confirm_yes
{$ui remove_scene "ui/main_menu/main_menu.scene"}
{$ui remove_scene "ui/overshell/overshell.scene"}
)
(overshell_confirm_no
{$this show_state kState_RB4DXMain}
)
}
{$this trigger_select_effects}
)
(on_cancel
{set $optionaladd FALSE}
{$this show_state kState_RB4DXOptionalAdditions}
{$this trigger_cancel_effects }
)
)
(kState_RB4DXOptionalAddHowTo
(view confirm_action)
(enter
Expand Down

0 comments on commit edf7fc7

Please sign in to comment.