aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


docs/early-armor.md (12405B)


Low-Tech starter armor

Basic Omni, Clan and neutral armor terminals offer the complete Low-Tech set at QL1 and QL2 alongside the QL5 Metaplast subset. Eight explicit original endpoint pairs cover QL1..200, including alternate body and leg styles. The existing item-quality, requirements, armor, price, native delivery and transaction code supplies all behavior; there is no Low-Tech-specific Go branch.

Original item evidence

The glove pair provides the following worked interpolation example.

Both complete 14.9.1 records have type 51022, ItemType 2, CanWear, gloves slot mask 256, one texture descriptor and eight unconditional armor modifiers. Their section/action/function layouts match. The only variable scalar properties are quality stat 54, value stat 74 and properties 1/2; armor effects and strict Agility (stat17) / Strength (stat16) wear thresholds also vary. Their description explicitly calls the metal-plated clothing cheap and uncomfortable.

QL Strength / Agility must exceed AC90..97 Base value
1 7 / 7 3/3/1/1/1/1/1/1 125
2 9 / 9 4/4/2/1/1/1/1/1 127
100 227 / 252 110/110/94/19/19/19/19/19 29536
101 230 / 255 111/111/94/19/19/19/19/19 30134
199 448 / 498 217/217/186/37/37/37/37/37 117773
200 450 / 500 218/218/187/37/37/37/37/37 118965

Intermediate values use the existing native-derived rounding and quadratic value stat 74 curve. Requirements remain strict; equality rejects wear without losing the item. Either stored endpoint resolves the same selected quality. The nearer endpoint supplies nonnumeric fields, with exact boundary delivery collapsing to one template. Armor overequipping retains the shared per-instance rules.

Original payload SHA-256:

Complete records, byte slices, index digest, catalog equality and every differing scalar, effect and criterion are retained in local/early-armor-research/audit.json. These records establish item behavior, not a universal pairing heuristic or original shop stock generation.

Complete set

All eight pairs have matching complete section layouts, unconditional armor effects and strict Agility/Strength requirements. At QL1 both abilities must exceed 7; at QL2 both must exceed 9. The alternate body and leg records retain their distinct original visual descriptors. They do not add an inferred sex restriction. Each sleeve can occupy either authored arm slot, and two sleeves are separate instances.

Piece Original QL1/200 pair Logical wear slot Base value QL1/2 AC90..97 at QL2
Boots 70558/85640 30 142/146 5/5/2/1/1/1/1/1
Body 70559/85689 21 500/512 9/9/9/2/2/2/2/2
Female Body 70560/85688 21 500/512 9/9/9/2/2/2/2/2
Sleeves 70561/85744 23 or 25 125/127 4/4/2/1/1/1/1/1
Gloves 70562/85597 24 125/127 4/4/2/1/1/1/1/1
Helmet 70563/85558 18 375/384 6/6/6/2/2/2/2/2
Pants 70564/85515 27 312/319 6/6/5/1/1/1/1/1
Shorts 70565/85514 27 312/319 6/6/5/1/1/1/1/1

The independent source-payload comparison in local/low-tech-set/audit.json checks all 16 records against the decoded catalog, retains their byte slices, offsets and hashes, and rejects undecoded tails. The original index SHA-256 is 46e5dc54af9358cc9bff05f4358e86af630e497bc677f361c133c88073b84d71. Only stats 54, 1, 74 and 2, eight armor amounts, and the two requirement thresholds differ within each pair. All other sections match after those numeric changes are normalized. The hand-reviewed pairs are added directly to the shared table.

Purchase policy and progression boundary

The sixteen fixed Low-Tech rows in basic armor templates 99383/99502/99570 are reconstruction policy. Original terminal descriptions establish the basic armor category, without enumerating membership or refresh probabilities. No advanced, superior or training-terminal stock is inferred from this subset. No creature acquires an equipment drop from this change.

For gloves and sleeves at effective Computer Literacy 40, QL1/2 cost 124/126 credits in Omni basic armor and 130/132 in Clan/neutral. At a starter's lower literacy the Omni prices are 125/127. This preserves original values and vendor modifiers. QL1 can be worn with two abilities at 8, while QL2 requires 10; ordinary IP and breed/level caps still apply. These are cheaper low-level upgrades, not proof that the current loot economy funds them suitably or that every breed can immediately wear them. An ordinary earned-income QL1 purchase/equip check now passes for the retained level-2 Enforcer: four generated Parts and one spare fixed-mission reward funded the 125-credit purchase, with the original reward, bought instance, effects and 9-credit balance retained after cold restart. See earned armor purchase. Broader loot/recovery economics and other starter breeds remain open.

A seven-piece set uses one body, one pants/shorts record, boots, gloves, helmet and two sleeves. With low Computer Literacy, QL1/2 cost 1704/1742 credits at the Omni basic terminal, or 1787/1826 at Clan/neutral terminals. Its combined AC90..97 is 23/23/15/7/7/7/7/7 at QL1 and 38/38/28/9/9/9/9/9 at QL2. Removing one sleeve subtracts exactly that instance's contribution. These prices retain the original item values and vendor modifiers; they do not establish that starter loot suitably funds a complete suit.

Verification

Public inventory handlers test both stored anchors at QL1,2,100,101,199,200, including equality rejection for each requirement, native wear endpoints, resolved value, all eight armor effects, removal and cold identity conservation. Production-booth tests buy both qualities in all three factions with the exact required balance, wear/remove and sell once despite a repeated acceptance. Failed item inserts, ignored placement and deferred commit failures retain cash, items and identity counters; the same purchase can retry successfully.

