Stormworks: Build and Rescue

Stormworks: Build and Rescue

StormLink Procedural Passenger Missions Mod
Script for Seat Naming
Just in case this is helpful, I threw together a Python script to help with naming seats on a vessel (so you don't have to type out each seat name manually). Use this as you see fit!

Edit: To use this script, modify the values near the top for the type & exit keys, then run the script. In-game, select a seat then press the type key to have the script type out the formatted name for the seat (ex. "Seat5"). The script will automatically increment the integer, so you can just select the next seat and press the type key again.

# StormLink Typer # Made by @IntrixTheName # Used to partially automate the process of naming seats # on StormLink-capable vessels import pyautogui import keyboard import time # CONFIG - Modify values here to adjust program execution index = 1 # Starting index for seat number, and running counter type_key = "`" # The key that triggers the typing exit_key = "esc" # The key that ends the script def type(): """Types a standardized pattern with index""" global index pyautogui.typewrite(f'Seat{index}') index += 1 time.sleep(0.25) print(f"Script active...\n Press {type_key} to type seat name\n Press {exit_key} to end script") keyboard.add_hotkey(type_key, type) keyboard.wait(exit_key)
Laatst bewerkt door IntrixTheName; 3 aug 2024 om 6:22