Schedule I

Schedule I

View Stats:
Experiencing Employees stealing inventory from shelves? I made a python script for you!
Here is a script I made to automatically delete the inventory files if they exist for workers. This seems to be the bug that causes them to take all of your inventory off a shelf when restocking.

This script should only need to be applied to Handlers. I suggest only adding the full names of your Handlers to the script. If you experience issues with other workers, you can simply expand the list.

The whole purpose of this is to just run it when you start the game and then you ideally should not have to worry about the inventory bug happening.

You might be able to run this script after opening the game and you get to the main menu. I have not tested everything yet, I just know that you cannot run the script while in the game because when you save, it just loads the inventory file back into the folder.

How I executed this properly was to exit to the main menu, run the script and then load back into the game. You can verify this worked by navigating to the inventory file locations and make sure they do not exist anymore. There will be prompts that are displayed in the Command Prompt window that tell you whether it deleted the inventory or not. If it did not, that simply means that file did not exist.

import os directory = r"C:\Users\your_user\AppData\LocalLow\TVGS\Schedule I\Saves\your_steam_number\SaveGame_1\Properties\Docks Warehouse\Employees" employees = ["Employee Full Name 1", "Employee Full Name 2", "Employee Full Name 3", "Employee Full Name 4"] # Check if the directory exists if not os.path.exists(directory): print(f"The directory '{directory}' does not exist.") else: for employee in employees: employee_path = os.path.join(directory, employee) # Check if the employee exists if not os.path.exists(employee_path): print(f"The employee '{employee}' does not exist in the directory.") continue # Check for the inventory file inventory_file = os.path.join(employee_path, "Inventory.json") if os.path.exists(inventory_file): os.remove(inventory_file) print(f"Deleted inventory file for '{employee}'.") else: print(f"Inventory file for '{employee}' was not found.") # Ask the user if they want to clear the barn inventory after processing all dock employees clear_barn = input("Do you want to clear the barn inventory? (yes/no): ").strip().lower() if clear_barn == "yes": barn_directory = r"C:\Users\your_user\AppData\LocalLow\TVGS\Schedule I\Saves\your_steam_number\SaveGame_1\Properties\Barn\Employees" barn_employees = ["Employee Full Name 1", "Employee Full Name 2", "Employee Full Name 3", "Employee Full Name 4"] # Check if the barn directory exists if not os.path.exists(barn_directory): print(f"The directory '{barn_directory}' does not exist.") else: for employee in barn_employees: employee_path = os.path.join(barn_directory, employee) # Check if the employee exists if not os.path.exists(employee_path): print(f"The employee '{employee}' does not exist in the directory.") continue # Check for the inventory file inventory_file = os.path.join(employee_path, "Inventory.json") if os.path.exists(inventory_file): os.remove(inventory_file) print(f"Deleted inventory file for '{employee}'.") else: print(f"Inventory file for '{employee}' was not found.")

Be sure to fill in the information that is relevant to your game and file location. If you do not have a Python IDE available you can run this script from the Command Prompt.

Instructions for Command Prompt:

  • Create a folder to save the script in
  • Save the above script into a .py file. To do this copy and paste it into a notepad and save it as Schedule_1_Inventory.py or whatever you call it. Whatever it is make sure it is .py at the end.
  • Hit Windows Button and type CMD.
  • Check if python is installed by typing python -V or python3 - V
  • If not installed, go download from Python website
  • Navigate to folder location, for example, mine is: D:\Schedule_1_Inventory
  • If you start in C:\ drive by default on Command Prompt, simply type "D:" to change drives.
  • Example: "cd Schedule_1_Inventory". This should land you in "D:\Schedule_1_Inventory" for example.
  • Once in the folder containing the Python program simply type "python File_Name.py" into the Command Prompt window
  • It should delete all of the Inventory files from the Docks and then ask if you want to delete the Barn files too. I added this option because my Barn workers have not broken yet.

Alternatively you can navigate to the file location after following the first 2 bullet points (creating the file) and then double click the file. It should just execute it from the file explorer and give you a prompt asking if you would like to "Clear the Barn inventory?"
Last edited by King Kato; Apr 18 @ 9:48pm
< >
Showing 1-9 of 9 comments
Absolute KING.
Can't you just shoot the handlers? :tmntraph:
Originally posted by PickleRick:
Can't you just shoot the handlers? :tmntraph:
Have not tried this, but if so, I assume they die. Then you have to rehire them and assign all of the stations and transportation assignments again.
Originally posted by King Kato:
Originally posted by PickleRick:
Can't you just shoot the handlers? :tmntraph:
Have not tried this, but if so, I assume they die. Then you have to rehire them and assign all of the stations and transportation assignments again.
Game needs more npc's to hire. Security to beat the thief out of handlers and gophers to go buy viagra and mouwash.
yall need to treat your employees better jesus ive never had this issue lol
Originally posted by PickleRick:
Originally posted by King Kato:
Have not tried this, but if so, I assume they die. Then you have to rehire them and assign all of the stations and transportation assignments again.
Game needs more npc's to hire. Security to beat the thief out of handlers and gophers to go buy viagra and mouwash.
I can definitely agree. Having tags on shelves and someone to handle deliveries would be a godsend.
Originally posted by JORGE FRANSICO THE MARTYR:
yall need to treat your employees better jesus ive never had this issue lol
It did not happen to me until I had 2 full operation labs in the barn and docks. I have no clue why it happens but they've stolen so many ingredients from me at this point lol Fired my 4th worker last night and I was like this needs to end.
just had this happen to me. product stopped flowing. watched a handler sweep an entire shelf of chilis and just walk off
Originally posted by Nightwolf:
just had this happen to me. product stopped flowing. watched a handler sweep an entire shelf of chilis and just walk off
It's the most annoying thing ever when managing 2 locations. Pop back to the docks just to see 4 empty shelves and then the other 4 are full. You can go check that employees inventory .json file by following the path in my code. Just delete it when at the main menu and load in and it should go back to normal.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Apr 18 @ 8:25pm
Posts: 9