Dynamic Facility & Product Recipe Administration
BizEmpire provides administrators with an interactive, zero-downtime configuration console (/admin) for creating unit archetypes, defining manufacturing recipes, and establishing retail store commerce rules.
1. Product Recipes & Retail Eligibility
- Free Trade Economic Principle: In BizEmpire, selling prices are 100% player-driven. Players set their own ask prices when listing goods on the Commodity Exchange floor and configure custom retail shelf prices for each commodity in their Retail Stores.
- Guide Benchmark & Elasticity: The catalog price configured by administrators acts as an initial historical benchmark and baseline for the municipal consumer elasticity index (
0.10to1.00). - Retail Store Eligibility: -
- Manufacturing Recipe Builder: Specify input ingredients and quantities (e.g.
2\times\text{Raw Cotton} + 1\times\text{Woolen Cloth} \to \text{Cotton Shirt}). - Producing Facility Types: Multi-select the factories, mills, mines, or farms capable of manufacturing the product.
- Identifier & Label: e.g.
cotton_mill→ "Cotton Spinning Mill". - Industry Classification:
office,mine,farm,factory,retail,warehouse,laboratory. - Required Machinery:
- Minimum Qualification: Baseline employee skill score required (
Q1.0toQ5.0). - Inputs & Outputs: Specify raw material requirements and manufactured yields.
- Reflected in player commission modals (
GET /api/divisions/unit-types). - Enforced during tick cycles (
server/game/production.js). - Filtered in municipal citizen demand (
server/game/npc_market.js).
✅ Sold at Retail: YES: Consumer commodities (e.g. Shirts, Tailored Garments, Bread, Sugar, Woven Cloth) that municipal citizens purchase directly from Retail Stores.
- ❌ Sold at Retail: NO (B2B Only): Wholesale raw materials, heavy machinery, or intermediate inputs (e.g. Raw Cotton, Iron Ore, Crude Oil, Blast Furnaces) that are restricted to inter-enterprise trade and processing.
2. Facility & Unit Types Builder
Administrators can commission new factory, mill, mine, and farm types without modifying source code:
-
computers: Computers & Workstations (for Offices & Research)-
drills: Heavy Drilling Machinery & Rotary Rigs (for Mines & Wells)-
looms: Industrial Weaving & Sewing Looms (for Factories)-
furnaces: Blast Furnaces & Distillation Columns (for Smelters & Refineries)-
saws: Hydraulic Saw Rigs (for Lumber Mills)-
farm-tools: Harvesters & Tractors (for Arable Farms)-
shelving: Commercial Shelving & POS Registers (for Retail Stores)---
3. Real-Time Engine Synchronization
All configurations persist automatically to server/config/economic_registry.json and are immediately: