Commit Graph

1439 Commits

Author SHA1 Message Date
Atermonera
736fdab6e3 Merge pull request #7273 from Cyantime/obs
Observing improvements
2020-06-24 11:36:18 -04:00
Cyantime
d2dad900ad Removes unneeded check 2020-06-06 15:56:47 -04:00
Cyantime
0bff8bfa51 Reduces gravgen alarrm volume 2020-06-05 15:29:11 -04:00
Atermonera
5275847404 Fixes particle accelerator construction. (#7232)
Left is left and right is right.
2020-05-24 17:32:36 -04:00
Aronai Sieyes
09074eaabb Alter playsound paradigm 2020-05-18 23:42:15 -04:00
Aronai Sieyes
e3b5d24c8b Obsolete the PROXMOVE flag and uses 2020-05-18 13:31:54 -04:00
Atermonera
8cdc792920 Merge pull request #7090 from VOREStation/aro-poismes
Don't give POI SMES more charge than possible
2020-05-15 20:56:27 -04:00
Aronai Sieyes
132ace7ab5 Optimize lighting processing 2020-05-13 12:16:01 -04:00
Aronai Sieyes
96da7be01b Put APCs and SMESes into GLOB lists to ease iteration 2020-05-11 22:05:41 -04:00
Atermonera
40f1198e12 Merge pull request #7059 from atlantiscze/2020_04_28_DelamChange
Supermatter delamination tweaks
2020-05-08 15:18:27 -04:00
Aronai Sieyes
f09a9a9a26 Merge pull request #7682 from VOREStation/upstream-merge-7055
[MIRROR] Updates machines to use default_apply_parts()
2020-05-07 19:24:13 -04:00
Atermonera
c42e536074 Merge pull request #7088 from VOREStation/pol-smesexamine
Fix SMES and debug power item examine messages
2020-05-07 02:00:11 -04:00
Atermonera
9c32a0e2b3 Updates machines to use default_apply_parts() 2020-05-07 00:40:34 -04:00
Aronai Sieyes
1d3ed1441c Merge pull request #7675 from Little-119/NightshiftOverride
Add a better nightshift control
2020-05-06 22:51:57 -04:00
Little-119
f5990cfe35 Fix cooldown math while I'm here 2020-05-06 17:50:54 -04:00
Little-119
6f9f3cd897 Add nightshift setting 2020-05-06 17:50:18 -04:00
Aronai Sieyes
a7f9557109 Increase nightmode brightness slightly 2020-05-06 10:35:25 -04:00
Rykka
9ceb5f768b Fix clamp case breaking BYOND versions below 513.1490
513.1490 added `clamp` as a native proc
2020-05-06 06:42:36 -04:00
Leshana
f93d50b034 Fix an overcharged smes from breaking charging on other smes.
An overcharged smes could demand negative power from the grid, swamping other SMES and resulting in zero power being distributed.
2020-05-04 13:36:53 -04:00
Aronai Sieyes
f270f276bc Allow locked APCs to still toggle night lighting 2020-05-03 21:13:17 -04:00
Aronai Sieyes
47d81e83b2 Merge pull request #7614 from VOREStation/aro-ssnightshift
Port SSnightshift from Paradise
2020-05-03 19:00:32 -04:00
Atermonera
77fef98789 Merge pull request #7010 from atlantiscze/2020_04_17_LoadBalancing
Ports over power-related enhancements and tweaks i coded for Bay a while back
2020-05-03 18:45:25 -04:00
Aronai Sieyes
aa6d22097b Port SSnightshift from Paradise
Makes the station have a night mode.
2020-05-03 17:51:05 -04:00
Leshana
10b0323d6f Use can_atmos_pass to reduce proc-calls in c_airblock()
- Add additional can_atmos_pass value ATMOS_PASS_PROC which indicates custom behavior requiring calling the CanZASPass proc.
  - The benefit being for the other three values we DON'T need to call CanZASPass at all!  We already know the behavior without the overhead of a proc call.
  - Obviously any atom with can_atmos_pass = ATMOS_PASS_PROC cannot now call ..() in CanZASPass() since the default behavior would be to (recursively) call CanZASPass()
  - This required re-numbering the constants, so I also fixed all code that assumed particular values for the constants.
- Switched all types which overrode CanZASPass with custom logic to be can_atmos_pass = ATMOS_PASS_PROC
- Changed /turf/c_airblock() to skip calling /atom/movable/c_airblock() for the three can_atmos_pass values that don't require calling the proc.
2020-04-30 14:50:57 -04:00
Leshana
4a2e8bb0c4 Fix return values of CanZASPass
- CanZASPass is supposed to return boolean.  Nobody noticed this bug because ATMOS_PASS_YES and ATMOS_PASS_NO happen to be defined as 1 and 0.  But thats not a good assumption to make, so lets fix it!
2020-04-30 14:50:57 -04:00
Aronai Sieyes
b3c1cfd29d Merge pull request #7516 from VOREStation/upstream-merge-7045
[MIRROR] Removes limits on eating, centralizes nutrition changing.
2020-04-29 19:23:55 -04:00
Aronai Sieyes
b9c6107f26 Merge pull request #7513 from VOREStation/upstream-merge-7038
[MIRROR] Rewrite examine() to pass a list around
2020-04-29 18:38:26 -04:00
Aronai Sieyes
874baa1d2d Merge examine refactor for vorestation 2020-04-29 17:49:54 -04:00
Atermonera
c3537b01e9 Merge pull request #7046 from Neerti/system_3_fixes
Tweaks and fixes for the new new event system.
2020-04-29 17:27:57 -04:00
Atermonera
f1cabd6742 Removes limits on eating, centralizes nutrition changing. 2020-04-29 17:15:15 -04:00
Aronai Sieyes
6ebd249748 Rewrite examine() to pass a list around 2020-04-29 16:42:50 -04:00
Aronai Sieyes
82a41c8d7a Merge pull request #7507 from VOREStation/aro-gravytopple
Refine gravity generator FSM
2020-04-29 14:13:57 -04:00
Aronai Sieyes
390943784c Refine gravity generator FSM 2020-04-29 13:10:44 -04:00
Aronai Sieyes
49f5a1c4ed Have gravity generator ignore /area/shuttle 2020-04-29 09:31:18 -04:00
Aronai Sieyes
57f28af1fd Prevent protean repairs using fire and cables
Doesn't make much sense
2020-04-27 11:18:03 -04:00
Aronai Sieyes
36022c95f1 VS: Refactor move code 2020-04-26 16:44:08 -04:00
Aronai Sieyes
d3da6ae4a5 Refactor move code 2020-04-26 16:42:50 -04:00
Aronai Sieyes
667fbebbc7 Merge pull request #7406 from VOREStation/vplk-optimize-for-static-power
Optimize some machines for static power
2020-04-25 15:06:50 -04:00
Aronai Sieyes
e802abcbdc Fix in-round built void core icon updating 2020-04-25 14:26:04 -04:00
Leshana
4c6e6bc04c Terminals do not need to process! global.machines is a separate list from processing_machines 2020-04-24 22:06:20 -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
Leshana
f80c320c0f VS machinery power update procs. 2020-04-22 20:47:16 -04:00
Leshana
9bd2347966 Fix remaining code that directly modified use_power to call update_use_power. 2020-04-22 20:47:15 -04:00
Leshana
93fb3f7865 Call update procs instead of directly setting idle_power_usage or active_power_usage.
- Adds the update_idle_power_usage() and update_active_power_usage() procs for the respective vars.
- Switches all places modifying those vars directly to call the procs instead.
- This will let us react to the change appropriately, paving the way towards static area power.
- Adds update_power_channel proc for the sake of completeness, but no machines actually modify it so far.
2020-04-22 20:47:15 -04:00
Atermonera
1e4f5aa80e Merge pull request #7009 from atlantiscze/2020_04_17_EPRFix
Fixes supermatter monitoring EPR indicator showing Undefined
2020-04-22 15:48:21 -04:00
Aronai Sieyes
fabf5e630b Merge pull request #7374 from VOREStation/aro-pgenfixes
Fix some power issues
2020-04-22 01:45:05 -04:00
Unknown
36bdebef12 Uses original values 2020-04-22 01:25:34 -04:00
Aronai Sieyes
5cfe563b72 Power Fixes 2020-04-22 01:23:58 -04:00
Unknown
8d41fd5782 Fixes broken nuclear reactor sprite
Again.
Adjusts power numbers
Another tweak
Fixes Portable Generators
200k safe output
This is incredibly dumb
2020-04-22 00:53:20 -04:00
Aronai Sieyes
d71b127cdb Add micro laser to ARTGs 2020-04-22 00:27:11 -04:00