Skip to content
TORNLIFE More

[Script] Company Stock Manager

Started by Bugrilhos [2261423] on in Tools & Userscripts.

24 replies · 473 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 25 / 25 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
25
Discussion span
→
Authority score
38 / 100
Historical score
32 / 100
Story score
43 / 100
Engagement score
70 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Bugrilhos [2261423]

The Ultimate Stock Manager is a script designed to balance your company stock to last the most amount of days, based on daily sales.

 

This script analyzes your current stock, daily sales, and available warehouse capacity to calculate the perfect balance.

It automatically fills your order forms so that every item runs out on the exact same day, ensuring you never have dead shelf space while other items go out of stock.

Key Features

  • Smart Balance Button: One click to calculate and fill quantities for all items. 

  • Visual "Days Left" Badges: Replaces the generic "Delivery" text with a clear, color-coded badge showing exactly how many days of stock you have left (including what you are about to buy).

 

Attention!!!

 

 

If for any reason you forgot to buy stocks for any product and you emptied it's stock. The next day the sales will be zero and the script will not work as it depends on the daily sales to calculate the balancing.

 In this specific case, you should add manually the amount to stock it. After that, the script will work as intended for that item.

 

🛠️ How to Use

  1. Install the script.

  2. Go to the Company Stock page.

  3. Click the Smart Balance button.

  4. Watch the script fill in the ideal quantities.

  5. Review the "Days Left" badges to see your new stock duration.

  6. Click Order to confirm.

📜 Installation

https://greasyfork.org/en/scripts/566690-torn-city-company-stock-manager-smart-balance


 

Changelog v18.0:

  • Full support for TornPDA mobile headers.

  • Badges are now purely informational indicators (Smart Balance button controls the filling).

  • Improved calculation speed.

 

NO API REQUIRED

This script was done 100% using Gemini as I don´t know anything about coding.

Bugrilhos [2261423]

The one from torntools only gets your daily sales and add the exact same amount on each product field.

Mine calculates every product daily sales and amount left in stock and balances all products so they last exactly the same amount of days. As days go by. It's just a bit smarter.

 

Thank you for trying, let me know if you like it or have any question/sugestion