goobwerx

The button you might already have pressed

Thermaplugg’s button duty moved to Lua. The native client still remembers an attempt when the game hasn’t confirmed it.

Someone has to handle Thermaplugg’s buttons. The companion client used to compile that assignment, the choice of which usable button to approach, and how often to scan into Go. Now the encounter and the default behavior both use the same editable Lua policy for those decisions.

Keep the attempt through the edit

A button press can reach the realm before the client knows what happened. Go validates reach and the current object, then records the attempt before sending the use. Within the same encounter, editing the script or resetting its state leaves that record in place. A matching observed face closure settles the attempt.

What the client knows about a button attempt
ObservationResponse
Refused before executionLua can time a retry.
Written or outcome uncertainKeep the reservation and await evidence.
Matching face closedSettle the recorded attempt.

The same-session tests edited the duty assignment and button choice, then exercised the cases where an attempted use stayed reserved. One local run of the focused native race tests reported 4.440 seconds. A separate race-test run covering the encounter bundle and same-session reloads reported 7.069 seconds. Those durations describe the two test workloads.

The dated entry marks the public merge after required CI. The evidence comes from source and a running test harness.

Thermaplugg policy change · Same-session and reservation tests · Required CI