This document summarizes all changes made to American Manufacturing 2026 since commit a819442. The updates include major new features, bug fixes, gameplay improvements, and a complete theme overhaul celebrating American manufacturing.
MEGA ARMs can now deliver items in any of the 4 cardinal directions (Up, Down, Left, Right), independent of their pickup direction. Click a placed MEGA ARM to configure its delivery direction via an intuitive modal interface.
Unified modal interface for configuring FILTER ARM, SMART ARM, and MEGA ARM features:
Redesigned toolbar shows the best available variant for each equipment type based on current level. 7 hotkey slots (1-7) automatically upgrade to show higher-tier variants as you level up.
Complete game state persistence including buildings, items, inventory, money, metrics, ARM filters, and MEGA ARM delivery directions. Auto-saves on page unload.
Real-time revenue tracking chart shows income rate over time, helping players optimize their production lines.
SMART ARMs can filter items by type, only picking up selected item types (PLASTIC, STEEL, MOLD, or PART).
Expanded from 3 to 5 independent real-time graphs, each with auto-scaling:
Building inspector now positions itself intelligently near the inspected building instead of fixed corner placement. Automatically adjusts position to stay within grid bounds, preferring right, then left, then below placement.
Arms now correctly pick up items in First-In-First-Out order. Previously, arms selected items based on position within a tile, causing items to get "stuck" and skip ahead in the queue. Arms now pick the item furthest along the belt (highest progress value).
Regular PRESS machines no longer accept QUAD MOLDS that they cannot use. Only MEGA PRESS can accept and use quad molds for 4x output.
MEGA PRESS now correctly uses quad molds after variable rename from PRESS_F to PRESS_M. Quad mold logic updated to check for 'press_mega' ID.
Direction buttons in modal now correctly map to board directions. Fixed mismatch where clicking RIGHT arrow was setting DOWN direction due to incorrect array ordering.
Pressing 'I' key no longer accidentally triggers victory modal.
Items and buildings outside grid bounds are now properly skipped during save/load to prevent errors.
Removed errant element in end game that was breaking the victory report display.
MEGA CNC quad mold production now correctly tracked in tooling rate metrics. Previously only regular molds from standard CNCs were counted.
Grid increased from 18Γ20 to 35Γ32, providing significantly more building space for complex production lines. Grid refined through multiple iterations for optimal balance.
Added animated fireworks and larger industrial sparks for enhanced visual feedback during gameplay.
Victory card redesigned to match intro card styling. "Reset Game" renamed to "New Facility" with improved flow. Victory now properly resets to new facility.
Press the V key at any time during gameplay to view your current performance statistics and victory report card, allowing you to track progress toward the $1M goal.
MEGA ARM color changed from dark blue to bright cyan (#64b5f6 β light blue #64b5f6) for better visibility on the game board.
MEGA tier equipment standardized with '_M' suffix and 'M' icon (PRESS_F renamed to PRESS_M, icon changed from π+ to πM).
Right-clicking when inspector is open now closes the inspector instead of deleting the building. Prevents accidental deletions and provides more intuitive two-step interaction (first close inspector, then delete if desired).
Each production graph now auto-scales independently based on its own data range, making trends easier to visualize regardless of relative magnitudes between different metrics.
Refactored graph variables and canvas IDs for clarity: gResCanvas β gPlasticCanvas, gProdCanvas β gPartsCanvas, graphResources β graphPlastic, graphProduction β graphParts.
Complete visual overhaul celebrating American manufacturing:
Game renamed to "American Manufacturing 2026" commemorating America's 250th anniversary (1776-2026). Year badges added with updated colors and styling.
Added credit to Aaron Slodev for original concept and game structure.
Removed Google boilerplate scripts, cleaned up unused code.
The game uses the following direction constants:
0 = RIGHT (x+1, y)1 = DOWN (x, y+1)2 = LEFT (x-1, y)3 = UP (x, y-1)New ARM building properties:
canFilter - Enables item type filtering (FILTER ARM, SMART ARM, MEGA ARM)canDirectDeliver - Enables omni-directional delivery (MEGA ARM only)filter - Currently selected item filter (null = all items)deliverDir - Delivery direction for MEGA ARM (0-3, defaults to rotation)Saved game state now includes:
π AMERICAN MANUFACTURING 2026 - Celebrating 250 Years of American Innovation π
Based on original concept by Aaron Slodev