Torn Bazaar Quick Pricer

Auto-fill bazaar items with market-based pricing

当前为 2025-12-23 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Fackson Mutetesha
评分
0 0 0
版本
2.3
创建于
2025-12-11
更新于
2025-12-23
大小
22.3 KB
许可证
MIT
适用于

Torn Bazaar Smart Pricer

Author: Zedtrooper [3028329]
Current Version: 2.3

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]