Commit Graph

945 Commits

Author SHA1 Message Date
SkyratBot
fddd4fd8f0 [MIRROR] atmos binary devices code cleanup + docs (#3525)
* atmos binary devices code cleanup + docs (#57019)

* atmos binary devices code cleanup + docs

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2021-02-20 00:48:19 +00:00
SkyratBot
8f0a62d175 [MIRROR] components_base.dm code cleanup + docs (#3522)
* components_base.dm code cleanup + docs (#57018)

* components_base.dm code cleanup + docs

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2021-02-20 00:47:25 +00:00
SkyratBot
4c0077d6ab [MIRROR] Fixes Cigarettes being lit in no-oxygen environments (#3507)
* Fixes Cigarettes being lit in no-oxygen environments (#56911)

This closes #26487 (Issue about cigs working fine in non-oxygenated enviroments) which has been a known bug for years. Everyone knows how EXTREMELY CRITICAL cigarettes are to game balance. Plasmamen being able to smoke in a room with no oxygen? Spessmen smoking in the hard vacuum of space? What is this madness?!?

I must put an end to these OP tactics.

My changes make it so that if a cigarette has either one mole of oxygen in the current atmosphere or is injected with oxygen reagents, then it can be smoked.

I've also made it so "Space" cigarettes can be smoked in space by changing the default starting reagents to include oxygen. The description was also updated to hint that they can be smoked anywhere.

Also I added a has_gas proc to gasmixtures. I have seen a few places in the code where this can be used and once this gets merged, I will be doing a refactor to clean some code involving it. (bonfires, plasmamen code, etc.)

(Note from lemon, if you use this in the supermatter I will eat you)

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>

* Fixes Cigarettes being lit in no-oxygen environments

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>
2021-02-19 17:03:09 +00:00
SkyratBot
18eca27569 [MIRROR] update_appearance (#3508)
* update_appearance

* a

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-19 16:08:09 +00:00
SkyratBot
43febe3145 [MIRROR] Converts many proc overrides to properly use list/modifiers, lots of other smaller things (#3433)
* Converts many proc overrides to properly use list/modifiers, lots of other smaller things

* Update human_defense.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-17 14:18:21 +00:00
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
20aa852ffd [MIRROR] Makes cryo handle reagent transfer better. (#3237)
* Makes cryo handle reagent transfer better. (#56755)

Cryogenics has a reagent_transfer variable that is set to throttle the
reagent injection. Upgrading bins increase efficiency and transfer
amount, thus making the reagent_transfer threshold larger, making it
take longer between each injections.

However, this variable is stored
in the object itself and not on the process proc, presumably to prevent
exploits such as rapidly turning the machine on and off. This has a
really bad consequence that makes cryo really clunky to use, since you
may need to wait for the reagent_transfer variable to hit threshold and
then reset again for a new patient before any cryoxadone can be
injected. Not to mention how upgrading the bins somehow timegaps it
even further.

This PR seeks to change the whole system to transfer reagents in a
smaller and more continuous manner.

* Makes cryo handle reagent transfer better.

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2021-02-09 15:05:43 +00:00
SkyratBot
24454a93fe [MIRROR] Refactor ventcrawling flag into traits (#3178)
* Refactor ventcrawling flag into traits (#56620)

Instead of using var/ventcrawling on `/mob/living`, it is now instead
two traits. It functions in exactly the same way.

This now ensures that manipulation of ventcrawling will not clash with
any other manipulation, such as a proposed genetics ability to give
people ventcrawling, versus abductor organs.

---

Intended to be a pure refactor, no functionality should change.

* Refactor ventcrawling flag into traits

* Update true_changeling.dm

* Update true_changeling.dm

Co-authored-by: coiax <yellowbounder@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-08 23:37:21 +00:00
SkyratBot
699cd1e412 [MIRROR] renames metal sheets to iron sheets (#3116)
* renames metal sheets to iron sheets

* Merge branch 'master' into upstream-merge-56643

* yay metal

* Update DeltaStation2_skyrat.dmm

* a

* Update CentCom_skyrat_z2.dmm

* a

* a

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-05 22:09:50 +00:00
SkyratBot
43c6850b31 [MIRROR] Makes reinforced plasma windows block heatspreading (#3101)
* Makes reinforced plasma windows block heatspreading, mostly so the sm delams properly, and partially so mappers have a tool for this sort of thing (#56545)

* Makes reinforced plasma windows block heatspreading

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-02-05 21:24:11 +00:00
SkyratBot
e890b1282b [MIRROR] Replaces intents with combat mode (#3063)
* Replaces intents with combat mode

* updates

* a

* Update living_defense.dm

* https://github.com/tgstation/tgstation/pull/56638/files

* gunsafety!

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-05 16:58:16 +01:00
SkyratBot
06d533b2ab [MIRROR] Clarify Temperature Gate description (#3077)
* Clarify Temperature Gate description (#56611)

There is apparently some confusion where people were under the impression
that the gate allows gas to move bidirectionally once open.

* Clarify Temperature Gate description

Co-authored-by: esainane <esainane+github@gmail.com>
2021-02-04 21:20:15 +00:00
SkyratBot
417e4d57e1 [MIRROR] BZ Formation: Respect BZ_RESEARCH_MAX_AMOUNT (#3016)
* BZ Formation: Respect BZ_RESEARCH_MAX_AMOUNT (#56529)

You can still produce points at a decent rate. This stops someone
that managed to thread the needle to extremely low pressures while still
meeting mass requirements from making half a million points per second,
though that did require maxed out parts.

* BZ Formation: Respect BZ_RESEARCH_MAX_AMOUNT

Co-authored-by: esainane <esainane+github@gmail.com>
2021-02-01 22:42:16 +00:00
SkyratBot
5b98f08bc0 [MIRROR] Trit & H2 Consistency Fix (#2999)
* Trit & H2 Consistency Fix (#56265)

Make the reactions for trit and h2 fires more consistent with other gas reactions

* Trit & H2 Consistency Fix

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2021-02-01 13:24:24 +00:00
SkyratBot
0e3acde09a [MIRROR] Fixes thermomachine power bug (#2998)
* Fixes thermomachine power bug (#56261)

fixes #56257 .... Gilkher when he made thermomachines he didnt add in not a single check to make sure the machine actually had power to use, so was able to be used in space, with no power, so long as the machine was on. I simply added the proc that processed its gas contents behind a simple check to ensure it has power, isnt broken, and the maint cover is closed. if one of those is true, it will turn the machine back off and set power usage to 0

Before the fix:
https://user-images.githubusercontent.com/40489693/104986520-28165d00-59e1-11eb-9402-a883baa61dea.mp4

After the fix:
https://i.gyazo.com/3e3392095797a8ffc78178504117be8e.mp4

* Fixes thermomachine power bug

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
2021-02-01 13:24:17 +00:00
Gandalf
34d8917ebc Aesthetics fixes (#2986)
* fixes

* a
2021-01-31 16:40:05 +00:00
SkyratBot
493ee57b09 [MIRROR] Prevents the most common case of fire settling with an excited group (#2845)
* Prevents the most common case of fire settling with an excited group (#56317)

Basically when a group with a breakdown timer one tick away from settling merges with a group with hotspots in
it, and the one with a high breakdown timer is larger, the group would settle without respecting the timer of
the hotspot group, causing fwoosh levels of flame.

There's two other ways to achieve this, if you had one group of tiles that are close to the same gasmix as
another
group, and they became inactive, we'd have the same issue. I've solved this by moving the hotspot subprocess to
after active turfs and before excited groups, just for safety ya feel me?

It's still in theory possible, but much much harder. The hard solution to this would be to integrate heat with
how we reset excited group timers, and split excited groups into smaller portions, but I'm not sure I like that
idea.
I need to mull it over.

* Prevents the most common case of fire settling with an excited group

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-23 18:09:23 +00:00
SkyratBot
8ecd289e3d [MIRROR] HFR: Fix activation after deconstruction (#2785)
* HFR: Fix activation after deconstruction (#56249)

core/var/corners is assumed to be a list at all times.

Previously, deconstructing then reconstructing the HFR would get one
stuck where:
 - "Activate the machine first by using a multitool on the interface." when attempting to use the interface
 - "You already activated the machine" when attempting to use a multitool on the interface

All components, except the core, would show as correctly inactive.

This situation can be worked around by deconstructing and reconstructing
the core, or varediting the core to have active = 0 and corners = list().

This fixes runtimes of the form:
> [21:03:06] Runtime in hypertorus.dm,368: type mismatch: 0 |= HFR corner (/obj/machinery/hypertorus/corner)
>   proc name: check part connectivity (/obj/machinery/atmospherics/components/unary/hypertorus/core/proc/check_part_connectivity)

* HFR: Fix activation after deconstruction

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-19 10:36:36 +00:00
SkyratBot
eecdc093bd [MIRROR] HFR: Respect moderator heat_output effects (#2784)
* HFR: Respect moderator heat_output effects (#56248)

The additional heat users were supposed to deal with when producing
higher tier gases with Proto-Nitrate, and the reduced heat output that
came from managing to run a mix with enough Freon without also killing
the reaction, was being silently discarded because the temperature
adjustment was applied before heat_output was modified.

The changed value would still show up in the UI, but would have no effect
since the application used the pre-modification value.

While internal_fusion has gases added and removed directly as part of
the gas consumption and producion process, no reference to temperature
is made, so it's safe to just move the application of internal_fusion's
temperature change to immediately after the gas consumption and production
process, instead of immediately before it.

* HFR: Respect moderator heat_output effects

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-19 10:36:24 +00:00
SkyratBot
47347632a8 [MIRROR] Re-PR of #55457 ([Port] Atmos components now nullifies node properly) (#2763)
* Applies #55457 (#56202)

A Pipeline that should've died when its last atmos component got deleted hasn't died, because of SSair.networks. Now they die. Its non-existence grants a lilliputian performance improvement to SSAIR_PIPENETS. airs[i] qdel is mostly about being thorough; every component has a gas mixture for each node all the time by default.

* Re-PR of #55457 ([Port] Atmos components now nullifies node properly)

Co-authored-by: Xenomedes <park246824@gmail.com>
2021-01-18 07:44:31 +01:00
SkyratBot
c8e58496a9 [MIRROR] Temperature Pump Sanity (#2741)
* Temperature Pump Sanity (#55926)

* fix temperature pump

* Cleanup and ui stuff

* Punctuation is important you know

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* tgui rebuild

Co-authored-by: Ghilker <minefap44@ gmail.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* Temperature Pump Sanity

* Update tgui.bundle.js

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Ghilker <minefap44@ gmail.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-17 13:30:06 +01:00
SkyratBot
c43639844b [MIRROR] Makes excited breakdowns independent of adding new turfs (#2722)
* Makes excited breakdowns independent of adding new turfs. This prevents the dreaded stationwide firelock, at least mostly, and moves us away from being dependant on room size. As a downside, we're closer then ever to ZAS. This also allows us to raise the breakdown timer and decrease the amount of overtime experienced in each tick. (#56081)

## About The Pull Request

This prevents the dreaded station-wide firelock, at least mostly, and moves us away from being dependent on room size. As a downside, we're closer then ever to ZAS, and the transition between pre-breakdown and post-breakdown is a lot more visible. This also allows us to raise the breakdown timer and decrease the amount of overtime experienced in each tick.

See video, I'm not sure I'm happy with the current rate, it does look somewhat shit. I'm considering tweaking the alpha curve for gas visuals to try and make it look less not good. [Video](https://cdn.discordapp.com/attachments/326831214667235328/797766078389813298/2021-01-10_01-55-53.mp4)

Closes #56066

## Why It's Good For The Game

Station spanning excited groups are rarer, and will settle down more often. Cold things like space will cool down their group faster, preventing station spanning non updating excited groups.

* Makes excited breakdowns independent of adding new turfs

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-16 00:50:30 +01:00
SkyratBot
a5ea7eb067 [MIRROR] HFR: Better observation of delta_time (#2660)
* HFR: Better observation of delta_time (#56009)

This changes HFR's fusion_process() to better observe delta_time.

* HFR: Better observation of delta_time

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-13 04:22:25 +01:00
SkyratBot
ba310a88ec [MIRROR] Converts the pictures in the atmos documentation away from my repo (#2610)
* Converts the pictures in the atmos documentation away from my repo and towards tgstation's copy, preventing me from going rouge and replacing them with le funny memes (#56031)

Instead points them towards tgstation's copy, so open source contributionTM is possible.

* Converts the pictures in the atmos documentation away from my repo

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-10 08:24:25 +01:00
SkyratBot
f79e91462c [MIRROR] LINDA Reforged (#2573)
* LINDA Reforged

* Update airlock.dm

* Update biohazard_blob_controller.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-08 18:52:35 +01:00
SkyratBot
58e12a73e3 [MIRROR] Fixes empty gaslist entries, jesus fuck (#2572)
* Fixes empty gaslist entries, jesus fuck (#56027)

* Fixes empty gaslist entries, jesus fuck

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-08 18:21:38 +01:00
SkyratBot
80475b935a [MIRROR] Makes pluox formation slightly more consistent (#2555)
* Applies the pluox formation code portable atmos devices and tanks (#55923)

Makes irradiating tanks and portable atmospherics devices (canisters, pumps, scrubber) induce pluoxium and tritium formation if they contain the correct gases.
Does NOT affect atmos components or pipes because I don't think Lemon would let me do that to pipecode. (He's right)

* Makes pluox formation slightly more consistent

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2021-01-07 23:59:08 +01:00
SkyratBot
7c0175f554 [MIRROR] Fixes cryo not "connecting" to pipenet. (#2544)
* Fixes cryo not working with HE (#55995)

There was a bug that makes cryo unable to work in tandem with heat exchanger pipes because update_parents() isn't called. This isn't evident with thermomachines because the thermomachines call update_parents() on temperature differences. This fixes that.

* Fixes cryo not "connecting" to pipenet.

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2021-01-07 23:08:24 +01:00
SkyratBot
730b85823c [MIRROR] Fix rare HFR moderator filter removal failure (#2533)
* Fix rare HFR moderator filter removal failure (#55982)

Looking at gas_mixture.dm, remove_specific appears to be able to
return null if the amount of a gas becomes exactly zero or negative,
somehow.
Adding a null check seems safe, and should prevent this from reoccuring.

The temperature is already assigned in remove_specific.

* Fix rare HFR moderator filter removal failure

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-07 18:27:13 +01:00
SkyratBot
64ed624a6d [MIRROR] Ensure gases exist in proto nitrate responses (#2532)
* Ensure gases exist in proto nitrate responses (#55981)

When the type of gas to be created did not already exist, the reaction
caused a runtime and halted processing.
While tritium would still be consumed, no hydrogen would be created,
and no heat modification would occur.

This fixes runtimes of the form:

> [02:02:46] Runtime in reactions.dm,946: cannot read from list
>   proc name: react (/datum/gas_reaction/proto_nitrate_tritium_response/react)

* Ensure gases exist in proto nitrate responses

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-07 07:43:32 +01:00
SkyratBot
6161578f91 [MIRROR] datum_pipeline.dm code cleanup (#2467)
* datum_pipeline.dm code cleanup (#55514)

A bit of code clean up and var name change for clarity, hopefully i got them all right

will add some docs another day

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>

* datum_pipeline.dm code cleanup

* Update datum_pipeline.dm

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-03 14:59:36 +01:00
SkyratBot
301241f460 [MIRROR] HFR can now output waste gases again (#2436)
* HFR can now output waste gases again (#55864)

Commit 241e9cf broke HFR. Leaving internal_output as null meant that
execution would hit runtimes during process(), and never reach the end
where changes were applied.
No radiation was emitted, no nuclear particles were generated.
No waste gases could be removed, neither by fusion waste removal nor by
moderator filtering. Fusion would produce nothing.
It could still enter meltdown, though.

This fixes the endless runtimes like the following:
[07:51:05] Runtime in hypertorus.dm,1067: Cannot execute null.total moles().
[07:52:09] Runtime in hypertorus.dm,957: Cannot execute null.assert gases().
[07:52:17] Runtime in hypertorus.dm,983: Cannot execute null.assert gases().
[07:53:21] Runtime in hypertorus.dm,1012: Cannot execute null.assert gases().

* HFR can now output waste gases again

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-02 03:31:33 +00:00
SkyratBot
4c5433d5cf [MIRROR] The Great Radio Rework: NTNET Part 1 of many. (#2384)
* The Great Radio Rework: NTNET Part 1 of many.

* Update airlock.dm

Co-authored-by: WarlockD <warlockd@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2020-12-30 21:14:49 +00:00
SkyratBot
a90399f389 [MIRROR] atmosmachinery.dm docs (#2359)
* atmosmachinery.dm docs (#55479)

Add some documentation to atmosmachinery.dm to try and briefly explain each proc. i hope i have them all right
Why It's Good For The Game

documentation is good

changelog shouldn't be needed

* atmosmachinery.dm docs

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-12-29 02:39:11 +00:00
SkyratBot
eab71f4bf6 [MIRROR] delta SM and atmos fixes and QoL (#2261)
* Fix/improve DeltaStation SM and atmos (#55427)

- Fix layer manifolds under floor (path was missing `hide = FALSE`)
- Add missing lights
- Move some tables to better spots
- Add buttons and shutters to the atmos testing room chambers to vent
  to space

* delta SM and atmos fixes and QoL

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-12-21 19:55:57 +00:00
SkyratBot
d4cedc7466 [MIRROR] Fix HFR infinite gas production (#2187)
* fix infinite gas production (#55510)

No more infinite gas production due to a gas_mixture not clearing up

* Fix HFR infinite gas production

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-12-16 07:16:43 +01:00
SkyratBot
548ed09ed1 [MIRROR] Temperature control unit (#2154)
* Temperature control unit

* Update tgui.bundle.js

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2020-12-13 13:54:41 +00:00
SkyratBot
28f55e6ff0 [MIRROR] [Port] Sanitizes layer manifolds SetInitDirections() (#2145)
* manifolds (#55455)

* [Port] Sanitizes layer manifolds SetInitDirections()

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-12-12 17:25:20 +00:00
SkyratBot
a71d2aca24 [MIRROR] Planetary Atmos Changes (#2135)
* Planetary Atmos Changes (#55398)

This PR sets several Icebox turfs to be planetary atmos turfs, such as the openspace, to return the gas mix to a standard, and reduce the number of active turfs overall. To aid in this, planetary atmos calculations are a seperate share from the main 4 turf share now, and instead re-archive and share 4/5 of their difference in moles to the atmosphere, as well as temperature sharing with a higher heat capacity. This should result in the planetary atmos turfs returning to their standard much faster than before.

Before at most planetary turfs would keep 0.8 of their difference after sharing, compared to the 0.2 difference they will keep now, log(0.2) / log(0.8) showing this is sharing about 7 times faster in getting rid of gas diffs. This should also reduce the effects of continuous fires and limit their active turfs to a certain region on the planet, ex: the incinerator outlet wouldn't spread to the entire planets turfs. This also makes behavior more like space for the purposes of cooling and venting gas for toxins.

This might also make gas farming slightly faster since the gas will also come back faster, but considering most of the expensive gasses have been removed and this will also reduce the lag from gas farms, I think it is a worthwhile change. It can't be worse than making the turfs immutable anyways since that would be the fastest.

Reduces lag and makes gameplay more in-line with space stations in ways that improve quality of life but still preserve uniqueness by not making the planetary turfs completely immutable.

* Planetary Atmos Changes

Co-authored-by: Whoneedspacee <yougotreallyowned@gmail.com>
2020-12-11 10:37:34 +01:00
SkyratBot
a413e876c9 [MIRROR] Gas mixes default to room temp if no temp is specified (#2056)
* base temp of gas mix (#55352)

When generating a gas mix with no temp provided the gas mix starts out at basically 0K.
This set this gas mix to room temp if no temp is listed in the gas mix string.

Nothing should start at 0K for temp, gasses being one of the big issue points.

* Gas mixes default to room temp if no temp is specified

Co-authored-by: NightRed <nightred@gmail.com>
2020-12-06 10:58:16 +00:00
SkyratBot
c487c73f39 [MIRROR] Grep for space indentation (#1969)
* Grep for space indentation

* aa

* Update species.dm

* Update species.dm

* Update maps.dm

* Update examine.dm

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-01 12:26:41 +01:00
SkyratBot
5d3d16ca13 [MIRROR] New TGUI component: the round gauge + initial uses of it (#1957)
* New TGUI component: the round gauge + initial uses of it

* aaa

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2020-11-30 18:51:58 +00:00
SkyratBot
993d3c945a [MIRROR] More HFR fixes (#1961)
* More HFR fixes (#55203)

- Refractor HFR core from binary device to unary device to fix issue with cooling not properly connecting, that was deleting gases when tryed to use (only one port cooling now similar to a Thermomachine)
- Small fix of GUI data where two vars were inverted

* More HFR fixes

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-11-30 17:27:38 +00:00
SkyratBot
94c3b79115 [MIRROR] Cryopod cooling fix for humans (#1947)
* Cryopod cooling fix for humans (#55221)

The core temp was meant to be cooled separately through the skin in cryo pods, but on inspection that interaction was skipped.
This makes the core temp match skin temp in a cryo pod.

* Cryopod cooling fix for humans

Co-authored-by: NightRed <nightred@gmail.com>
2020-11-30 04:40:34 +00:00
SkyratBot
473c05abd6 [MIRROR] Proto Nitrate reaction fix (#1896)
* Proto Nitrate reaction fix (#55188)

Fix runtime with proto_nitrate reaction with trit

* Proto Nitrate reaction fix

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-11-28 12:55:20 +01:00
SkyratBot
8fb53f8c6c [MIRROR] HFR runtime fix (#1894)
* HFR runtime fix (#55189)

* HFR runtime fix

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-11-28 12:54:33 +01:00
SkyratBot
e6879819ea [MIRROR] CanUseTopic() refactor. (#1829)
* CanUseTopic() refactor. (#54747)

* CanUseTopic() refactor.

* Forgot about default_can_use_topic. Tested and working.

* Update bin.dm

* no-nonsense.

* CanUseTopic() refactor.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-25 13:56:56 +01:00
SkyratBot
68f0873a86 [MIRROR] Fixes cryogenics infinite gas deletion (#1791)
* Fixes cryogenics infinite gas deletion (#55068)

* cryo fixes and cleanup

Move magic numbers to defines
Fixes cryo deleting 100L of gas each time it transfers
Remove unneeded/unused variables
Moves gas all gas consumption to process_atmos
delta_time in process_atmos

* simplify consume_gas

* Fixes cryogenics infinite gas deletion

Co-authored-by: Maurukas <66576896+Maurukas@users.noreply.github.com>
2020-11-23 22:33:59 +00:00
SkyratBot
b2660e8534 [MIRROR] fix proto nitrate negative temperature + temperature fix for other reactions (#1729)
* fix proto nitrate negative temperature + temperature fix for other reactions (#54945)

Fixed negative energy that allowed proto nitrate to go negative temperature,
fixed other reactions from possible negative temperature

* fix proto nitrate negative temperature + temperature fix for other reactions

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-11-19 23:57:17 +00:00
SkyratBot
6ee9837409 [MIRROR] [WIP] Remove fusion from reactions, add hypertorus fusion machinery (#1719)
* [WIP] Remove fusion from reactions, add hypertorus fusion machinery

* a

* Merge branch 'master' into upstream-merge-54379

* Update tgui.bundle.js

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-19 07:27:51 +01:00