Commit Graph

31942 Commits

Author SHA1 Message Date
Unknown
3b2b23fc8c Caps burning human temperature
Basically makes it so that a burning human no longer infinitely increases in temperature. This is also being combined with reductions to heat damage level to make high temperatures less super lethal as they currently are on this codebase.
2020-04-18 01:18:13 -04:00
Atlantiscze
123383c7f4 Fixes HE pipes not leaking when breached 2020-04-18 06:00:23 +02:00
Atlantiscze
78925e2993 Ports over power-related enhancements and tweaks i coded for Bay a while back
- Please fasten your seatbelts, this will be a long one as it joins few older Bay PRs into one.

1. Ports https://github.com/Baystation12/Baystation12/pull/12626
- SMES units may now be damaged and destroyed. Charged SMES units fail quite violently. Damage can be fixed by welding tool.
- PSUs completely refactored, ghetto variant no longer exists.
- Cell rack PSUs now can be considered a hybrid between large battery charger and a SMES. They actually use the cells to store power (so you can hot-swap the cells to get more juice simply via the UI without deconstructing the whole machine), but in comparison to SMES have poor throughput and capacity in general (cells are simply too small). They are also somewhat limited in configuration options (lacks the precision electronics of a SMES). Better matter bin lets you put in more cells, up to 9.
- Cell rack PSU also has a mode that allows charge-balancing all inserted batteries (moves energy around so each battery has the same charge %)

2. Ports https://github.com/Baystation12/Baystation12/pull/11977
- SMES units now have full load balancing capability, getting rid of that annoying "One SMES charges at full, other SMES gets nothing" problem. If insufficient power is available on input, all inputting SMESes will now charge at same percentage. If more SMESes power a single output, they will all output equal percentage of their setting.
- This appears to have a pleasant side effect of fixing the issue where SMESes could starve APCs of energy. SMESes are ALWAYS last to input power on a powernet.
- This also appears to have fixed weird values displayed in SMES output/input load readings in the UI. By weird values i mostly mean inputs/outputs actually higher than the SMES is set to have.

