Skip to content

[FEATURE] Add managed air-conditioner state and control API #292

Description

@ifBars

What would you like to see?

Add a managed wrapper and registry for placed native air conditioners.

The first version should expose:

  • current mode through an S1API-owned AirConditionerMode enum;
  • the existing wrapped TemperatureEmitter associated with the unit;
  • position/GameObject access and discovery of active units;
  • a managed mode-changed event;
  • safe server-authoritative operations for off, cooling, heating, and selecting a mode.

Why would this help?

The temperature API delivered in #237 makes emitters and world-temperature queries reusable, but mods still need native ScheduleOne.Temperature.AirConditioner and its network methods to inspect or control the furniture that drives those emitters. A supported wrapper would enable HVAC controls, automation, custom furniture integrations, and temperature UI on Mono and IL2CPP.

Extra Context (Optional)

Keep the initial API limited to existing placed air conditioners and native temperature behavior. Custom HVAC simulation, custom replication, replacement UI, and custom air-conditioner prefab authoring should remain out of scope.

Validate discovery, mode transitions, event timing, host/client authority, scene reload, and stale-wrapper cleanup separately on Mono and IL2CPP.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions