Skip to content

Latest commit

 

History

History
1029 lines (762 loc) · 29.9 KB

API.md

File metadata and controls

1029 lines (762 loc) · 29.9 KB

ScriptOne - a generated Lua surface, as an example

419 actions + 199 state values = 618 bindings across 131 tables. Generated by tools/Gen-Bindings.ps1 - do not maintain by hand. These numbers are the source; other files should point here instead of repeating them.

This is one game's surface, not the ScriptOne API. The names below come from the game this file happened to be generated against, and they are here so you can see what a surface looks like and how it is written down. Your game will list different names. ScriptOne finds them in the game you actually have, when it starts, and writes the result to ScriptOne\surface.txt plus a readable reference in ScriptOne\documentation\. The 13 s1.* core functions are the part that is the same everywhere - they are listed in docs/CORE-VS-GAME.md.

Generated from surface/candidates.json. Do not edit by hand.

Enums cross as numbers. A missing argument is 0 / "" / false, never an error.

s1.apps_canvas - AppsCanvas

  • set_is_open(o) -> Void
  • is_open() -> Boolean

s1.arrest_notice_screen - ArrestNoticeScreen

  • exit() -> Void
  • open() -> Void
  • record_crimes() -> Void
  • is_open() -> Boolean

s1.arrest_screen - ArrestScreen

  • open() -> Void
  • close() -> Void
  • is_open() -> Boolean

s1.audio - AudioManager

  • set_distorted(distorted, transition) -> Void
  • set_master_volume(volume) -> Void
  • master_volume() -> Single

s1.birds_eye_view - BirdsEyeView

  • disable(reenableCameraLook) -> Void
  • is_enabled() -> Boolean

s1.blackjack_interface - BlackjackInterface

  • close() -> Void

s1.black_overlay - BlackOverlay

  • open(fadeTime) -> Void
  • close(fadeTime) -> Void
  • is_shown() -> Boolean

s1.body_search_screen - BodySearchScreen

  • close(clear) -> Void
  • close_tutorial() -> Void
  • is_open() -> Boolean
  • tutorial_open() -> Boolean

s1.brick_press_canvas - BrickPressCanvas

  • close() -> Void
  • begin_button_pressed() -> Void

s1.build - BuildManager

  • stop_building() -> Void
  • is_building() -> Boolean

s1.business - BusinessManager

  • delete_unapproved_files(parentFolderPath) -> Void

s1.call_interface - CallInterface

  • complete_call() -> Void
  • continue() -> Void
  • is_open() -> Boolean

s1.call - CallManager

  • clear_queued_call() -> Void

s1.call_notification - CallNotification

  • is_open() -> Boolean

s1.cartel - Cartel

  • set_status_server(status, resetStatusChangedTimer) -> Void
  • status() -> enum:ECartelStatus
  • hours_since_status_change() -> Int32

s1.cauldron_interface - CauldronInterface

  • close() -> Void
  • begin_button_pressed() -> Void

s1.character_creator - CharacterCreator

  • close() -> Void
  • disable_stuff() -> Void
  • done() -> Void
  • slider_changed(newVal) -> Void
  • select_preset(presetName) -> Void
  • refresh_category(category) -> Void
  • is_open() -> Boolean

s1.character_display - CharacterDisplay

  • set_open(open) -> Void
  • is_open() -> Boolean

s1.checkpoint - CheckpointManager

  • set_checkpoint_enabled(checkpoint, enabled, requestedOfficers) -> Void

s1.chemistry_station_interface - ChemistryStationInterface

  • close() -> Void

s1.compass - CompassManager

  • set_compass_enabled(enabled) -> Void
  • set_visible(visible) -> Void

s1.config - Config

  • is_srp_batcher_supported() -> Boolean
  • get_actual_rendering_mode(shaderMode) -> enum:VLB.RenderingMode
  • force_update_fade_out_camera() -> Void
  • get_raymarching_quality_index_for_unique_id(id) -> Int32
  • is_raymarching_quality_unique_id_valid(id) -> Boolean
  • reset() -> Void
  • reset_internal_data() -> Void
  • render_pipeline() -> enum:VLB.RenderPipeline (writable in-game, bound read-only here)
  • rendering_mode() -> enum:VLB.RenderingMode (writable in-game, bound read-only here)
  • sd_use_single_pass_shader() -> Boolean
  • sd_requires_double_sided_mesh() -> Boolean
  • default_raymarching_quality_unique_id() -> Int32
  • raymarching_qualities_count() -> Int32
  • is_hdrp_exposure_weight_supported() -> Boolean
  • has_render_pipeline_mismatch() -> Boolean

