Skip to content

feat(leathercraft): ancient runic leather stirrup leathers bench, mithril tread, and valkyrie rig engine - #313

Open
angelTomo9 wants to merge 1 commit into
Bitcoindefi:mainfrom
angelTomo9:feat-stirrup-leather-1788541914692
Open

feat(leathercraft): ancient runic leather stirrup leathers bench, mithril tread, and valkyrie rig engine#313
angelTomo9 wants to merge 1 commit into
Bitcoindefi:mainfrom
angelTomo9:feat-stirrup-leather-1788541914692

Conversation

@angelTomo9

@angelTomo9 angelTomo9 commented Sep 4, 2026

Copy link
Copy Markdown

🎯 Ancient Runic Leather Stirrup Leathers Bench, Mithril Tread Iron & Valkyrie Aerial Rig Engine

📋 Overview

Implements a specialized leathercraft subsystem for OpenAO simulating stirrup strap stitching benches and tread iron shaping rigs for equestrian combat balance and aerial mounting.


✨ Features & Architectural Guarantees

  1. Tiered Stirrup Leathers Benches & Sanctums: ASH_STIRRUP_LEATHER_BENCH (durability: 85, power: 25, 85% success), RUNIC_IRONWOOD_KNIGHT_RIG (durability: 190, power: 65, 92% success), and CELESTIAL_VOID_VALKYRIE_AERIAL_SANCTUM (durability: 330, power: 120, 99% success).
  2. Recipes & High-Grade Materials: NOVICE_MOUNTED_STIRRUP_LEATHER (requires TANNED_HEAVY_BUFFALO_STIRRUP_STRAP), WARMASTER_MITHRIL_TREAD_STIRRUP (requires TEMPERED_MITHRIL_TREAD_IRON_SET), and CELESTIAL_VOID_VALKYRIE_AERIAL_STIRRUP (requires CELESTIAL_VOID_STARLIGHT_VALKYRIE_LEATHER).
  3. Zero-Defect Protocol & Hardened Mechanics:
    • Immutable Cloning: Preserves input bench instances without mutation across craft and maintain routines.
    • Upfront Material Deduction: Deducts required raw materials deterministically before checking success rolls.
    • Durability Threshold Gating: Bench flips to non-functional when durability falls below 10, preventing further crafts.
    • Crypto-Secure RNG: Default rolls strictly in [0, 1) using Node.js crypto primitives.
    • Calibrated Clamping & Dynamic Power Ratio: Authoritative static catalog maxima preventing runtime allocations and bounded quality multipliers in [0.8, 1.2].

🧪 Verification

  • Unit test suite: api/src/tests/ancientRunicLeatherStirrupLeathersBench.test.ts
  • Vitest: 7/7 tests passing (100% test coverage).

@gitar-bot

gitar-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant