[{"data":1,"prerenderedAt":490},["ShallowReactive",2],{"doc-global_essentials\u002Fbuiltins\u002Fstates":3},{"id":4,"title":5,"body":6,"description":479,"extension":480,"meta":481,"navigation":485,"path":486,"seo":487,"stem":488,"__hash__":489},"docs\u002Fdocs\u002Fglobal_essentials\u002Fbuiltins\u002Fstates.md","States",{"type":7,"value":8,"toc":470},"minimark",[9,14,35,38,43,233,235,239,308,310,314,343,345,349,377,379,381,385],[10,11,13],"h1",{"id":12},"game-states-reference","Game States Reference",[15,16,17,18,22,23,26,27,30,31,34],"p",{},"All built-in game states you can read and write using ",[19,20,21],"code",{},"game.getState()"," and ",[19,24,25],{},"game.setState()",", or via the ",[19,28,29],{},"state"," action (",[19,32,33],{},"{state: \"disable_ui=true\"}",").",[36,37],"hr",{},[39,40,42],"h2",{"id":41},"ui-states","UI States",[44,45,46,62],"table",{},[47,48,49],"thead",{},[50,51,52,56,59],"tr",{},[53,54,55],"th",{},"State",[53,57,58],{},"Default",[53,60,61],{},"Description",[63,64,65,84,99,114,128,142,161,176,191,205,219],"tbody",{},[50,66,67,73,78],{},[68,69,70],"td",{},[19,71,72],{},"game_state",[68,74,75],{},[19,76,77],{},"\"exploration\" but can be set to a custom state in General->Manifest",[68,79,80,81,83],{},"Main game view state (used by ",[19,82,72],{}," component slot)",[50,85,86,91,96],{},[68,87,88],{},[19,89,90],{},"overlay_state",[68,92,93],{},[19,94,95],{},"\"overlay-navigation\"",[68,97,98],{},"Overlay layer state",[50,100,101,106,111],{},[68,102,103],{},[19,104,105],{},"popup_state",[68,107,108],{},[19,109,110],{},"null",[68,112,113],{},"Active popup state",[50,115,116,121,125],{},[68,117,118],{},[19,119,120],{},"progression_state",[68,122,123],{},[19,124,110],{},[68,126,127],{},"Side panel tab (quests, character, gallery)",[50,129,130,135,139],{},[68,131,132],{},[19,133,134],{},"progression_sub_state",[68,136,137],{},[19,138,110],{},[68,140,141],{},"Character sheet sub-tab",[50,143,144,149,154],{},[68,145,146],{},[19,147,148],{},"suppress_character_progression",[68,150,151],{},[19,152,153],{},"false",[68,155,156,157,160],{},"When true, clicking a character in the character list only updates ",[19,158,159],{},"selected_character"," and skips opening the progression overlay. Use when the game renders the character sheet elsewhere (e.g., a side panel) and doesn't want the full-page overlay on every click.",[50,162,163,168,173],{},[68,164,165],{},[19,166,167],{},"gallery_tab",[68,169,170],{},[19,171,172],{},"\"characters\"",[68,174,175],{},"Active gallery tab",[50,177,178,183,188],{},[68,179,180],{},[19,181,182],{},"show_character_list",[68,184,185],{},[19,186,187],{},"true",[68,189,190],{},"Whether to show party character list",[50,192,193,198,202],{},[68,194,195],{},[19,196,197],{},"disable_ui",[68,199,200],{},[19,201,153],{},[68,203,204],{},"Disable all UI interactions",[50,206,207,212,216],{},[68,208,209],{},[19,210,211],{},"block_scene_advance",[68,213,214],{},[19,215,153],{},[68,217,218],{},"Block scene advancement clicks\u002Fkeys without disabling UI",[50,220,221,226,230],{},[68,222,223],{},[19,224,225],{},"block_party_inventory",[68,227,228],{},[19,229,153],{},[68,231,232],{},"Block access to party inventory",[36,234],{},[39,236,238],{"id":237},"selection-states","Selection States",[44,240,241,251],{},[47,242,243],{},[50,244,245,247,249],{},[53,246,55],{},[53,248,58],{},[53,250,61],{},[63,252,253,266,280,294],{},[50,254,255,259,263],{},[68,256,257],{},[19,258,159],{},[68,260,261],{},[19,262,110],{},[68,264,265],{},"Currently viewed character in character sheet",[50,267,268,273,277],{},[68,269,270],{},[19,271,272],{},"active_character",[68,274,275],{},[19,276,110],{},[68,278,279],{},"Character being interacted with",[50,281,282,287,291],{},[68,283,284],{},[19,285,286],{},"active_inventory",[68,288,289],{},[19,290,110],{},[68,292,293],{},"Currently open inventory ID",[50,295,296,301,305],{},[68,297,298],{},[19,299,300],{},"active_item",[68,302,303],{},[19,304,110],{},[68,306,307],{},"Currently selected item UID",[36,309],{},[39,311,313],{"id":312},"map-states","Map States",[44,315,316,326],{},[47,317,318],{},[50,319,320,322,324],{},[53,321,55],{},[53,323,58],{},[53,325,61],{},[63,327,328],{},[50,329,330,335,340],{},[68,331,332],{},[19,333,334],{},"map_zoom_factor",[68,336,337],{},[19,338,339],{},"1",[68,341,342],{},"Current map zoom level",[36,344],{},[39,346,348],{"id":347},"quest-states","Quest States",[44,350,351,361],{},[47,352,353],{},[50,354,355,357,359],{},[53,356,55],{},[53,358,58],{},[53,360,61],{},[63,362,363],{},[50,364,365,370,374],{},[68,366,367],{},[19,368,369],{},"is_show_completed_quests",[68,371,372],{},[19,373,153],{},[68,375,376],{},"Whether to show completed quests in quest log",[36,378],{},[36,380],{},[39,382,384],{"id":383},"system-states","System States",[44,386,387,397],{},[47,388,389],{},[50,390,391,393,395],{},[53,392,55],{},[53,394,58],{},[53,396,61],{},[63,398,399,413,427,441,455],{},[50,400,401,406,410],{},[68,402,403],{},[19,404,405],{},"supress_game_events",[68,407,408],{},[19,409,153],{},[68,411,412],{},"Suppress game event triggers",[50,414,415,420,424],{},[68,416,417],{},[19,418,419],{},"disable_saves",[68,421,422],{},[19,423,153],{},[68,425,426],{},"Disable save functionality",[50,428,429,434,438],{},[68,430,431],{},[19,432,433],{},"replay_mode",[68,435,436],{},[19,437,153],{},[68,439,440],{},"Whether game is in replay mode",[50,442,443,448,452],{},[68,444,445],{},[19,446,447],{},"replay_mode_unlock_choices",[68,449,450],{},[19,451,153],{},[68,453,454],{},"Unlock all choices in replay mode",[50,456,457,462,467],{},[68,458,459],{},[19,460,461],{},"max_log",[68,463,464],{},[19,465,466],{},"40",[68,468,469],{},"Maximum number of log entries",{"title":471,"searchDepth":472,"depth":472,"links":473},"",2,[474,475,476,477,478],{"id":41,"depth":472,"text":42},{"id":237,"depth":472,"text":238},{"id":312,"depth":472,"text":313},{"id":347,"depth":472,"text":348},{"id":383,"depth":472,"text":384},"All built-in game states you can read and write using game.getState() and game.setState(), or via the state action ({state: \"disable_ui=true\"}).","md",{"plugin":482,"category":483,"page":484},"global_essentials","builtins","states",true,"\u002Fdocs\u002Fglobal_essentials\u002Fbuiltins\u002Fstates",{"title":5,"description":479},"docs\u002Fglobal_essentials\u002Fbuiltins\u002Fstates","n4L9Ff__MEmdnmtssdVYb3KIF0-KxswjIad4uZuIezs",1779582262401]