s1.contacts_app - ContactsApp

  • set_selected_region(region, selectNPC) -> Void
  • set_open(open) -> Void

s1.curfew - CurfewManager

  • disable() -> Void
  • is_enabled() -> Boolean
  • is_currently_active() -> Boolean
  • is_hard_curfew_active() -> Boolean

s1.cursor - CursorManager

  • set_cursor_appearance(type) -> Void

s1.customization - CustomizationManager

  • create_settings(assetName, assetPath) -> Void
  • load_settings(path, editOriginal) -> Void
  • gender_changed(genderScale) -> Void
  • weight_changed(weightScale) -> Void
  • height_changed(height) -> Void
  • upper_eye_lid_resting_position_changed(newVal) -> Void
  • lower_eye_lid_resting_position_changed(newVal) -> Void
  • eyebrow_scale_changed(newVal) -> Void
  • eyebrow_thickness_changed(newVal) -> Void
  • eyebrow_resting_height_changed(newVal) -> Void
  • eyebrow_resting_angle_changed(newVal) -> Void
  • pupil_dilation_changed(dilation) -> Void

s1.cutscene - CutsceneManager

  • play(name) -> Void

s1.daily_summary - DailySummary

  • open() -> Void
  • close() -> Void
  • add_sold_item(id, amount) -> Void
  • add_player_money(amount) -> Void
  • add_dealer_money(amount) -> Void
  • add_xp(xp) -> Void
  • is_open() -> Boolean
  • xp_gained() -> Int32

s1.dark_market - DarkMarket

  • send_unlocked() -> Void
  • is_open() -> Boolean
  • unlocked() -> Boolean

s1.deal_completion_popup - DealCompletionPopup

  • is_playing() -> Boolean

s1.dealer_management_app - DealerManagementApp

  • refresh() -> Void
  • set_open(open) -> Void
  • assign_customer() -> Void

s1.death_screen - DeathScreen

  • open() -> Void
  • close() -> Void

s1.delivery_app - DeliveryApp

  • set_open(open) -> Void
  • play_order_submitted_anim() -> Void

s1.dialogue_canvas - DialogueCanvas

  • is_open() -> Boolean
  • skip_next_rollout() -> Boolean (writable in-game, bound read-only here)

s1.document_viewer - DocumentViewer

  • open(documentName) -> Void
  • close() -> Void
  • is_open() -> Boolean

s1.drag - DragManager

  • fixed_update() -> Void
  • is_dragging_allowed() -> Boolean
  • is_dragging() -> Boolean

s1.drying_rack_interface - DryingRackInterface

  • close() -> Void
  • insert() -> Void

s1.employee - EmployeeManager

  • register_name(name) -> Void
  • register_appearance(male, index) -> Void

s1.environment_fx - EnvironmentFX

  • set_environment_scrolling_active(active) -> Void
  • set_environment_scrolling_speed_by_percentage(percentage) -> Void
  • normalized_environmental_brightness() -> Single
  • fog_end_distance_multiplier() -> Single

s1.environment - EnvironmentManager

  • set_weather(type) -> Void
  • trigger_lightning_event() -> Void
  • trigger_distant_thunder() -> Void

s1.equippable_trash_grabber - Equippable_TrashGrabber

  • unequip() -> Void
  • get_capacity() -> Int32
  • is_equipped() -> Boolean

s1.eyelid_overlay - EyelidOverlay

  • set_open(openness) -> Void

s1.fullscreen_fade - FullscreenFade

  • show() -> Void
  • hide() -> Void
  • is_open() -> Boolean

