Commit Graph

8 Commits

Author SHA1 Message Date
SkyratBot
7ac51736fe [MIRROR] Some nightshift fixes [MDB IGNORE] (#15126)
* Some nightshift fixes (#68566)

Fixes APC night shift manual cycling balloon alert; update_nightshift uses the correct variable

* Some nightshift fixes

Co-authored-by: Profakos <profakos@gmail.com>
2022-07-22 11:50:43 -07:00
SkyratBot
7156f4e38d [MIRROR] Resonance cascade polishening, bugfixes and better logging [MDB IGNORE] (#14351)
* Resonance cascade polishening, bugfixes and better logging

* Update light.dm

Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-19 22:43:21 +01:00
SkyratBot
bcf99a79ac [MIRROR] Better cyclelink_helper_multi and duplicate apc logging [MDB IGNORE] (#13922)
* Better cyclelink_helper_multi and duplicate apc logging (#67151)

* Better cyclelink_helper_multi and duplicate apc logging

Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-05-26 23:24:35 +01:00
SkyratBot
78a01022cd [MIRROR] Moves APC Mapping Checks to Mapload rather than New (CI IS SAVED EDITION) [MDB IGNORE] (#13866)
* Moves APC Mapping Checks to Mapload rather than New (CI IS SAVED EDITION) (#67193)

* Moves APC Mapping Checks to Mapload rather than New

We've been dealing with this issue for a few months now, and I've grown tired of explaining the problem after I figured it out and decided to finally fix it today.

Basically, this check ran at _all_ times, rather than just on mapload (even though it logs to log_mapping). Not good, let's fix that by shuffling some stuff around. I tested this code and I was able to organically create an APC, and all the APCs on load didn't appear to be absolutely fucked in some horrific way.

* dmdoc

* Moves APC Mapping Checks to Mapload rather than New (CI IS SAVED EDITION)

Co-authored-by: san7890 <the@san7890.com>
2022-05-25 01:04:05 +01:00
SkyratBot
c1a1683db6 [MIRROR] removes permeability, rolling it into bio armor [MDB IGNORE] (#13435)
* removes permeability, rolling it into bio armor

* e

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:16:27 +01:00
SkyratBot
a2aac9dd31 [MIRROR] updateDialog and updateUsrDialog cleanup [MDB IGNORE] (#13118)
* updateDialog and updateUsrDialog cleanup (#66494)

This PR focuses on cleaning up two procs - updateDialog and updateUsrDialog. Both of which are/were used updating for old HTML UIs. As these UIs got converted to TGUI over time, these old code fragments started to pile up, often due to coders simply overlooking them. This resulted in them being dead code doing nothing when called, or randomly opening up windows when they shouldnt, for example when a vending machine is screwdrivered and UI cannot even be interacted with.

However, there were also some desirable uses - like opening a window when an ID is inserted into civilian bounty console, which you are then gonna obviously use to pick a bounty. I kept these uses and replaced them with proper ui_interact, so they now always work, instead of them working only when you had them set as a currently used machine on mob. The list of these changes is:

    Civilian Bounty Console will now always bring up its UI when you insert the ID.
    Air Alarm and APC will now always bring up its UI when you unlock their controls.
    Portable Chem Mixer, Chem Dispenser, Chem Heater, Improvised Chem Heater, Chem Spectometer and Chem Master will now always bring up their UI when you add or replace beaker to them.

Two old /Topic calls were cleaned up as well, as they were no longer relevant.

Removes dead or outdated code, adds sensible UX when working with certain UIs.

* updateDialog and updateUsrDialog cleanup

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2022-04-26 15:26:56 +01:00
SkyratBot
49f3040f5b [MIRROR] [gbp no-update]fix apc as anything runtiming [MDB IGNORE] (#12985)
* [gbp no-update]fix apc as anything runtiming (#66344)

* fix as anything runtiming

* Apply suggestions from code review

* [gbp no-update]fix apc as anything runtiming

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2022-04-22 00:09:52 +01:00
SkyratBot
353a2b9a73 APC code deep cleaning (#12848)
Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2022-04-17 08:49:49 -07:00