Throwdowns: fixes the docs review found in the kit and its services

- match.teleports lets through only the publishing plugin's own teleports, and only while its
  match runs (its HUD is active, or the native flag is one of its modes); it was merged across
  every plugin and checked no match.
- A mode's timer of 0 or past an hour no longer makes its card do nothing: the native flag takes
  it as 1 to 3600 s. flag.begin's seconds are checked as 1 to 3600, as the flag takes them.
- skater.push and hold(true) return false with a reason without the stock physics, where they
  were dropped unseen.
- telemetry's slam and struck are news since each plugin's own last read; reading them cleared
  them for every plugin.
- A banner or callout of a new match shows whatever serial it starts from, and a document without
  the slot no longer resets its serial.
- SmokeyDawg58's placement no longer divides input.wheel's whole notches by WHEEL_DELTA again.
This commit is contained in:
AyeZeeBB committed 2026-10-20 13:30:27 -05:00
1 parent efeae7e07d
commit bf693dbe5c
17 files changed
+81 -42

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ void field_vec(lua_State* L, const char* name, const Vec3& v) {
// skater.telemetry(): the trainer's telemetry, its last jump, the physics watch and the bail's body.
int telemetry(lua_State* L) {
auto& plugin = allowed(L, "skater.read", "reskate.skater.telemetry");
const auto t = game_of(plugin).skater_telemetry();
const auto t = game_of(plugin).skater_telemetry(plugin.id());
if (!t) {
lua_pushnil(L);
return 1;