s1.game_input - GameInput

  • get_button(buttonCode) -> Boolean
  • get_button_down(buttonCode) -> Boolean
  • get_button_up(buttonCode) -> Boolean
  • get_current_input_device_is_keyboard_mouse() -> Boolean
  • get_current_input_device_is_gamepad() -> Boolean
  • get_current_input_device() -> enum:ScheduleOne.GameInput.InputDeviceType
  • exit_all() -> Void
  • current_input_device() -> enum:ScheduleOne.GameInput.InputDeviceType
  • current_platform_type() -> enum:ScheduleOne.UI.Input.EPlatformType
  • is_typing() -> Boolean (writable in-game, bound read-only here)
  • mouse_scroll_delta() -> Single
  • vehicle_drive_axis() -> Single
  • ui_tab_navigation_primary_axis() -> Single
  • ui_tab_navigation_secondary_axis() -> Single
  • ui_tab_navigation_tertiary_axis() -> Single
  • ui_scrollbar_axis() -> Single
  • ui_map_zoom_axis() -> Single
  • ui_modify_amount_increment_tier_one_axis() -> Single
  • ui_modify_amount_increment_tier_two_axis() -> Single
  • ui_modify_amount_increment_tier_three_axis() -> Single

s1.game - GameManager

  • end_tutorial(natural) -> Void
  • is_tutorial() -> Boolean
  • seed() -> Int32

s1.gamepad_pointer - GamepadPointer

  • set_active(value) -> Void
  • move_to_screen_center() -> Void
  • set_sensitivity(sensitivity) -> Void
  • set_aim_assist(value) -> Void
  • set_pointer_data(id) -> Void
  • revert_pointer_data() -> Void
  • set_rotation_input_check_active(active) -> Void
  • set_pointer_locked(locked) -> Void
  • debug_toggle_active() -> Void
  • set_to_snap_handler() -> Void
  • is_rotation_input_active() -> Boolean

s1.gameplay_menu - GameplayMenu

  • set_screen(screen) -> Void
  • open() -> Void
  • close() -> Void
  • is_open() -> Boolean
  • character_screen_enabled() -> Boolean
  • current_screen() -> enum:ScheduleOne.UI.GameplayMenu.EGameplayScreen

s1.gameplay_menu_interface - GameplayMenuInterface

  • open() -> Void
  • close() -> Void
  • phone_clicked() -> Void
  • character_clicked() -> Void
  • set_selected(screen) -> Void

s1.generic_selection_module - GenericSelectionModule

  • close() -> Void
  • cancel() -> Void
  • is_open() -> Boolean
  • chosen_option_index() -> Int32

s1.graffiti - GraffitiManager

  • get_pixel_strength(strokeSize, pixelIndex) -> Single

s1.graffiti_menu - GraffitiMenu

  • open() -> Void
  • close() -> Void
  • show_confirm_panel() -> Void
  • update_remaining_paint_indicator(remainingPaint) -> Void
  • clear_active_surface() -> Void

s1.handover_screen - HandoverScreen

  • test_open() -> Void
  • close(outcome) -> Void
  • done_pressed() -> Void
  • clear_customer_slots(returnToOriginals) -> Void
  • is_open() -> Boolean

s1.heatmap - HeatmapManager

  • set_heatmap_active(propertyCode, isActive) -> Void
  • set_all_heatmaps_active(isActive) -> Void
  • turn_on_all_heatmaps() -> Void
  • turn_off_all_heatmaps() -> Void
  • run_dispatch_heatmap() -> Void

s1.hint_display - HintDisplay

  • show_hint_10s(text, alternateText) -> Void
  • show_hint_20s(text, alternateText) -> Void
  • show_hint(text, autoCloseTime, alternateText) -> Void
  • hide() -> Void
  • queue_hint_10s(message) -> Void
  • queue_hint_20s(message) -> Void
  • queue_hint(message, time) -> Void
  • is_open() -> Boolean

s1.home_screen - HomeScreen

  • set_is_open(o) -> Void
  • set_canvas_active(a) -> Void
  • is_open() -> Boolean

s1.hospital_bill_screen - HospitalBillScreen

  • open() -> Void
  • close() -> Void
  • on_close() -> Void
  • is_open() -> Boolean

s1.hud - HUD

  • set_crosshair_visible(vis) -> Void
  • set_black_overlay_visible(vis, fadeTime) -> Void
  • show_radial_indicator(fill) -> Void
  • show_top_screen_text(t) -> Void
  • hide_top_screen_text() -> Void
  • show_firearm_reticle() -> Void
  • hide_firearm_reticle() -> Void
  • set_firearm_reticle(spreadAngle) -> Void