The full-set extension checks both stored endpoints of each new family at QL1, 2, 100 and 200, including each strict requirement, all eight ACs, selected native endpoints, authored prices, removal and cold identity retention. Seven-item baskets purchase and wear independent sleeves at both low qualities in all three factions using the exact required balance. A failed item write, ignored location write or failed COMMIT on the second sleeve rolls back the whole basket and retries without charging twice or skipping identities.

The original sleeve icon 1010008/13228 is a 48x48 RGB PNG containing almost only chroma-key green and a tiny shoulder in its upper-right corner. Its SHA-256 is 96f502c15fc7275f2a018ca808a61be2900cb11438c91285809a6fceae537cc0. The native shop/inventory image matches this nearly empty source asset. Its tooltip, quote, wear action and instance remain usable. This is distinct from an instance disappearing or the WASM renderer dropping a valid icon. A separate TODO asks for period-supported corrected artwork rather than silently replacing the original.

The armor/shop regression selection passed 111 roots / 1,200 results; the new lifecycle selection passed 3 roots / 24 results under the race detector. Vet and the development-server build passed. These checks exercise the existing shared consumers rather than introduce a separate armor implementation.

A headless Chromium WASM session used the GPU OpenGL renderer, verified from its actual GPU metadata. Native controls bought QL1 for 125, wore it at abilities 8 and applied 3/3/1/1/1/1/1/1 AC. Removal cleared those effects. A canceled sale retained the item and wallet 127; the accepted sale removed it and credited 7, leaving 134. The QL2 purchase cost 127 and retained the low/high pair 70562/85597. Wear at abilities 8 failed with the native requirements message for 10; at 10 it applied 4/4/2/1/1/1/1/1 AC. Another QL1 stock pick correctly reported 118 extra credits needed from the remaining 7. These are controlled funds, stats and location, not the ordinary earned-income acceptance scenario.

Initial exploratory catalog interactions sent no purchase request and are not counted as purchases or rejection coverage. Actual successful offers, payments, wear, cancellation and sale are checked against read-only native snapshots and SQLite. The temporary driver closes its owned browser in finally; user-owned desktop sessions are left alone. Evidence is retained in local/early-armor-research/.

After closing the browser and restarting the sole preview, a fresh WASM session retained exact worn instance 15 at QL2, wallet 7 and all eight armor bonuses. The sold QL1 instance 14 remained absent. No page exception or adapter abort occurred; ordinary resource 404 console entries are retained separately. Only the owned fixture account and remaining purchased item are cleaned up; unrelated rows and SQLite integrity are checked before restoring the single HTTPS preview.

Complete-set native check

The retained ordinary level-3 Enforcer walked from Backyard 1 through Omni Entertainment to basic shop 1183 without admin location, skill or cash edits. It bought QL1 sleeve 125 for 125 earned credits, leaving 31. Native wear selected left arm 25 and raised AC90..97 from 3/13/1/1/1/1/1/1 to 6/16/2/2/2/2/2/2. Removal restored the baseline; re-wear and reconnect retained all 18 owned instances, their quantities and placements. All prior item records, wallet metadata, XP, IP, stats and mission/death facts remained unchanged apart from the intended cash debit and ordinary travel fields.

A separate isolated visitor used controlled funds, location and abilities to check the whole QL2 suit. Seven pieces cost 1742 from 5000. At abilities 9, the native client displayed both required values 10, rejected wear and retained all seven items. Raising only the fixture's two abilities to 10 allowed wear. The second sleeve's right-click targeted the occupied left arm; the server's correction retained it. Explicit pickup/place into right arm 23 completed the set, with native AC 38/38/28/9/9/9/9/9 and two separate sleeve identities.

The fixture then bought the alternate Female Body and Shorts for 831, leaving 2427. It removed the original body/pants and wore both alternatives. All nine instances survived reconnect; the replaced pieces remained in ordinary inventory and the combined AC stayed unchanged. This exercises the original style descriptors and shared wear path, not normal-play affordability of a complete suit. The earned character's 18 items and 31 credits were unchanged by the controlled fixture.

Both browsers closed before the sole default-port preview restarted with the same binary. SQLite retained all 59 item records and placements, both players, and the earned mission/death history. Fresh native clients restored all 18 earned and all nine fixture identities, counts, qualities and wear positions, their wallets and the same armor totals. All four native sessions used the GPU/OpenGL renderer. Evidence, GPU metadata, wire streams, read-only native probes and database snapshots live in local/low-tech-set/.

Those full-set captures retain green neck/arm/leg regions. The subsequent shared skin-compositing fix restores the original RGB565 merge key and verifies Low-Tech skin and both sleeves through live changes, page reconnect and settled cold appearance. The almost empty original sleeve icon is a separate source-asset issue. Page exceptions and adapter-abort diagnostics were absent in the controlled set/style run and the later appearance check.

The complete maintained Go run passes 1676 root tests / 16515 results with no skipped tests. The new armor and purchase selection passes 96 results in seven roots under the race detector; the related normal runs and all 43 family-range results also pass. Vet passes for the maintained server and export packages. The initial full-set fixture expected allocation in click order; its six failed cases are retained separately. Correcting that expectation to the existing catalog order required no runtime change. The subsequent full suite is clean.