3. Ports https://github.com/Baystation12/Baystation12/pull/18137
- SMES units (and subtypes, therefore effectively also PSUs from previous entry) can now have more than one terminal. This effectively allows a setup where two (or more) sources feed a single SMES, which then feeds the output. SMESes can not exceed input setting even with multiple terminals.
- Typical example of use in practice would be SMES that runs something important (for example an AI, telecomms, pick whatever you want). It could have one input from the power grid, and second input from a PACMAN generator set up nearby as a backup. Before the generator would have to be wired into main grid, therefore main grid would siphon off power from it. Now the generator can be separate and dedicated for whatever use you want.
2020-04-17 08:26:29 +02:00
Atlantiscze
56e28ec2aa Fixes supermatter monitoring EPR indicator showing Undefined
- This mirrors original sources from Bay. Nano file was apparently moved from there, but code file was not.
- As for intent of this function (i coded it originally on Bay), EPR can be considered "Amount of canisters worth of gas in the core chamber", hence the weird 23.1 constant. Unlike pressure reading, this does not change with temperature, so it can be used to accurately monitor actual amount of gas in the chamber without having to take temperature in effect.
- I know the constant is kind of shady. It could possibly be recalculated using atmos constants, but i suck at math too much to do that. If anyone who knows atmos math can find a better alternative, i will gladly toss it in instead.
2020-04-17 06:06:06 +02:00
Atermonera
08d463a797 Merge pull request #6971 from KillianKirilenko/kk-cyclers
Suit Cyclers: Faster, Smarter, Better
2020-04-16 20:14:52 -07:00
Killian
f7cf3143da ssu: don't prefix 'refitted' to the desc 2020-04-17 02:37:02 +01:00
Killian
31bd5e46b3 ssu: extended list, now sorted by departments 2020-04-15 21:09:28 +01:00
Aronai Sieyes
34ffcd2284 Allow fighters to traverse overmap ships predictably 2020-04-15 13:41:22 -04:00
KasparoVy
a9e7a4d16a Update Human HUD Generation to Fix Internals Graphical Bug
Fix an issue whereby when reconnecting to the server after disconnecting/losing connection your internals HUD element will always be off, even if you're actually still breathing from a tank.
Now it checks & shows the correct state so you don't panic after lagging out IN SPACE AAAAAHHHH
2020-04-15 02:19:09 -04:00
Leshana
f8755f2de5 Fix openspace redering of under-objects that have no main icon (only over/underlays)
In particular stops manifolds from getting the openspace "map" icon state as its main icon instead of null.
2020-04-14 09:40:19 -04:00
Leshana
5dbf08b462 Refactor the Open Space controller into MC Subsystem
- Basically just refactor doWork() into fire() with the capablity to return in the middle with MC_TICK_CHECK.
- Move some vars around to be more organized.
- Only functional change is that when a turf is queued twice in one cycle, the second queue moves it to the end of the list instead of it being in the queue twice
2020-04-14 09:38:23 -04:00
Leshana
2d37c09d12 Commit move of open_space_controller.dm to subsystems folder to track history through rename. 2020-04-14 09:37:58 -04:00
Unknown
7ffb97e2b3 Improves the Laser Sniper Sprite 2020-04-13 10:25:58 -04:00
Killian
2a3ba36f5d fix Sec EVA to Security EVA, sneaky workaround to inhands 2020-04-13 13:35:36 +01:00
Atermonera
017ac22ce9 Merge pull request #6989 from VOREStation/pol-blast
Random blast door fix
2020-04-12 23:22:02 -07:00
Atermonera
742d4002f8 Merge pull request #6987 from VOREStation/vplk-adminload-atmos
[PORT] Fix offline vent pumps and scrubbers on loaded maps.
2020-04-12 23:21:24 -07:00
Atermonera
8e63aa69c7 Merge pull request #6986 from VOREStation/vplk-fix-manifold-underlays
Fix manifold and manifold4w underlay rendering.
2020-04-12 23:18:32 -07:00
Atermonera
28bede5936 Merge pull request #6977 from VOREStation/vplk-remove-ss-references
Remove non-global references to SSgameMaster and SSevent_ticker
2020-04-12 23:14:20 -07:00
Atermonera
974919151b Merge pull request #6967 from VOREStation/pol-pipes
Add 2 new pipe types
2020-04-12 23:00:41 -07:00
Atermonera
32a573f5cc Merge pull request #6878 from Mechoid/ATaleofBlobsandMen
A Tale of Blobs and Man
2020-04-12 22:34:33 -07:00
Leshana
e11baeb0bb Make glass firedoors constructable/deconstructable. 2020-04-12 21:08:21 -04:00
Atermonera
ca6cf9e938 Adds pref to toggle vchat without 60s wait for linux users (#6980) 2020-04-11 21:50:51 -07:00
Atermonera
1cae548d08 Merge pull request #6966 from VOREStation/vplk-bye-area-new
Refactor away area/New()
2020-04-11 21:40:51 -07:00
Atermonera
98fe59024a Merge pull request #6937 from VOREStation/pol-dockhelpers
Adds airlock setup helpers
2020-04-11 20:48:43 -07:00
Unknown
3973fbf0ec I forgot to add this 2020-04-11 23:38:45 -04:00
Unknown
e551141313 Dual-wield Penalties and Urist Gun Sprites
- Reenables Dual Wielding penalties on most heavy guns.
- Adds wielded sprites for all weapons with dual-wield penalties.
- Ports a ton of gun sprites from Urist McStation
- Removes mention of requires_two_hands in code since that is not used anymore.
2020-04-11 23:35:24 -04:00
Leshana
1feb05d8b3 Change "passive vent" to "passive_vent" icon state.
Best practice to avoid spaces in icon state names, works better with CSS class names too.
2020-04-11 18:07:24 -04:00
Aronai Sieyes
23782f9783 Give sensors a master_tag so they can function as buttons 2020-04-11 15:33:15 -04:00
Aronai Sieyes
cfd052a977 Allow 'offmap spawn' jobs to be isolated from station employees 2020-04-11 13:38:13 -04:00
Aronai Sieyes
965f7235b7 Random blast door fix 2020-04-11 12:51:29 -04:00
Atermonera
8fe72d24f9 Merge pull request #6983 from Novacat/nova-alerts
Fixes deadringer decloaking
2020-04-10 23:56:54 -07:00
Atermonera
527370ca4f Merge pull request #6982 from VOREStation/vplk-fix-vv-lists
Fix VV on lists
2020-04-10 23:56:38 -07:00
Atermonera
f65aa7eb13 Merge pull request #6981 from VOREStation/vplk-overal-missed-fixes
Port followup misc fixes
2020-04-10 23:50:48 -07:00
Atermonera
b6b7c2468c Merge pull request #6974 from Shadow-Quill/patch-1
Unfucks arrival shuttle latejoins when shuttle is docked
2020-04-10 23:50:08 -07:00
Atermonera
68927cbc0d Merge pull request #6970 from VOREStation/pol-couplefix
Fix 2 bugs
2020-04-10 23:49:46 -07:00
Aronai Sieyes
491d94d850 Port 7145: CHECK_TICK in xenoarch setup for the sake of largermaps 2020-04-10 19:54:17 -04:00
Leshana
ba03c3321e Port 7056: Make blood etc decals vanish when overmap ships fly away. 2020-04-10 19:54:01 -04:00
Leshana
bfa14f2c25 Cause the maploader to log an error if dmm file contains an undefined type.
This will greatly ease debugging as otherwise the only error you might get is Runtime in reader.dm,370: list index out of bounds, and even then only if the turf has no objects.
2020-04-10 19:49:43 -04:00
atermonera
7d959c5602 Adheres to byond's ridiculous list indexing convention in carp_migration.dm, line 44 2020-04-10 16:19:41 -07:00
atermonera
e8c70a9f63 PRIORITY CRITICAL: Fix infinite loop in carp_migration.dm, line 44 2020-04-10 16:13:43 -07:00
Mechoid
1520c2d190 S l e e p, and split to Ater's request. 2020-04-10 15:54:50 -07:00
Leshana
520d5de7bd Suspend SSmachines subsystem while we are initializing map templates.
- Adds the capability to "suspend" a subsystem while we're loading something.
2020-04-10 17:54:01 -04:00
Leshana
c1c5c55fba MC Statpanel now distinguishes between NO_FIRE subsystems and OFFLINE (can_fire <= 0) subsystems 2020-04-10 17:53:52 -04:00
Leshana
890fdcb0c2 all_areas fixup 2020-04-10 14:58:59 -04:00
Leshana
6f5fb88922 Removed area.uid var and /area/New()
- var/uid was used in only a handful of places.  Because areas are singletons
  it is safe to replace the uid with \ref, areas don't get deleted.
- And with that /area/New() is empty, we can remove it!
2020-04-10 14:58:59 -04:00
Leshana
2c13bee848 Replace global all_areas list with world.
It ends up having similar performance, so might as well not bother with all_areas.
2020-04-10 14:58:59 -04:00
Leshana
22844cfb5c Fix manifold and manifold4w underlay rendering.
Don't add twice as many underlays as you need, thanks!
2020-04-10 11:48:17 -04:00
Mechoid
001d5b091f Merge branch 'master' of https://github.com/PolarisSS13/Polaris into ATaleofBlobsandMen
# FixConflicts:
#	polaris.dme
2020-04-09 22:55:42 -07:00
Atermonera
c81f9de1ac Employment records use comments like medical records (#6976) 2020-04-09 22:24:37 -07:00
Atermonera
e5a68312af Ingested ethylredox removes ingested alcohol (#6973) 2020-04-09 22:21:47 -07:00