s1.icon_creator_canvas - IconCreatorCanvas

  • set_taking_picture() -> Void

s1.icon_generator - IconGenerator

  • generate_icon() -> Void

s1.input_prompts - InputPromptsManager

  • get_display_name_for_control_path(controlPath) -> String
  • load_module(id, position, displayTextOverride) -> Void
  • unload_module(id) -> Void
  • update_display_text_override(panelId, displayTextOverride) -> Void
  • show_hide_active_prompt(panelId, show) -> Void
  • has_active_prompt(id) -> Boolean
  • debug_load_module() -> Void
  • debug_unload_module() -> Void

s1.instancing - InstancingManager

  • enable_instancing() -> Void
  • disable_instancing() -> Void
  • try_assign_camera() -> Boolean

s1.interaction_canvas - InteractionCanvas

  • set_active(value) -> Void
  • lerp_display_scale(endScale) -> Void
  • display_scale() -> Single (writable in-game, bound read-only here)

s1.interaction - InteractionManager

  • is_anything_blocking_interaction() -> Boolean
  • set_can_destroy(canDestroy) -> Void
  • can_destroy() -> Boolean (writable in-game, bound read-only here)
  • interact_key_str() -> String

s1.intro - IntroManager

  • play() -> Void
  • passed_step(stepIndex) -> Void
  • is_playing() -> Boolean

s1.item_ui - ItemUIManager

  • controller_toggle_tooltip() -> Void
  • controller_grab_all_slot() -> Void
  • controller_quick_move_slot() -> Void
  • controller_quick_move_slot_single() -> Void
  • controller_drag_add_quantity() -> Void
  • controller_drag_subtract_quantity() -> Void
  • controller_discard_slot() -> Void
  • set_dragging_enabled(enabled) -> Void
  • disable_quick_move() -> Void
  • dragging_enabled() -> Boolean
  • quick_move_enabled() -> Boolean
  • is_currently_dragging() -> Boolean
  • is_hovering_slot() -> Boolean
  • is_dragging_cash() -> Boolean

s1.journal_app - JournalApp

  • set_open(open) -> Void

s1.lab_oven_canvas - LabOvenCanvas

  • close() -> Void
  • begin_button_pressed() -> Void
  • can_begin() -> Boolean

s1.law - LawController

  • end_override() -> Void
  • change_internal_intensity(change) -> Void
  • set_internal_intensity(intensity) -> Void
  • override_settings() -> Boolean

s1.level - LevelManager

  • add_xp(xp) -> Void
  • get_xp_for_tier(rank) -> Int32
  • rank() -> enum:ScheduleOne.Levelling.ERank
  • tier() -> Int32
  • xp() -> Int32
  • total_xp() -> Int32
  • xp_to_next_tier() -> Single

s1.loading_screen - LoadingScreen

  • open(loadingTutorial) -> Void
  • close() -> Void
  • is_open() -> Boolean

s1.load - LoadManager

  • get_load_status_text() -> String
  • load_tutorial_as_client() -> Void
  • load_as_client(steamId64) -> Void
  • set_waiting_for_host_load() -> Void
  • load_last_save() -> Void
  • refresh_save_info() -> Void
  • default_tutorial_save_folder() -> String
  • is_in_game_scene() -> Boolean
  • is_game_loaded() -> Boolean
  • is_loading() -> Boolean
  • time_since_game_loaded() -> Single
  • debug_mode() -> Boolean
  • load_status() -> enum:ScheduleOne.Persistence.LoadManager.ELoadStatus
  • loaded_game_folder_path() -> String

s1.lobby - Lobby

  • try_open_invite_interface() -> Void
  • create_lobby() -> Void
  • leave_lobby() -> Void
  • send_lobby_message(message) -> Void
  • set_lobby_data(key, value) -> Void
  • is_session_ready_for_client() -> Boolean
  • get_session_connection_identifier() -> String
  • is_host() -> Boolean
  • lobby_id() -> UInt64
  • is_in_lobby() -> Boolean
  • player_count() -> Int32

