Add simulated CCS computer
This commit is contained in:
@@ -70,6 +70,12 @@ func set_pause_menu_open(open: bool) -> void:
|
||||
active_scene.set_dialogue_input_enabled(not open)
|
||||
|
||||
|
||||
func close_transient_overlay() -> bool:
|
||||
if active_scene != null and active_scene.has_method("close_computer"):
|
||||
return bool(active_scene.close_computer())
|
||||
return false
|
||||
|
||||
|
||||
func compatible_cases(cases: Array) -> Array:
|
||||
return cases.filter(func(item: Variant) -> bool:
|
||||
return typeof(item) == TYPE_DICTIONARY \
|
||||
|
||||
Reference in New Issue
Block a user