Torn Bazaar Quick Pricer

Auto-fill bazaar items with market-based pricing

目前為 2025-12-11 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Fackson Mutetesha
評價
0 0 0
版本
2.0
建立日期
2025-12-11
更新日期
2025-12-11
尺寸
19.3 KB
授權條款
MIT
腳本執行於

Torn Bazaar Smart Pricer

Author: Zedtrooper [3028329]
Current Version: 2.0

A Tampermonkey userscript for the text-based RPG Torn that streamlines the process of adding items to your Bazaar. It automatically fetches current market values via the Torn API and prices your items competitively with a single click.


🚀 Features

  • One-Click Pricing: Adds a "Add" button to every item in your Bazaar "Manage" page.
  • Live Market Data: Fetches the real-time market value for items using the official Torn API.
  • Smart Auto-Fill: Automatically fills both the price and the maximum available quantity for the item.
  • Customizable Discounts: Set a default percentage to undercut the market average (e.g., list at 1% below market value).
  • Safety Guards: Includes a "Price Floor Warning" to alert you if an item is being listed dangerously low compared to market value.
  • API Caching: Caches price data for 5 minutes to minimize API calls and speed up usage.

🛠️ Installation

  1. Install a Userscript Manager:
    • Tampermonkey (Recommended for Chrome/Edge/Firefox)
    • Violentmonkey
    • Torn PDA Users: This script works in Torn PDA. You will need to install it within the userscript manager integrated into the PDA app (usually via a link to Greasy Fork).
  2. Install the Script:
    • Find the script file (usually named Torn Bazaar Quick Pricer.js) and paste the code into a new userscript in your manager.
  3. Reload Torn:
    • Refresh your Torn Bazaar page to initialize the script.

⚙️ Configuration

API Key Setup

Upon first use, the script will prompt you for your Public API Key.

  1. Get your Key: Go to Torn Settings → API Key.
  2. Create Key: Generate a Public key.
  3. Enter Key: Paste it into the prompt when the script loads.

Changing Settings

You can adjust your pricing strategy at any time:

  • Look for the gear icon in the same line as the bazaar name.
  • Discount Percentage: Set how much to undercut the market (default is 1%).
  • Price Floor: Set a warning threshold percentage.
  • Clear Cache: Force the script to re-fetch fresh prices.

📖 How to Use

  1. Navigate to your Bazaar in Torn.
  2. Click on "Manage Items".
  3. You will see a green Add button appear next to each item.
  4. Click the button:
    • The script fetches the current market value.
    • It calculates your price (Market Value - Discount).
    • It fills the price input and maxes out the quantity.
  5. The price box will flash green to confirm the value has been set.

⚠️ Disclaimer

  • Use at your own risk. While this script uses public API data and does not automate actions, always adhere to Torn's scripting rules.
  • This script is not affiliated with or endorsed by Torn.

Created by Zedtrooper [3028329]