s1.lobby_interface - LobbyInterface

  • set_visible(visible) -> Void
  • leave_clicked() -> Void
  • invite_clicked() -> Void
  • detach_from_screen() -> Void

s1.main_menu_popup - MainMenuPopup

  • open(title, description, isBad) -> Void

s1.management_clipboard - ManagementClipboard

  • close() -> Void
  • close_and_preserve_state() -> Void
  • is_open() -> Boolean
  • state_preserved() -> Boolean

s1.management_interface - ManagementInterface

  • close(preserveState) -> Void
  • rename_button_clicked() -> Void

s1.management_worldspace_canvas - ManagementWorldspaceCanvas

  • open() -> Void
  • close(preserveSelection) -> Void
  • show_crosshair_prompt(message) -> Void
  • hide_crosshair_prompt() -> Void
  • is_open() -> Boolean

s1.map_app - MapApp

  • set_open(open) -> Void

s1.map_position_utility - MapPositionUtility

  • recalculate() -> Void

s1.messages_app - MessagesApp

  • reposition_entries() -> Void
  • return_button_clicked() -> Void
  • refresh_notifications() -> Void
  • filter_by_category(category) -> Void
  • clear_filter() -> Void
  • set_open(open) -> Void

s1.messaging - MessagingManager

  • send_response(responseIndex, npcID) -> Void
  • send_player_message(sendableIndex, sentIndex, npcID) -> Void
  • clear_responses(npcID) -> Void

s1.metadata - MetadataManager

  • creation_version() -> String

s1.mixing_station_interface - MixingStationInterface

  • close() -> Void
  • begin_button_pressed() -> Void

s1.money - MoneyManager

  • create_online_transaction(_transaction_Name, _unit_Amount, _quantity, _transaction_Note) -> Void
  • change_lifetime_earnings(change) -> Void
  • play_cash_sound() -> Void
  • change_cash_balance(change, visualizeChange, playCashSound) -> Void
  • format_amount(amount, showDecimals, includeColor) -> String
  • check_networth_achievements() -> Void
  • get_net_worth() -> Single
  • lifetime_earnings() -> Single
  • last_calculated_networth() -> Single
  • cash_balance() -> Single

s1.mugshot_generator - MugshotGenerator

  • generate_mugshot() -> Void

s1.mushroom_spawn_station_interface - MushroomSpawnStationInterface

  • on_begin_button_pressed() -> Void
  • close() -> Void

s1.music - MusicManager

  • set_music_distorted(distorted, transition) -> Void
  • set_track_enabled(trackName, enabled) -> Void
  • stop_track(trackName) -> Void
  • stop_and_disable_tracks() -> Void
  • is_any_track_playing() -> Boolean

s1.new_customer_popup - NewCustomerPopup

  • is_playing() -> Boolean

s1.new_mix_screen - NewMixScreen

  • close() -> Void
  • randomize_button_clicked() -> Void
  • confirm_button_clicked() -> Void
  • on_name_value_changed(newVal) -> Void
  • is_open() -> Boolean

s1.npc_summon_menu - NPCSummonMenu

  • close() -> Void

s1.occlusion - OcclusionManager

  • run_occlusion_bake() -> Void
  • set_active(isActive) -> Void
  • check_data() -> Void

s1.on_screen_mouse - OnScreenMouse

  • activate() -> Void
  • deactivate() -> Void

s1.packaging_station_canvas - PackagingStationCanvas

  • close() -> Void
  • begin_button_pressed() -> Void
  • repeat_packaging_task() -> Void
  • toggle_mode() -> Void
  • set_mode(mode) -> Void

s1.pause_menu - PauseMenu

  • pause() -> Void
  • resume() -> Void
  • stuck_button_clicked() -> Void
  • is_paused() -> Boolean

s1.pawn_shop_interface - PawnShopInterface

  • open() -> Void
  • close() -> Void
  • start_button_pressed() -> Void
  • set_player_response(response) -> Void
  • accept_or_counter() -> Void
  • cancel() -> Void
  • is_open() -> Boolean
  • npc_anger() -> Single

