Commit Graph

326 Commits

Author SHA1 Message Date
Leon Friedrich
2351bbb607 Add power debug verbs (#14212) 2023-02-26 04:14:35 +11:00
keronshb
9ebb452a3c DoAfter Refactor (#13225)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-02-25 01:01:25 +01:00
Kevin Zheng
32b9a7b781 Add APC power meter (#14196) 2023-02-21 09:23:38 -06:00
deltanedas
98b02b3d97 make emagged marker component (fixed version of #13867) (#14096)
* The all-in-one hacking solution
The thinking man's lockpick
The iconic EMAG

* emagged medbay's stasis bed

* left med, emagged sec' apc

* went back to chem, emagged the dispenser

* emagged the fax while i was there

* had a donut while waiting for emag to charge

* i broke into the bridge then announced 'mandatory johnson inspection in medical'

* get system instead of dependency

* feedback

* net suggestion

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* use EnsureComp and import NetworkedComponent

---------

Co-authored-by: deltanedas <user@zenith>
Co-authored-by: deltanedas <deltanedas@laptop>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-02-18 19:03:06 -06:00
keronshb
42745b1c6e Conveyor Belt optimization and prediction (#12929)
* belt multithreading

* moves away from multithreading and changes setting awake directly to physics system method

* prediction for conveyors

* Fixes missing reference in FaxSystem

* Fixes oddities

* Adds networked to conveyor components

* Some more cleanup.

* reverts power change event

* Removes the event, fixes a file

* Should fix the rest of the weird additions

* More cleanup to fix extra files

* Fixes again

* fix

* fixes fax system

* Adds component state, cleans up the dependencies

* Checks for prediction

* Merge conflicts

* powa

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-02-13 12:20:39 +00:00
Visne
5a5a3afbb1 Remove some obsolete AppearanceComponent method usages (#13726) 2023-02-02 12:34:53 -04:00
Nemanja
d87d8f2886 predict emag and make blessed record struct events (#13623) 2023-01-22 02:12:45 +11:00
Leon Friedrich
b20b4b11cc Wire action cleanup (#13496) 2023-01-21 10:51:02 +11:00
Chief-Engineer
6f58f5a36c Improve construction logs (#13146) 2023-01-20 08:17:57 -08:00
Rane
80d4dc430d Generic power switch component (#11999) 2023-01-20 08:05:54 -08:00
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
metalgearsloth
2873a830bd ECS airlocks (#13500) 2023-01-17 11:44:32 -07:00
Chief-Engineer
3cfd814503 Add logging for hacking (#12861) 2023-01-16 08:14:46 +11:00
778b
ba0510b62e Refactored PowerNet (#13287)
Closes https://github.com/space-wizards/space-station-14/issues/12353
2023-01-05 05:43:05 +11:00
Nemanja
faca40b8d5 more component ref removal + combining server/client comps (#13178)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-12-25 05:28:21 +01:00
Leon Friedrich
881a2b2ece PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
metalgearsloth
6fa9104ad7 Update content for pause event changes (#12970) 2022-12-14 11:55:51 +11:00
metalgearsloth
3b3963083b Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
Leon Friedrich
abaa6c6dd9 Increase error tolerance of power debug assert (#12828) 2022-12-09 12:48:53 +11:00
Leon Friedrich
05ff801f13 Change power debug assert precision (#12728) 2022-11-22 16:15:52 -08:00
metalgearsloth
6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
Nemanja
d1b5630648 fix infinite power gen bug (#12688) 2022-11-20 20:50:43 -06:00
DrSmugleaf
7fbc2608e8 Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
Leon Friedrich
527fbe74c8 Fix power assert. (#12506) 2022-11-10 11:25:25 +11:00
Leon Friedrich
eebb31493c Parallelize BatteryRampPegSolver (#12351) 2022-11-09 12:43:45 +11:00
Leon Friedrich
e29dc8c785 Power struct enumerators (#12396) 2022-11-07 03:33:56 +11:00
0x6273
a201d777bc Machine upgrade examine verb (#12119) 2022-11-04 14:27:47 +11:00
Nemanja
cfab87b3d7 generator machine upgrading (#12145) 2022-10-22 15:38:57 -07:00
metalgearsloth
ff2fbda804 Use priority queue for power networks (#12134) 2022-10-22 14:51:02 -07:00
Mervill
a5a92c4dca Hotfix for Battery & Weapon Chargers. (#11976) 2022-10-17 09:05:35 +11:00
Mervill
15a772fb96 Cleanup for ChargerComponent (#11907) 2022-10-16 21:21:54 +11:00
Nemanja
c20f1ac559 Add a component for upgrading power consumption in machines (#11777)
Co-authored-by: 0x6273 <0x40@keemail.me>
2022-10-15 14:28:12 -07:00
corentt
67760da204 Add power selling price (#11395) 2022-10-15 14:10:48 -07:00
Mervill
c11c11bace Unhardcode some logic related to objects with battery slots. Minor fix to fire helmets. (#11734) 2022-10-15 13:15:39 -07:00
metalgearsloth
0b38589728 Raise power events by ref and not broadcast (#11923)
Also some other minor stuff.
2022-10-14 23:08:15 -05:00
rolfero
f8c4c2d449 Machine Battery Scaling (SMES/Substation) (#11662)
Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
2022-10-03 17:59:39 -07:00
rolfero
149aacf187 Multitool examine wires on click (#11352)
* cable examine update

* Revert "cable examine update"

This reverts commit 0c6df040b3b014a35fb9abe1cdc6e1078c5b1ca1.

* Multitool checks wire when clicked

Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
2022-09-16 14:27:53 -07:00
Kara
db1dfc8958 Command perm modifications (#11273)
* Command perm modifications

* actually not this one

* string
2022-09-14 19:02:38 -05:00
metalgearsloth
78a4ab6eb2 Update for collision events by-ref (#10933) 2022-09-14 17:26:26 +10:00
rolfero
d7b31865ff APC construction updated, uses electronics (#10987)
* APC construction and deconstruction
Construction action GivePrototype

* APC needs screwing + sprites

* apc framework, working construction recipe

* Energy swords hot

* APC changes

* APC construction/deconstruction

* removed comments

* Revert "Energy swords hot"

This reverts commit 75228483abb3cc6252118b319bc8949d5198362d.

* Renamed function for clarity

* Fixed the last step not showing in the construction menu

* Some fixes

* Update Content.Server/Power/EntitySystems/ApcSystem.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Server/Construction/Completions/GivePrototype.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Structures/Power/apc.yml

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Structures/Power/apc.yml

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Server/Power/Components/ApcElectronicsComponent.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Client/Power/APC/ApcVisualizer.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>
2022-09-09 20:27:41 -07:00
Rane
2f4849eae1 Cloning Rework (#8972)
Co-authored-by: fishfish458 <fishfish458>
2022-08-03 21:05:17 -07:00
Leon Friedrich
c7ad6b709e Audio System Rejig (#9635) 2022-07-29 12:13:12 +10:00
Flipp Syder
fab5aed3b8 Fixes power wire action electrocution (#8520) 2022-07-24 21:53:30 -07:00
Moony
96ae4da9bd Add a log to cut cables. How did this not exist before? (#9780) 2022-07-16 21:50:57 -05:00
Kara
dc28b58468 Visual popup types (#9523)
* Visual popup types

* Pass over `PopupCoordinates` and `PopupCursor`

* `PopupEntity` pass

* Disease and reagent popup pass

* COLOUR
2022-07-09 04:09:52 -05:00
Leon Friedrich
d9c247b310 Fix pipe net null error (#9508) 2022-07-06 20:36:07 -07:00
Leon Friedrich
ad60eb770e Node network bug (#9039) 2022-06-23 22:21:44 +10:00
metalgearsloth
8905996cfc Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Leon Friedrich
fa4c6f63f8 Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
keronshb
f7b1bda3e5 Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00