Skip to content

Factorio Market Generator. Create custom trade offers with quality scaling and discounts.

License

Notifications You must be signed in to change notification settings

FCTostin-team/market-code_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCT Market Generator GitHub

HTML5 CSS3 JavaScript Factorio

A specialized web tool designed to generate Lua console commands for spawning "Market" entities in Factorio. It allows users to create complex trading posts with custom buy/sell orders, automatic price scaling based on item quality (Common to Legendary), and bulk discount application.

Features

  • Custom Trade Offers: Easily configure multiple rows of "Buy" and "Sell" items with specific counts.
  • Quality Scaling: Automatically adjusts trade ratios based on item quality (Normal, Uncommon, Rare, Epic, Legendary) using customizable percentage modifiers.
  • Space Age Support: Includes a comprehensive item database supporting Factorio 2.0 and Space Age expansion items (e.g., Foundry, Railgun, Promethium).
  • Discount Logic: Apply global percentage discounts to all generated trade offers instantly.
  • Lua Code Generation: Outputs ready-to-use /c commands to spawn the market at the player's location.

Installation and Usage

  1. Clone the repository or download the index.html file.
  2. Open the file in any modern web browser.
  3. Set your desired quality multipliers and discount percentages.
  4. Add trade rows and select items from the visual dropdown menu.
  5. Click "Обновить код" (Update Code) and copy the result to the Factorio console.

Community and Support

Project created with the support of the FCTostin community.

YouTube Telegram Steam

Support the Development

Patreon Boosty