s1.phone - Phone

  • set_is_open(o) -> Void
  • set_is_active_gameplay_screen(isActive) -> Void
  • set_is_horizontal(h) -> Void
  • set_look_offset_multiplier(multiplier) -> Void
  • request_close_app() -> Void
  • is_open() -> Boolean
  • is_horizontal() -> Boolean
  • is_openable() -> Boolean
  • flashlight_on() -> Boolean
  • is_any_app_open() -> Boolean
  • scaled_look_offset() -> Single

s1.physics - PhysicsManager

  • gravity_multiplier() -> Single

s1.pickpocket_screen - PickpocketScreen

  • set_slot_locked(index, locked) -> Void
  • close() -> Void
  • close_tutorial() -> Void
  • is_open() -> Boolean
  • tutorial_open() -> Boolean

s1.player_camera - PlayerCamera

  • set_antialiasing_mode(mode) -> Void
  • apply_aa_settings() -> Void
  • get_target_local_y() -> Single
  • set_camera_mode(mode) -> Void
  • lock_mouse(showCrosshair) -> Void
  • free_mouse(hideCrosshair) -> Void
  • stop_transform_override(lerpTime, reenableCameraLook, returnToOriginalRotation) -> Void
  • set_can_look(canLook) -> Void
  • set_do_f_active(active, lerpTime) -> Void
  • override_fov(fov, lerpTime) -> Void
  • stop_fov_override(lerpTime) -> Void
  • add_active_ui_element(name) -> Void
  • remove_active_ui_element(name) -> Void
  • jolt_camera() -> Void
  • is01(a) -> Boolean
  • reset_rotation() -> Void
  • stop_focus() -> Void
  • start_camera_shake(intensity, duration, decreaseOverTime) -> Void
  • stop_camera_shake() -> Void
  • update_camera_bob() -> Void
  • set_free_cam(enable, reenableLook) -> Void
  • anti_aliasing_mode() -> enum:ScheduleOne.DevUtilities.GraphicsSettings.EAntiAliasingMode
  • can_look() -> Boolean
  • active_ui_element_count() -> Int32
  • free_cam_enabled() -> Boolean
  • viewing_avatar() -> Boolean
  • camera_mode() -> enum:ScheduleOne.PlayerScripts.PlayerCamera.ECameraMode
  • meth_visuals() -> Boolean (writable in-game, bound read-only here)
  • cocaine_visuals() -> Boolean (writable in-game, bound read-only here)
  • fov_jitter() -> Single

s1.player_inventory - PlayerInventory

  • set_inventory_enabled(enabled) -> Void
  • set_equipping_enabled(enabled) -> Void
  • detach_from_screen() -> Void
  • set_management_clipboard_enabled(enabled) -> Void
  • set_viewmodel_visible(visible) -> Void
  • get_amount_of_item(ID) -> UInt32
  • remove_amount_of_item(ID, amount) -> Void
  • clear_inventory() -> Void
  • remove_product_from_inventory(maxStealth) -> Void
  • remove_random_items_from_inventory() -> Void
  • equipped_slot_changed() -> Void
  • reequip() -> Void
  • equipped_slot_index() -> Int32 (writable in-game, bound read-only here)
  • hotbar_enabled() -> Boolean
  • equipping_enabled() -> Boolean
  • holster_enabled() -> Boolean (writable in-game, bound read-only here)
  • current_equip_time() -> Single
  • is_anything_equipped() -> Boolean

s1.player - PlayerManager

  • all_player_files_loaded() -> Void
  • are_all_players_ready_to_sleep() -> Boolean

s1.player_movement - PlayerMovement

  • warp_to_nav_mesh(clearVelocity) -> Void
  • jump() -> Void
  • set_crouched(c) -> Void
  • change_stamina(change, notify) -> Void
  • set_stamina(value, notify) -> Void
  • add_sprint_blocker(tag) -> Void
  • remove_sprint_blocker(tag) -> Void
  • dismount_ladder() -> Void
  • can_move() -> Boolean (writable in-game, bound read-only here)
  • can_jump() -> Boolean (writable in-game, bound read-only here)
  • is_jumping() -> Boolean
  • time_airborne() -> Single
  • time_grounded() -> Single
  • is_grounded() -> Boolean
  • is_crouched() -> Boolean
  • standing_scale() -> Single
  • is_ragdolled() -> Boolean
  • is_sprinting() -> Boolean
  • force_sprint() -> Boolean (writable in-game, bound read-only here)
  • current_stamina_reserve() -> Single
  • current_sprint_multiplier() -> Single
  • is_on_ladder() -> Boolean
  • move_speed_multiplier() -> Single

