metalgearsloth
ae01618874
Revert "Revert "Replace `ResourcePath` with `ResPath` ( #15308 )" (#155… ( #15566 )
2023-04-20 20:16:01 +10:00
Slava0135
adb12676c6
replace apc panel with wires panel ( #14832 )
2023-04-20 16:42:22 +10:00
Slava0135
2689ff4f23
fix apc toggle ( #15562 )
2023-04-20 16:27:59 +10:00
metalgearsloth
acf79a8209
Revert "Replace `ResourcePath` with `ResPath` ( #15308 )" ( #15551 )
2023-04-20 11:43:54 +10:00
Ygg01
71f358a027
Replace `ResourcePath` with `ResPath` ( #15308 )
2023-04-19 23:39:17 +10:00
Leon Friedrich
9513ea66e4
ECS BatteryComponent ( #15337 )
2023-04-19 20:10:08 +10:00
Leon Friedrich
5b09ee3102
Use AllEntityQuery<> In power systems ( #15336 )
2023-04-14 12:45:02 -07:00
DrSmugleaf
b947856431
Remove hands component reference ( #15197 )
2023-04-07 11:21:12 -07:00
Leon Friedrich
df3dae9093
DoAfter fixes ( #15127 )
2023-04-03 23:28:55 -07:00
Leon Friedrich
19277a2276
More DoAfter Changes ( #14609 )
...
* DoAfters
* Compact Clone()
* Fix mice and cuffables
* Try generalize attempt events
* moves climbabledoafter event to shared, fixes issue with climbable target
* Fix merge (cuffing)
* Make all events netserializable
* handful of doafter events moved
* moves the rest of the events to their respective shared folders
* Changes all mentions of server doafter to shared
* stop stripping cancellation
* fix merge errors
* draw paused doafters
* handle unpausing
* missing netserializable ref
* removes break on stun reference
* removes cuffing state reference
* Fix tools
* Fix door prying.
* Fix construction
* Fix dumping
* Fix wielding assert
* fix rev
* Fix test
* more test fixes
---------
Co-authored-by: keronshb <keronshb@live.com>
2023-04-02 21:13:48 -04:00
Slava0135
d03ca61da1
Telecom server panel check ( #14523 )
2023-03-23 20:09:45 -04:00
James Simonson
3bcd319ae4
Enhanced APC UI + New NT logo to footer ( #14258 )
2023-03-06 21:55:35 -04:00
Slava0135
b2972c1d2c
Add emp grenade ( #14393 )
2023-03-06 11:05:12 -08:00
metalgearsloth
ce6bd03685
Fix powernetworkbattery typo ( #14385 )
...
Not on any of our maps.
2023-03-06 00:36:36 -04:00
metalgearsloth
44fb8a9e2d
Fix rsi sprite access for verbs ( #14284 )
2023-02-26 18:48:57 +11:00
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
Acruid
4f9be42f40
Remove Explicit GridId References ( #8315 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
themias
1e02a97451
Tweak stun batons to use a battery instead of power cell ( #8716 )
...
* Allow baton/battery to be inserted into recharger
* Revert "Allow baton/battery to be inserted into recharger"
This reverts commit ccf1f3d1827bf45c49bb6ca4f5c97990d1afba6e.
* Refactor stun batons to use internal batteries
2022-06-12 11:20:03 +10:00
Pieter-Jan Briers
a323ba8223
Revert "Revert "Fix some friend access violations by allowing others access. ( #8594 ) ( #8703 )" (working this time) ( #8704 )
2022-06-07 15:26:28 +02:00
Pieter-Jan Briers
cecf87997b
Revert "Fix some friend access violations by allowing others access. ( #8594 ) ( #8703 )
2022-06-07 13:44:31 +02:00
Vera Aguilera Puerto
c5f7c61041
Fix some friend access violations by allowing others access. ( #8594 )
...
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00
Leon Friedrich
ca7960382b
Missing nullables ( #8634 )
2022-06-04 17:17:48 +10:00
keronshb
d5620aa833
AccessReader IsAllowed use resolve ( #8527 )
2022-06-01 08:26:50 -07:00
metalgearsloth
fb943a61dc
Gun refactor ( #8301 )
...
Co-authored-by: Kara <lunarautomaton6@gmail.com>
Co-authored-by: T-Stalker <le0nel_1van@hotmail.com>
Co-authored-by: T-Stalker <43253663+DogZeroX@users.noreply.github.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-06-01 19:59:58 +10:00
metalgearsloth
2d873a2cf2
Add static "IsPowered" method ( #8434 )
...
* Add static "IsPowered" method
* Use IsPowered in more places
Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-05-26 17:36:12 -07:00
Flipp Syder
80a68b3867
Wires patches ( #8385 )
2022-05-23 16:00:51 -07:00
wrexbe
bc68ac96dd
Cleanup the namespaces ( #8132 )
2022-05-13 17:59:03 +10:00
Flipp Syder
2c6158e115
Wires refactor ( #7699 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-06 12:35:06 +10:00
20kdc
70cd3d18ca
Power Monitoring Console ( #7849 )
2022-05-04 10:59:40 -07:00
metalgearsloth
72da2db62d
Content changes for grid splitting ( #7645 ) ( #7746 )
...
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2022-04-24 13:54:25 +10:00
metalgearsloth
ecaad9c349
Revert "Update submodule (again)" ( #7730 )
2022-04-24 02:26:00 +10:00
metalgearsloth
8c7772630c
Content changes for grid splitting ( #7645 )
...
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2022-04-24 00:59:38 +10:00
Leon Friedrich
2777d2ef64
Update PowerChangedEvent ( #7503 )
...
* Update PowerChangedEvent
* Comments
2022-04-13 23:50:42 +10:00
Rane
7900abb888
Literally Murder IExamine ( #7352 )
2022-04-08 14:17:25 -07:00
metalgearsloth
49163f1dec
Nuke PowerChangedMessage ( #7231 )
2022-03-28 09:58:51 -07:00
Rane
926e36d81d
Convert almost all IActivate instances that open UIs to ActivatableUI ( #7028 )
...
* Chem master
* Drone support for handhelds
* Vending machines, scanners
* Cloners, R&D computers
* make research a little less sussy
* Unfuck wires
* PA control computer
* Unfuck merge
* Clean up git gore for good
* Disposals
* Microwaves
* paper
* Magic mirror
* More vendors for drones
* Solar computer whitelist
* EFR review updates
2022-03-12 11:26:06 -07:00
Moony
8b2184a53c
Two more events ( #6906 )
...
* vent clog!
* forgot you
* Breaker flip event, to annoy engineering.
* small fix.
2022-02-26 21:04:01 -06:00
Alex Evgrashin
6eeaa81131
More artifacts triggers and tweaks ( #6723 )
...
Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
2022-02-19 12:16:49 -07:00
Rane
8049a709e6
Emags ( #6738 )
2022-02-17 19:43:24 -07:00
mirrorcult
ec4d4688c7
Seal/abstract/virtual everything ( #6739 )
2022-02-16 18:23:23 +11:00
Leon Friedrich
a4aacaef5e
Add extra debug data to nodevis ( #6684 )
2022-02-15 21:19:32 +11:00
mirrorcult
cd0b9a4480
Examine verbs + tooltip buttons ( #6489 )
2022-02-13 20:20:58 -07:00
Leon Friedrich
21e0cd4256
Optimize pipe net appearance updating. ( #6469 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-02-09 14:10:55 +11:00
wrexbe
425712adea
Removed extra comp name attributes ( #6449 )
2022-02-08 19:42:49 +11:00
Leon Friedrich
1e10314900
Reduce node resolves ( #6435 )
2022-02-06 23:10:33 +11:00
Leon Friedrich
dd61fb46ea
Adjust interaction ordering & interaction conditions ( #6387 )
2022-02-05 13:39:01 +11:00
metalgearsloth
aaea5dd2d8
Fix Sloth's power crime ( #6443 )
2022-02-02 13:10:31 -07:00
wrexbe
17db0775c8
Auto comp ( #6416 )
2022-02-02 14:35:40 +11:00
metalgearsloth
fa8a7e609a
Reduce charge allocs ( #6431 )
2022-02-01 19:32:01 -07:00
metalgearsloth
b5f816c815
ECS CablePlacer ( #6371 )
2022-01-29 22:45:57 +11:00
wrexbe
2842f83454
HeightComparer is a little faster ( #6021 )
2022-01-24 22:37:49 +11:00
wrexbe
cea1b21832
Fixing some warnings ( #6250 )
...
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-21 10:38:35 +01:00
Leon Friedrich
b89557bb49
Fix cable cutting and allow tool system to raise directed events ( #6175 )
2022-01-18 15:17:46 -07:00
Leon Friedrich
3413dc732c
Optimize ExtensionCableSystem ( #6158 )
2022-01-18 19:08:57 +11:00
mirrorcult
1fcc484a12
ECS APCs ( #6118 )
2022-01-15 11:32:46 -07:00
Leon Friedrich
55f52f76be
Fix more component-dependency purge issues ( #6178 )
2022-01-15 00:06:48 -07:00
Paul Ritter
9e1607722d
removes componentdependencies ( #6160 )
2022-01-15 13:26:37 +11:00
Leon Friedrich
2947b33481
Fix cable unanchor bug ( #6159 )
2022-01-15 03:26:52 +11:00
Leon Friedrich
15c8aaca66
ECS cable ( #6141 )
2022-01-14 01:21:30 +11:00
Leon Friedrich
0aa4f9efbe
Power Cell Refactor ( #5943 )
...
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-05 15:20:25 +11:00
wrexbe
abba1e1c2c
Make held entity nullable ( #5923 )
2021-12-30 19:27:15 -07:00
Paul Ritter
512d6a38c3
get that crap outta here (completely rewrites inventorysystem) ( #5807 )
...
* some work
* equip: done
unequip: todo
* unequipping done & refactored events
* workin
* movin
* reee namespaces
* stun
* mobstate
* fixes
* some work on events
* removes serverside itemcomp & misc fixes
* work
* smol merge fix
* ports template to prototype & finishes ui
* moves relay & adds containerenumerator
* actions & cuffs
* my god what is actioncode
* more fixes
* im loosing my grasp on reality
* more fixes
* more work
* explosions
* yes
* more work
* more fixes
* merge master & misc fixed because i forgot to commit before merging master
* more fixes
* fixes
* moar
* more work
* moar fixes
* suffixmap
* more work on client
* motivation low
* no. no containers
* mirroring client to server
* fixes
* move serverinvcomp
* serverinventorycomponent is dead
* gaming
* only strippable & ai left...
* only ai and richtext left
* fixes ai
* fixes
* fixes sprite layers
* more fixes
* resolves optional
* yes
* stable™️
* fixes
* moar fixes
* moar
* fix some tests
* lmao
* no comment
* good to merge™️
* fixes build but for real
* adresses some reviews
* adresses some more reviews
* nullables, yo
* fixes lobbyscreen
* timid refactor to differentiate actor & target
* adresses more reviews
* more
* my god what a mess
* removed the rest of duplicates
* removed duplicate slotflags and renamed shoes to feet
* removes another unused one
* yes
* fixes lobby & makes tryunequip return unequipped item
* fixes
* some funny renames
* fixes
* misc improvements to attemptevents
* fixes
* merge fixes
Co-authored-by: Paul Ritter <ritter.paul1@gmail.com>
2021-12-30 22:56:10 +01:00
Leon Friedrich
b675bdb789
Move Access & AccessReader to shared. ( #5798 )
...
* git mv
* Move Access Component & system.
- Name space changes
- Rename AccessReader to AccessReaderComponent
- Also need an abstract TryGetSlot function for SharedInventoryComponent
* better TryGetSlot
* Ah yes, tests exist.
2021-12-25 20:07:28 -08:00
metalgearsloth
caf28d09b3
Optimise air + cable shutdowns for grid deletion ( #5847 )
...
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-12-21 17:17:21 +11:00
Paul
97e47178d7
Revert "fixes a bunch of warnings"
...
This reverts commit d4d85b663f .
2021-12-20 15:20:27 +01:00
Paul
d4d85b663f
fixes a bunch of warnings
2021-12-20 13:58:30 +01:00
Paul Ritter
cc57d1380c
Revert Rich text ( #5848 )
2021-12-20 12:42:42 +01:00
Caj Jones
41a9bb1efa
Add anchored checks to GetReachableNodes() for power device nodes ( #5760 )
2021-12-12 22:45:54 -07:00
E F R
b2da936848
Everything: Rich text redux ( #5625 )
...
* lord save me
* UI/ChatBox: Use the new `defStyle` param for `RenderMarkup`
The previous iteration didn't work because `AddMessage` can't inherit
its color from the PushColor (since we're not doing actual tag stacks
anymore).
* rebase touchup
2021-12-12 18:25:42 -08:00
Vera Aguilera Puerto
cdc8336695
Even more resolve removals.
2021-12-08 17:41:14 +01:00
Vera Aguilera Puerto
0a71b62305
Fix build.
...
I HATE STATIC I HATE STATIC I HATE STATIC
2021-12-08 13:07:24 +01:00
Vera Aguilera Puerto
c8b65be747
Replace IEntityManager resolves in systems for cached EntityManager
2021-12-08 13:00:43 +01:00
metalgearsloth
8af335097f
More (IComponent) shenanigans and also some contaminated IoCManager.Resolve<IEntityManager>() very long yes calls
2021-12-07 22:22:34 +11:00
Vera Aguilera Puerto
c57b07a4d0
Goes in-game now
2021-12-06 15:34:46 +01:00
metalgearsloth
525297c5fe
A bunch of AttachedEntity bullshit
2021-12-06 15:39:46 +11:00
DrSmugleaf
215cae5655
Fix more errors
2021-12-06 00:52:58 +01:00
DrSmugleaf
ab9d0cc6d8
Fix errors
2021-12-05 21:02:04 +01:00
DrSmugleaf
2a3b7d809d
Fix 3000 errors
2021-12-05 18:09:01 +01:00
Vera Aguilera Puerto
f386b57148
Inline OwnerUid
2021-12-03 16:30:34 +01:00
Vera Aguilera Puerto
5cd42c9ad6
Inline UID
2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto
ee4ff9cfe8
Inline Name
2021-12-03 15:25:51 +01:00
Vera Aguilera Puerto
a5b57c8e10
Inline Transform
2021-12-03 14:20:34 +01:00
Vera Aguilera Puerto
69b270017b
Inline TryGetComponent completely, for real
2021-12-03 14:17:01 +01:00
Vera Aguilera Puerto
b835bea086
Inline GetComponent
2021-12-03 11:55:25 +01:00
Vera Aguilera Puerto
e3227546b3
Inline Delete
2021-12-03 11:43:03 +01:00
Vera Aguilera Puerto
f10ed6c0c3
Inline GetAllComponents
2021-12-03 11:42:24 +01:00
Vera Aguilera Puerto
5e177ae734
Inline EntityManager
2021-12-03 11:18:05 +01:00
metalgearsloth
1c089a4079
Fixtures (again) ( #5636 )
2021-12-01 18:32:37 +11:00
metalgearsloth
43b637826d
Revert "Content update for fixture changes ( #5524 )"
...
This reverts commit 0a843b671f .
2021-12-01 13:55:24 +11:00
metalgearsloth
0a843b671f
Content update for fixture changes ( #5524 )
2021-12-01 13:05:08 +11:00
20kdc
f6d44be34f
Activatable UI component ( #5184 )
...
* Transfer most Instrument UI logic to a new component, ActivatableUIComponent
* Move more ActivatableUIComponent stuff to ECS
* ActivatableUI component ignore on client
* ActivatableUI: Get rid of component interfaces where possible
* Add in adminOnly attribute for activatable UIs
This is so that porting #4926 to this will be easier
* Transition Solar Control Computer to ActivatableUI
* Move communications console to ActivatableUI
* Move cargo console to ActivatableUI
* Move ID card console to ActivatableUI
* ActivatableUI: Make things more amiable to entity tests adding components weirdly
* ActivatableUI: Use handling or lack thereof of events properly
* ActivatableUI: component dependency issue resolution stuffs
* ActivatableUISystem: Fix #5258
* More fixes because master did stuffo
* Check for HandDeselectedEvent again because otherwise active-hand check doesn't work
* Move just a bit more code into the system, introduce a workaround for #5258
* Purge the player status detection stuff
* Oh and some obsolete stuff too
2021-11-23 19:19:08 +01:00
Acruid
fa0ec5cbd9
AppearanceComponent API Changes ( #5446 )
2021-11-23 18:22:59 +11:00
20kdc
856e570c7b
Stop BatterySystem from iterating over every battery just to recharge micro-reactors ( #5393 )
2021-11-18 20:02:17 +01:00
Vera Aguilera Puerto
48f8dd2284
ActionBlocker CanInteract uses EntityUid exclusively
...
ActionBlockerSystem fully uses EntityUid now!
2021-11-09 15:05:49 +01:00
Vera Aguilera Puerto
9921801f15
ActionBlocker CanPickup uses EntityUid exclusively
2021-11-09 13:43:39 +01:00
Vera Aguilera Puerto
51e785c0fd
ActionBlocker CanDrop uses EntityUid exclusively
2021-11-09 13:23:53 +01:00
Vera Aguilera Puerto
e6e15b3728
Replace all ITransformComponent by TransformComponent
2021-11-08 12:37:32 +01:00
Pieter-Jan Briers
059fa9ae48
Gravity generator rewrite ( #4828 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-11-02 11:12:55 +11:00
20kdc
44f5f15790
Power-reading multitool ( #5046 )
...
* AMEPartComponent: Switch to ToolSystem.HasQuality because this bugs me.
* Multitool can read power when you examine a cable with the multitool held.
* Multitool power reading: Condense storage information
* power-sensing multitool: Fix ToolSystem ref.
* Power-reading multitools: Fix misuse of GetComponent
2021-10-29 14:42:18 +02:00
20kdc
bddce95e37
Switch from drainallbatteries to a drain/fill-specific-battery command for saner eventing ( #5077 )
...
* drain all batteries / drain battery command for saner eventing
* Reverts the part of the previous commit where drainallbatteries skips items, despite my better judgement
* setbatterypercent now takes the place of battery drainage commands
A more forall-oriented approach
2021-10-29 11:49:52 +02:00
Visne
c67160ae19
Disable warnings that would be refactored anyway ( #5047 )
2021-10-27 18:10:40 +02:00
Julian Giebel
d1a830cd74
Fix ApcPowerReceiverComponent deletion ( #5031 )
...
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-25 21:55:00 +02:00
Vera Aguilera Puerto
ed3bf94a3b
Electrocution. ( #4958 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2021-10-25 16:21:56 +02:00
Julian Giebel
d1e323b993
Bugfix: ExtensionCableReceiver anchoring ( #5014 )
...
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-24 18:49:26 +02:00
moonheart08
86e2f2005e
Allows placing cables on lattices. ( #4984 )
...
Adds a "sturdy" tile flag, that in the future could be used by construction/etc to figure out if it's safe to build on a tile. (For example water isn't space, but it's not a sturdy building surface!)
2021-10-23 17:32:33 -07:00
Julian Giebel
45caf25ea9
Apc device network and apc based light switch ( #4908 )
...
* Remove WireNet node group from cables
Implement extension cable components and system
Remove connection over distance logic from ApcPower... components
* Add extension cable components to prototypes
* Implement ApcNetwork
Implement ApcNetSwitch
* Fix ignoredComponents.cs
* Add friend attribute to new components
* Add construction graph for a light switch
* Address reviews
* Fix broken test
* Move ConnectionType enum to DeviceNetworkComponent
Change netId data definition to use the ConnectionType enum values
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-23 16:23:19 -07:00
Vera Aguilera Puerto
eaaeefb74b
Fix yet another exception with CableTerminalNode for the same dumb reason
2021-10-22 23:50:14 +02:00
Vera Aguilera Puerto
cb2c044c08
Fix exception with CableTerminalPortNode assuming an entity's GridID can never be zero.
2021-10-22 23:46:30 +02:00
Alex Evgrashin
a3f16295ea
Move Access to ECS ( #4826 )
...
* Moved access to ecs
* Fixed tests
* Moved test to integration
* Better IoC
* Moved preset ID card
* Moved id card to ECS
* Moved access component to ECS
* Fixed pda access
* Final touches
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-10-22 13:31:07 +11:00
20kdc
6fb968d47f
Set default Pow3r ramp rate/tolerance values ( #4748 )
2021-10-20 20:31:53 +02:00
Vera Aguilera Puerto
b904efb942
Makes many thing that update on paused *not* do that. ( #4938 )
2021-10-18 23:58:34 +11:00
Vera Aguilera Puerto
1df8402c17
Fix rare exception when CableVis tries to update an entity not on a valid grid.
2021-10-14 11:12:54 +02:00
Vera Aguilera Puerto
0b57420d6e
ToolSystem UseTool doesn't log missing components, slight cleanup for things using tools.
2021-10-07 23:08:16 +02:00
Vera Aguilera Puerto
365c7da4dc
Makes tools and welders ECS, add ToolQualityPrototype. ( #4741 )
2021-10-07 13:01:27 +02:00
Vera Aguilera Puerto
359b4b866d
Fix exception when CableDeviceNode is not on a grid.
2021-10-05 09:51:23 +02:00
Leon Friedrich
6cb58e608b
ECS verbs and update context menu ( #4594 )
...
* Functioning ECS verbs
Currently only ID card console works.
* Changed verb types and allow ID card insertions
* Verb GUI sorting and verb networking
* More networking, and shared components
* Clientside verbs work now.
* Verb enums changed to bitmask flags
* Verb Categories redo
* Fix range check
* GasTank Verb
* Remove unnecessary bodypart verb
* Buckle Verb
* buckle & unbuckle verbs
* Updated range checks
* Item cabinet verbs
* Add range user override
* construction verb
* Chemistry machine verbs
* Climb Verb
* Generalise pulled entity verbs
* ViewVariables Verb
* rejuvenate, delete, sentient, control verbs
* Outfit verb
* inrangeunoccluded and tubedirection verbs
* attach-to verbs
* remove unused verbs and move VV
* Rename DebugVerbSystem
* Ghost role and pointing verbs
* Remove global verbs
* Allow verbs to raise events
* Changing categories and simplifying debug verbs
* Add rotate and flip verbs
* fix rejuvenate test
* redo context menu
* new Add Gas debug verb
* Add Set Temperature debug verb
* Uncuff verb
* Disposal unit verbs
* Add pickup verb
* lock/unlock verb
* Remove verb type, add specific verb events
* rename verb messages -> events
* Context menu displays verbs by interaction type
* Updated context menu HandleMove
previously, checked if entities moved 1 tile from click location.
Now checks if entities moved out of view.
Now you can actually right-click interact with yourself while walking!
* Misc Verb menu GUI changes
* Fix non-human/ghost verbs
* Update types and categories
* Allow non-ghost/human to open context menu
* configuration verb
* tagger verb
* Morgue Verbs
* Medical Scanner Verbs
* Fix solution refactor merge issues
* Fix context menu in-view check
* Remove prepare GUI
* Redo verb restrictions
* Fix context menu UI
* Disposal Verbs
* Spill verb
* Light verb
* Hand Held light verb
* power cell verbs
* storage verbs
and adding names to insert/eject
* Pulling verb
* Close context menu on verb execution
* Strip verb
* AmmoBox verb
* fix pull verb
* gun barrel verbs
revolver verb
energy weapon verbs
Bolt action verb
* Magazine gun barrel verbs
* Add charger verbs
* PDA verbs
* Transfer amount verb
* Add reagent verb
* make alt-click use ECS verbs
* Delete old verb files
* Magboot verb
* finalising tweaks
* context menu visibility changes
* code cleanup
* Update AdminAddReagentUI.cs
* Remove HasFlag
* Consistent verb keys
* Remove Linq, add comment
* Fix in-inventory check
* Update GUI text alignment and padding
* Added close-menu option
* Changed some "interaction" verbs to "activation"
* Remove verb keys, use sorted sets
* fix master merge
* update some verb text
* Undo Changes
Remove some new verbs that can be added later
undid some .ftl bugfixes, can and should be done separately
* fix merge
* Undo file rename
* fix merge
* Misc Cleanup
* remove contraction
* Fix keybinding issue
* fix comment
* merge fix
* fix merge
* fix merge
* fix merge
* fix merge
* fix open-close verbs
* adjust uncuff verb
* fix merge
and undo the renaming of SharedPullableComponent to PullableComponent. I'm tired of all of those merge conflicts
2021-10-04 20:29:03 -07:00
mirrorcult
402cd9b56b
Many lighting tweaks ( #4709 )
2021-10-01 20:59:06 +00:00
Vera Aguilera Puerto
f21c921c56
Fix being able to place cables on non-subfloor tiles
...
- Also performs an actionblocker check just in case.
2021-10-01 15:09:12 +02:00
Kara D
d3751ee706
whoops
2021-09-29 17:34:34 -07:00
metalgearsloth
8365e8d52c
Event for PowerNetBattery CurrentSupply changing ( #4570 )
...
I re-used AmbientOnPowered but maybe that was lazy; I was doubtful anything would ever have ApcPowerReceiver and PowerNetBatteryComponent.
2021-09-29 17:09:16 -07:00
metalgearsloth
ad783396f8
Update CloseTo to CloseToPercent ( #4708 )
2021-09-29 20:07:01 +10:00
Vera Aguilera Puerto
0be5ff829b
Gets rid of all ComponentManager usages. ( #4707 )
2021-09-28 13:35:29 +02:00
Vera Aguilera Puerto
0767bd3777
Popup ECS Refactor ( #4692 )
2021-09-26 15:18:45 +02:00
Vera Aguilera Puerto
61d8852799
Update StackSystem to use Resolves. ( #4664 )
...
* Update StackSystem to use Resolves.
* Compile
2021-09-20 13:39:05 +02:00
Leon Friedrich
486dc6ca62
Add Alt-click functionality ( #4497 )
...
* Fix ItemSlot Bug
* Add Alt-use Key
* Fix TransferAmount window bug
* Alt-click functionality
* Added AltInteract verbs
* Add new verbs
* verb icons
* Changed Comments
* Change Comments
* Fix disposal verbs
* Changed Get...() to Get...OrNull()
* Changed alt-interact combat behaviour
* Update verb icons
* Inventory interact event
* Add Alt+E secondary binding
* Add alt-z keybinding
* Rename AltUse -> AltActivateItemInWorld
2021-08-21 10:20:18 -07:00
Galactic Chimp
57016d14b4
removed TryGetSound + made some SoundSpecifier datafields required
2021-07-31 19:52:33 +02:00
Galactic Chimp
41c30aa28b
Merge branch 'master' into replace-sounds-with-sound-specifier
...
# Conflicts:
# Content.Server/Hands/Components/HandsComponent.cs
# Content.Server/Light/Components/ExpendableLightComponent.cs
# Content.Shared/Light/Component/SharedExpendableLightComponent.cs
2021-07-31 13:16:03 +02:00
Pieter-Jan Briers
73e4946e27
Pow3r goes brrr with generational IDs.
2021-07-31 02:50:23 +02:00
Pieter-Jan Briers
b92a2ba115
Remove GraphWalkSolver
...
It's not worth maintaining and if anybody cares the code is in git history.
2021-07-31 02:50:23 +02:00
Galactic Chimp
5363f59a90
Merge branch 'master' into replace-sounds-with-sound-specifier
...
# Conflicts:
# Content.Server/Kitchen/Components/ReagentGrinderComponent.cs
# Content.Server/Storage/Components/SecureEntityStorageComponent.cs
2021-07-30 20:26:22 +02:00
Pieter-Jan Briers
8c362fcd9b
Use non-directed event for powernet battery sync.
...
Most of the CPU time in the power system was sending these events.
2021-07-29 16:55:09 +02:00
Galactic Chimp
f531c65a0b
Merge branch 'master' into replace-sounds-with-sound-specifier
...
# Conflicts:
# Content.Server/Actions/Actions/DisarmAction.cs
# Content.Server/Actions/Actions/ScreamAction.cs
# Content.Server/Arcade/Components/SpaceVillainArcadeComponent.cs
# Content.Server/Damage/Components/DamageOnHighSpeedImpactComponent.cs
# Content.Server/Explosion/Components/FlashExplosiveComponent.cs
# Content.Server/Physics/Controllers/MoverController.cs
# Content.Server/Portal/Components/PortalComponent.cs
# Content.Server/Portal/Components/TeleporterComponent.cs
# Content.Server/Projectiles/Components/ProjectileComponent.cs
# Content.Server/Singularity/Components/EmitterComponent.cs
# Content.Server/Sound/EmitSoundSystem.cs
# Content.Server/Stunnable/Components/StunbatonComponent.cs
# Content.Server/Tools/Components/MultitoolComponent.cs
# Content.Server/Weapon/Ranged/Barrels/Components/ServerBatteryBarrelComponent.cs
# Content.Shared/Gravity/GravityComponent.cs
# Content.Shared/Light/Component/SharedExpendableLightComponent.cs
# Content.Shared/Maps/ContentTileDefinition.cs
# Content.Shared/Slippery/SlipperyComponent.cs
# Content.Shared/Standing/StandingStateComponent.cs
# Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml
2021-07-25 14:12:00 +02:00
Visne
b7dc3c81ae
Remove redundant #nullable enable ( #4275 )
2021-07-16 17:37:09 -07:00
metalgearsloth
fc9a15b288
Eventbus event for ApcPowerReceiver powered
2021-07-16 12:41:01 +10:00
Galactic Chimp
ce3c59e0e6
replacing sound (collection) names with SoundSpecifier - part 1
2021-07-10 17:35:33 +02:00
Pieter-Jan Briers
103bc19508
Pow3r: stage 1 ( #4208 )
...
Co-authored-by: 20kdc <asdd2808@gmail.com>
2021-07-04 18:11:52 +02:00
Galactic Chimp
392b820796
Removed old Loc.GetString() use instances ( #4155 )
...
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-21 02:13:54 +02:00
Acruid
15fb554c28
Engine Entity Anchoring Changes ( #4195 )
...
* Converted all SnapGridPositionChangedEvent subscriptions to AnchorStateChangedEvent.
* Fixes power tests with new anchored requirements.
* Moved AnchorableComponent into construction.
AnchorableComponent now uses Transform.Anchored.
* Fixed bug with nodes, power works again.
* Adds lifetime stages to Component.
* Update Engine to v0.4.70.
2021-06-19 19:41:26 -07:00
DrSmugleaf
9b8185db23
Deprecate IActionBlocker in favour of cancellable events ( #4193 )
...
* Deprecate IActionBlocker in favour of cancellable events
* Bring back old speech/emoting component restrictions
* Rename action blocker listener methods
* Use Entity System public methods instead of extension methods
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2021-06-19 10:03:24 +02:00
DrSmugleaf
e44663e99f
Remove obsolete system event unsubscriptions ( #4190 )
2021-06-16 23:54:00 +10:00
DrSmugleaf
f878f353e4
Move some files out of Content.Shared root because I forgot ( #4182 )
2021-06-13 22:52:40 +10:00
DrSmugleaf
ff1a2d97ea
Re-organize all projects ( #4166 )
2021-06-09 22:19:39 +02:00