Commit Graph

1377 Commits

Author SHA1 Message Date
atermonera
3c995abe98 Fixes mapped R-UST connections, removes debug logs 2021-03-23 23:51:15 -09:00
MistakeNot4892
92c6bead11 Added recon and cargo platforms. 2021-03-13 13:24:28 +11:00
MistakeNot4892
b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
Mechoid
d191485825 R-UST rises again. (#7835)
* Fixfix the RUST

* TRUE FALSE
2021-02-19 22:01:47 -09:00
Mechoid
bd9f63a97a Gadgets & Gizmos (#7786)
* Adds various objects for explorers / antagonists.

* T A G S

* Mend
2021-01-14 21:53:39 -09:00
ShadowLarkens
dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
Meghan-Rossi
f365aa4e98 Fix solar trackers sometimes vanishing when deconstructed (#7710)
Fix solar trackers sometimes vanishing, without leaving an assembly behind, when deconstructed.  Also refactor solar code a little.
2020-10-16 23:03:03 -07:00
Meghan-Rossi
9611ae902e Makes wall-mounted machines layer above windows (#7708)
Makes wall-mounted machines layer above windows so that they are clickable if placed on windows
2020-10-16 23:01:39 -07:00
Meghan-Rossi
3c0fd9d6d7 Make the tesla ball eventually run out of energy (#7703)
Currently the tesla ball only loses energy until it runs out of orbiting mini-balls, then sticks around forever.  This makes it keep losing energy until it dissipates.
2020-10-15 02:41:34 -07:00
Cyantime
a4ffac748b no escape from electric fate (#7702) 2020-10-15 02:40:06 -07:00
Meghan-Rossi
4cd1f55467 Fix duplicate results from analyzing some objects (#7660) 2020-09-20 04:17:40 -07:00
Cerebulon
0815a554c6 Tweaks to pickup/equip sounds. (#7651) 2020-09-20 03:56:41 -07:00
ShadowLarkens
927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
Rykka
0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
Cyantime
9d45e995cf Replaces cable attack_ghost with normal examine 2020-08-14 18:45:25 -04:00
Cyantime
34a985b983 Observe improvements 2020-06-03 08:00:49 -04:00
Atermonera
55e12aad7b Merge pull request #7210 from VOREStation/vplk-static-power
[PORT] Static Machinery Power
2020-05-30 21:18:27 -07:00
Atermonera
6ab622a2b5 Merge pull request #7205 from VOREStation/Arokha/playsound
Alter playsound paradigm
2020-05-28 16:05:59 -07:00
Atermonera
551fc88ce1 Merge pull request #7204 from VOREStation/Arokha/performance
Performance improvements
2020-05-28 12:47:08 -07:00
Atermonera
9350308b8e Fixes particle accelerator construction. (#7232)
Left is left and right is right.
2020-05-24 14:31:43 -07:00
Aronai Sieyes
30613fff5c Optimize what starts in SSobj (#7155)
* Make intercom power change stateful

* Clean up air tank processing and initialize

* Optimize flashlight processing

* Optimize suit cooler processing

* Optimize geiger counter processing

* Optimize lighting processing

* Only process rigs on a person

* One more rig cleanup
2020-05-21 11:28:27 -07:00
Leshana
ccef6cc908 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-05-19 20:17:48 -04:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes
07acd05537 Obsolete the PROXMOVE flag and uses 2020-05-19 10:39:44 -04:00
Atermonera
fb4f381651 Merge pull request #7090 from VOREStation/aro-poismes
Don't give POI SMES more charge than possible
2020-05-15 17:55:19 -07:00
Atermonera
6571a10ad4 Merge pull request #7052 from VOREStation/pol-moved
Refactor Move() Code
2020-05-14 22:05:11 -07:00
Atermonera
8ba72a556d Merge pull request #7137 from Rykka-Stormheart/shep-dev-fix-byond-512-compat
CLAMP Backwards Compatibility Fix
2020-05-12 22:25:06 -07:00
Aronai Sieyes
eff72a9850 Merge branch 'master' into pol-moved 2020-05-12 11:22:43 -04:00
Aronai Sieyes
b3f475654d Merge branch 'master' into aro-poismes 2020-05-12 11:20:54 -04:00
Atermonera
d3b7d8e743 Merge pull request #7087 from VOREStation/pol-nightshift
Port SSnightshift from Paradise
2020-05-10 15:16:14 -07:00
Rykka
d689ba1b9a CLAMP Backwards Compatibility Fix
Fixes backwards compat with BYOND Stable versions below 513.
2020-05-10 14:04:05 -04:00
Little-119
14e3c8a830 Fix cooldown math while I'm here 2020-05-09 15:48:28 -04:00
Little-119
09d0fc9f1f Add nightshift setting 2020-05-09 15:48:20 -04:00
Aronai Sieyes
71c4e2b1d8 Allow locked APCs to still toggle night lighting 2020-05-09 15:48:09 -04:00
Atermonera
c8ab0a41ac Merge pull request #7059 from atlantiscze/2020_04_28_DelamChange
Supermatter delamination tweaks
2020-05-08 12:17:11 -07:00
Atermonera
6ecfe951ed Merge pull request #7091 from VOREStation/vplk-proper-atmos-canpass
[PORT] Use can_atmos_pass to reduce proc-calls in c_airblock()
2020-05-06 23:02:51 -07:00
Atermonera
2d2b8cce76 Merge pull request #7089 from VOREStation/vplk-smes-overcharge-fix
Fix an overcharged smes from breaking charging on other smes.
2020-05-06 23:00:00 -07:00
Atermonera
756fa5d6fa Merge pull request #7088 from VOREStation/pol-smesexamine
Fix SMES and debug power item examine messages
2020-05-06 22:59:29 -07:00
Aronai Sieyes
b7aae34335 Merge branch 'master' into pol-defaultparts 2020-05-05 22:51:02 -04:00
Leshana
e74ebd9805 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-05-04 13:47:52 -04:00
Leshana
35b7446a32 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-05-04 13:47:08 -04:00
Aronai Sieyes
88acff2c96 Don't give POI SMES more charge than possible 2020-05-04 13:44:42 -04:00
Leshana
1378829744 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:38:36 -04:00
Aronai Sieyes
34580a54b6 Fix typo in debug_items examine 2020-05-03 23:27:40 -04:00
Aronai Sieyes
ea5e49cb03 Fix SMES and debug power item examine messages 2020-05-03 22:48:41 -04:00
Aronai Sieyes
df12cd888a Port SSnightshift from Paradise
Makes the station have a night mode.
2020-05-03 21:17:55 -04:00
Atlantiscze
539b5cc0c8 Implements another batch of feedback 2020-05-03 23:29:03 +02:00
Atlantiscze
c32112c69c Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 2020_04_17_LoadBalancing 2020-05-03 23:17:27 +02:00
Atlantiscze
2d50c71553 Buffs devastation and heavy damage ranges when supermatter is energised (up to 2x at very high power levels).
- Intentionally leaving light damage range lower as at high power levels to somewhat concentrate the damage in engineering.
2020-05-03 22:56:50 +02:00
Atermonera
103d64ed43 Merge pull request #7046 from Neerti/system_3_fixes
Tweaks and fixes for the new new event system.
2020-04-29 14:26:58 -07:00