s1.post_processing - PostProcessingManager

  • override_vignette(intensity, smoothness) -> Void
  • reset_vignette() -> Void
  • set_god_ray_intensity(intensity) -> Void
  • set_contrast(value) -> Void
  • set_saturation(value) -> Void
  • set_bloom_threshold(threshold) -> Void
  • set_blur(blurLevel) -> Void
  • set_psychedelic_effect_active(isActive) -> Void
  • print_value_of_psychedelic_effect_blend() -> Void

s1.product - ProductManager

  • set_meth_discovered() -> Void
  • set_cocaine_discovered() -> Void
  • set_shrooms_discovered() -> Void
  • set_product_listed(productID, listed) -> Void
  • set_product_favourited(productID, listed) -> Void
  • discover_product(productID) -> Void
  • set_is_accepting_order(accepting) -> Void
  • send_mix_recipe(product, mixer, output) -> Void
  • send_price(productID, value) -> Void
  • finish_and_name_mix(productID, ingredientID, mixName) -> String
  • make_id_file_safe(id) -> String
  • is_mix_name_valid(mixName) -> Boolean
  • meth_discovered() -> Boolean
  • cocaine_discovered() -> Boolean
  • shrooms_discovered() -> Boolean
  • is_accepting_orders() -> Boolean
  • is_mixing_in_progress() -> Boolean
  • is_mix_complete() -> Boolean
  • time_since_product_listing_changed() -> Single

s1.product_manager_app - ProductManagerApp

  • set_open(open) -> Void
  • move_to_details_panel() -> Void

s1.progress_slider - ProgressSlider

  • show_progress(progress) -> Void

s1.property - PropertyManager

  • delete_unapproved_files(parentFolderPath) -> Void

s1.quest - QuestManager

  • send_quest_action(guid, action) -> Void
  • send_quest_state(guid, state) -> Void
  • send_quest_entry_state(guid, entryIndex, state) -> Void
  • print_quest_states() -> Void
  • play_complete_quest_sound() -> Void
  • play_complete_quest_entry_sound() -> Void

s1.region_unlocked_canvas - RegionUnlockedCanvas

  • queue_unlocked(_region) -> Void
  • start_event() -> Void
  • end_event() -> Void
  • is_running() -> Boolean
  • order() -> Int32

s1.registry - Registry

  • item_exists(ID) -> Boolean
  • remove_runtime_items() -> Void
  • log_ordered_unlocks() -> Void

s1.replication_queue - ReplicationQueue

  • get_replication_duration(approximateSizeBytes) -> Single
  • replication_done_for_local_player() -> Boolean
  • local_player_replication_timed_out() -> Boolean
  • current_replication_task() -> String

s1.rtb_interface - RTBInterface

  • close() -> Void

s1.save_manager - SaveManager

  • report_save_error() -> Void
  • check_save_folder_initialized() -> Void
  • has_write_permission_on_dir(path) -> Boolean
  • save() -> Void
  • strip_extensions(filePath) -> String
  • make_file_safe(fileName) -> String
  • get_version_number(version) -> Single
  • sanitize_file_name(fileName) -> String
  • access_permission_issue_detected() -> Boolean
  • is_saving() -> Boolean
  • seconds_since_last_save() -> Single
  • players_save_path() -> String
  • individual_saves_container_path() -> String
  • backup_folder_path() -> String
  • save_name() -> String

s1.settings - Settings

  • reload_graphics_settings() -> Void
  • reload_audio_settings() -> Void
  • reload_input_settings() -> Void
  • reload_other_settings() -> Void
  • reload_gamepad_settings() -> Void
  • restore_default_keyboard_bindings() -> Void
  • restore_default_gamepad_bindings() -> Void
  • get_action_control_path(actionName) -> String
  • christmas_event_active() -> Boolean
  • pausing_freezes_time() -> Boolean
  • unit_type() -> enum:ScheduleOne.DevUtilities.Settings.EUnitType
  • look_sensitivity() -> Single

