Files
EscapistsReintroduced/docs/evidence/epinephrine-eligibility-2026-11-05/proposal/finding.json
T
jakub 9caed3f12d
continuous-integration/drone/push Build is passing
Embed RHS 1.9 compatibility; record Workshop 0.0.141
2026-11-05 16:39:35 +01:00

46 lines
2.6 KiB
JSON

{
"status": "demonstrated in actual-method policy harness",
"trigger": "Living conscious nonbleeding patient; blood above native FAINTING threshold but below full; resilience and physical zones full.",
"before": "CanApplyEffect admits blood<1; actual authored OnEffectAdded leaves this patient unchanged. Native ordinary consumable application deletes on use, so eligibility can offer a finite useless dose.",
"after": "Blood-only admission uses the same <=FAINTING threshold as the unchanged effect. Explicit native unconsciousness is independently useful and admitted after missing/dead guard; missing controller does not block other benefits.",
"scope": "One eligibility method and appended controls in existing registered test_player_medical.py; no new effect, refill, stock, source actor or controller flow.",
"unchanged_method_hashes": {
"class ERR_ConsumableEpinephrine": "f9e1d20314a2fe27f91b54fd129406b5aa3ad07f88f07094c2677652a5ea9597",
"class ERR_EpinephrineEffect": "fbce1bd66fecbcc5e36772aaea16291e380a1b3eb5c77ae93c34f7aac5f240e1",
"class ERR_CombatEpinephrineRules": "b9d8faa84f90a8ab7d159136c6273c957ab363337d83ba28d29c2ab613e10fd9",
"class ERR_CombatEpinephrineEffect": "21b78b827258b76e0edd51dc6b9f39f7d354a2b1876fe15c6e7dd37c45c917d7",
"modded class SCR_MorphineUserAction": "633db427c1b287075f922d97b2fe5ef27f4bae795b0dacb3221562ca7b0b5059"
},
"validation": [
{
"case": "baseline-red",
"exit_code": 1,
"log": "baseline-red.log",
"expected": "runtime assertion failure",
"result": "compiled, assertion !f.Allowed() fails for mild blood-only patient"
},
{
"case": "green",
"exit_code": 0,
"log": "green.log",
"expected": 0,
"result": "all existing and appended controls pass"
},
{
"case": "consciousness-mutation-red",
"exit_code": 1,
"log": "consciousness-mutation-red.log",
"expected": "runtime assertion failure",
"result": "compiled, assertion f.Allowed() fails for unconscious patient"
}
],
"limitations": [
"Native superclass/effect propagation and inventory/animation/remote consumption are opaque doubles; no new native test or multiplayer qualification.",
"Inspected vanilla consumable implementation is retained local script-diff-v1.8.0.10 source, not a newly verified live SDK version.",
"Prior compile-only mutant rejected due unused variable is preserved separately and is not runtime proof."
],
"reference_metadata": {
"/home/jakub/devel/escapistsrereintroduced/addons/core/Prefabs/ERR/CombatEpinephrine.et": "aa57d78bae861dc4a0fc509f7916190d2f2f0b36a1c3867f9bf9a071717cd7f5"
}
}