Commit Graph

11 Commits

Author SHA1 Message Date
CHOMPStation2StaffMirrorBot
ed532c2574 [MIRROR] adds missing SIGNAL_HANDLERs (#10768)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
2025-04-26 22:06:18 +02:00
CHOMPStation2StaffMirrorBot
ce2446922e [MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-08 22:22:04 +01:00
Cadyn
ccad338c93 Tgpanel (#8007)
Co-authored-by: ItsSelis <selis@xynolabs.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-03-24 12:19:07 +01:00
Raeschen
7dbb3ba53c Remove recursivemove + signals from being on EVERY machine by default (#7992) 2024-03-19 21:02:06 +01:00
Cadyn
0fdd1ffc83 Move recursive listening to component (#7894)
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-03-08 13:49:31 +01:00
Cadyn
b90f7ec922 The 515 MegaPR early downport (#7783)
Co-authored-by: Selis <selis@xynolabs.com>
Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: SatinIsle <thesatinisle@gmail.com>
Co-authored-by: Heroman <alesha3000@list.ru>
Co-authored-by: Casey <a.roaming.shadow@gmail.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-02-27 20:17:32 +01:00
Heroman3003
2281afdf24 More 515 Compatibility 2023-06-05 21:21:35 +00:00
Atermonera
a06aa9bdf6 [PORT] Static Machinery Power 2020-05-31 11:16:41 -04:00
Aronai Sieyes
d3da6ae4a5 Refactor move code 2020-04-26 16:42:50 -04:00
Leshana
e36410de25 Address static power review suggestions. 2020-04-23 23:00:23 -04:00
Leshana
763753648b Implements "static" area machinery power usage
- Instead of using auto_use_power to re-tally up machinery's power usage every cycle, track the steady "static" load separately from the transient "oneoff" usage.  Machines then only need to inform the area when they use oneoff power or *change* their steady usage.
- Remove auto_use_power and stop SSmachines from calling it.
- Add vars to track "static" usage for each of the three power channels to /area
- Rename the existing three vars to "oneoff" so its clear what they mean (and to catch people accidentally updating them directly)
- Update area power procs and APCs to use the new variables.
- Rename /area/proc/use_power() to use_power_oneoff() to make it clear what it is doing.
- Deprecate /obj/machinery/use_power() in favor of use_power_oneoff() but don't delete yet.  Can transition gradually.
- Add logic to the update_power procs on machines to calculate the deltas and update static area power whenever their usage changes.
- Add logic to machines to update area power when they are created, destroyed, or move.
- Moved /obj/machinery procs related to area power usage into machinery_power.dm to make them easier to find.
- Added or updated comments in several places to explain what is going on and how to use it.
2020-04-23 19:04:34 -04:00