s1.sewer_camera_presense - SewerCameraPresense

  • camera_presence_in_sewer_area() -> Single
  • smoothed_camera_presence_in_sewer_area() -> Single

s1.sewer - SewerManager

  • set_sewer_unlocked_server() -> Void
  • set_random_world_key_collected() -> Void
  • is_sewer_unlocked() -> Boolean
  • is_random_world_key_collected() -> Boolean
  • random_sewer_key_location_index() -> Int32 (writable in-game, bound read-only here)
  • has_sewer_king_been_defeated() -> Boolean
  • random_sewer_possessor_index() -> Int32 (writable in-game, bound read-only here)

s1.shop - ShopManager

  • send_stock(shopCode, itemID, stock) -> Void

s1.sleep_canvas - SleepCanvas

  • open_menu() -> Void
  • queue_sleep_message(message, displayTime) -> Void
  • is_menu_open() -> Boolean
  • queued_sleep_message() -> String

s1.storage_menu - StorageMenu

  • close() -> Void
  • is_open() -> Boolean

s1.task - TaskManager

  • play_task_complete_sound() -> Void
  • end_task() -> Void
  • is_task_active() -> Boolean
  • time_on_last_task_end() -> Single

s1.text_input_screen - TextInputScreen

  • submit() -> Void
  • cancel() -> Void
  • is_open() -> Boolean

s1.time - TimeManager

  • set_time_and_sync(time) -> Void
  • is_current_time_within_range(min, max) -> Boolean
  • get_total_min_sum() -> Int32
  • set_time_speed_multiplier(multiplier) -> Void
  • set_cycle_duration(time) -> Void
  • start_sleep() -> Void
  • set_host_sleep_done(done) -> Void
  • is_given_time_within_range(givenTime, min, max) -> Boolean
  • is_valid24_hour_time(input) -> Boolean
  • get12_hour_time(_time, appendDesignator) -> String
  • get24_hour_time_from_min_sum(minSum) -> Int32
  • get_min_sum_from24_hour_time(_time) -> Int32
  • get_minutes_to_display_time(minutes) -> String
  • add_minutes_to24_hour_time(time, minsToAdd) -> Int32
  • minute_duration() -> Single
  • default_time() -> Int32
  • current_time() -> Int32
  • current_day() -> enum:ScheduleOne.GameTime.EDay
  • elapsed_days() -> Int32
  • is_end_of_day() -> Boolean
  • is_night() -> Boolean
  • normalized_time_of_day() -> Single
  • day_index() -> Int32
  • is_sleep_in_progress() -> Boolean
  • playtime() -> Single
  • host_sleep_done() -> Boolean
  • time_speed_multiplier() -> Single
  • daily_min_sum() -> Int32

s1.tooltip - TooltipManager

  • hide_tooltip() -> Void

s1.trash_bag_canvas - TrashBagCanvas

  • open() -> Void
  • close() -> Void
  • is_open() -> Boolean

s1.trash - TrashManager

  • destroy_all_trash() -> Void

s1.ui_screen - UIScreenManager

  • is_active_screen_registered_for_back() -> Boolean
  • is_any_screen_active() -> Boolean
  • is_any_popup_screen_active() -> Boolean
  • open_popup_screen(popupID) -> Void
  • close_popup_screen(popupID) -> Void
  • has_active_screen() -> Boolean
  • is_back_triggered_this_frame() -> Boolean

s1.variable_database - VariableDatabase

  • set_variable_value(variableName, value, network) -> Void
  • print_all_variables() -> Void
  • print_variable_value(variableName) -> Void
  • notify_item_acquired(id, quantity) -> Void

s1.vehicle_colors - VehicleColors

  • get_color_name(c) -> String

s1.vehicle_mod_menu - VehicleModMenu

  • close() -> Void
  • color_clicked(col) -> Void
  • confirm_button_clicked() -> Void
  • is_open() -> Boolean

s1.viewmodel_avatar - ViewmodelAvatar

  • set_visibility(isVisible) -> Void
  • is_visible() -> Boolean

s1.viewmodel_sway - ViewmodelSway

  • refresh_viewmodel() -> Void