Complete weapon wear admission
Unsupported weapon wear events are refused before any part of their bonuses applies. Previously Chesterfield Dining Chair122828 QL41 could be worn by a Solitus and added5 Psychic, although its original modifier requires Breed>3. The function condition is separate from the weapon's wear requirements.
ownedItem.isWieldableWeapon now validates every OnWear function through the
shared strict equipment-modifier validator. The original native HeadText
presentation function is also admitted with its checked descriptor shape;
its handler is client/game/kkr.dll/lifted-0057.c::sub_360C14E0. Undecoded
definitions are refused. The existing inventory rejection path retains the
instance and restores its native source icon. Admission is checked again at
the end of a pending equip delay.
Original contract audit
The retained full original-resource audit covers7,380 main-hand candidates.
Every source hash still matches local/weapon-contract-research/sources.json.
Comparing the actual Go predicate before and after this change finds exactly
93 newly refused records and no newly admitted records:
- 83 weapons with conditional modifiers.
- Eight weapons modifying stats277 or315, outside the supported validator.
- Temporal Chalice204706 and Unhallowed Chalice206016, with unresolved53162 wear functions.
Admissions change from7,379 to7,286. The pre-existing invalid damage interval
123868 remains refused. All eight issued starters and all four original
HeadText weapons remain admitted. Source descriptors, hashes, expected changes
and both predicate censuses are under local/weapon-wear-admission/.
This refusal is the reconstruction's unsupported-contract policy, not a claim
that the original game refused these weapons. The Chair is also refused for
Atrox until the complete conditional lifecycle is supported. Existing native
Tripler observations show that application and removal sample conditions
independently, can leave signed offsets, and differ between owner and observer.
Recomputing bonuses solely from current conditions would not match that
lifecycle. The evidence and unresolved authoritative-server questions remain
in docs/research-notes/weapon-contract-research/conditional-native-lifecycle.md.
This change validates OnWear only. Independent OnHit/Use contracts and the broader whole-item audit remain open. Solar starters retain their event10 descriptors. Stat315 has a NanoAC weapon-damage branch, but these five modifier records deal Energy damage; their practical effect is unresolved. The shared defense consumer admission now admits Jupiter208069..208071, whose complete wear effects add277. The wear gate admits 7,289 contracts. The resource-hit boundary below reduces current main-hand admission to 7,285; other events and the historical hit curve remain open.
Automatic resource-hit admission
Four original main-hand weapons have automatic event 5 Hit53002 effects: Neleb's Notum Battlerod 152026, Deimos' Bio-Enhanced Feedback Rifle 153981, Parasitic Hecataleech 206047 and Augmented Deimos' Bio-Enhanced Feedback Rifle 206048. The rod authors two nano hits; the other three author owner health hits. These effects have no server combat-outcome consumer. Accepting their wear applies a partial contract even when their ordinary damage is supported.
isWieldableWeapon now refuses these contracts before any wear bonus applies.
The existing delayed-equipment validator uses the same predicate. Ownership,
templates, selected quality, count and ammunition remain stored; refusal uses
the existing native source-icon correction. This is the reconstruction's
unsupported-contract policy, not a claim that the original game refused these
weapons. Implementing their hit effects remains part of the full-contract audit.
An original-resource census covers all 7,380 main-hand candidates and 437 event 5
contracts. Comparing the actual predicate before and after finds exactly these
four new refusals and no new admissions. The eight starters, four native
HeadText weapons and existing CastChance53089 admissions remain unchanged.
The separate proc gaps, including Briefcase of Holding, remain open; this
boundary does not claim their complete implementation. Complete resource-hit
sections, original payload hashes and the exact census are retained in
local/weapon-hit-admission/ and local/weapon-contract-research/.
TestWeaponHitEffectsRejectWearWithoutPartialBonuses uses the public inventory
handler for every resource-hit weapon with qualified skills, repeated wear,
byte-identical refusal storage and exact cold ownership. The short
TestBrowserWeaponHitAdmission baseline wore the rod and changed server maximum
nano 297 -> 347. The final controlled WASM check takes 21.36 seconds: two real
pickup/place refusals retain its usable carried icon, a supported bat completes
wear/remove/rewear, and page replay plus cold Go loading retain both exact IDs.
The refused screenshot was manually inspected. This is fixture evidence, not
earned progression or a recovered original-server rejection policy.
Related Go checks pass 186 roots and 4,748 results including subtests in
276 seconds. Three focused race roots pass seven results in 96.5 seconds;
maintained-package vet, driver syntax, gofmt and whitespace checks pass.
local/weapon-hit-admission/verification.json binds the exact four-contract
census change, real native requests/corrections, final item tuples, four
error-free traces without dropped events and the terminal Go results.
Focused verification
Public inventory regressions check both Solitus and Atrox refusal, unsupported scalar and53162 companions, all four supported HeadText weapons, and a contract changed during an equip delay. Refusals leave the stored item bytes unchanged, apply no bonus, publish no observer success, and survive cold loading.
TestBrowserWeaponWearAdmission uses two controlled native WASM clients and
three granted instances. The level100 checkpoint and trained skills isolate
wear admission; this is not earned progression evidence. With the old predicate,
actual pickup/place equips the Chair and produces the incorrect+5 Psychic.
With the fix, two repeated drags each receive the ordinary two-packet source-icon
correction; inventory, maximum nano and Psychic remain unchanged. Native input
also wears/removes the issued bat and Childhood Memory, then re-equips the bat.
Childhood Memory uses explicit pickup/place because right-click invokes its
independent Use action, including while worn.
Page reload and a fresh server retain all three physical IDs, qualities, counts
and slots without observer ownership leaks. The final native check passes in
74.83s (live43.09, cold31.74), or82.436s including Go. Refusal and cold screenshots
were reviewed. An independent verifier checks the failing baseline, exact
93-record census delta, both outgoing wear requests, four correction packets,
positive wear states and page/cold ledgers. All eight final traces have empty
error lists and zero dropped events. Final captures are under
local/weapon-wear-admission/20261102-164038/; the independent report is
local/weapon-wear-admission/independent-verification.json.
The related Go selection passes49 roots and543 individual results in178.210s, covering shared bonuses/timing, starters, selected weapon qualities, independent Briefcase Use, and bank/reclaim recovery. Six opt-in browser tests skip in this normal run; the focused native wear test above runs separately. Vet, Node syntax, gofmt and whitespace checks pass. All four new Go roots also pass under the race detector:14 individual results in96.830s.