YotaXP
6f02e6c19c
Decouple power sink from tickrate ( #40789 )
...
* Fix typo in `BatterySystem.ChangeCharge`.
* Decouple power sink behavior from tickrate.
* Fix power sink's price per joule
2025-10-10 23:01:33 +00:00
slarticodefast
5227489360
Predict EMPs ( #39802 )
...
* predicted emps
* fixes
* fix
* review
2025-10-04 11:24:42 +00:00
slarticodefast
fef4187995
Move PriceCalculationEvent and EstimatedPriceCalculationEvent to shared ( #37782 )
...
* moce PriceCalculationEvent to shared
* Update Content.Shared/Cargo/PriceCalculationEvent.cs
Co-authored-by: Tayrtahn <tayrtahn@gmail.com >
---------
Co-authored-by: Tayrtahn <tayrtahn@gmail.com >
2025-05-24 19:36:38 +02:00
Kirus59
8c38aa3742
BatteryWeaponPowerCell tweaks ( #33500 )
...
* BatteryWeaponPowerCell tweaks
* add update ammo ev & shuttle guns tweaks
* MilonPL requested changes
* revert changes in OnPowerCellChanged
* Add events to get charge info & change current charge
---------
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com >
2025-04-28 21:12:25 -04:00
Kyle Tyo
e9b49b00ef
Fix a minor warning in BatterySystem.cs ( #36726 )
...
change timing from protected to private, rename, and adjust references.
2025-04-19 14:37:10 +02:00
Errant
0b1ed3ec7e
Fix battery charging stopping just short of being full ( #34028 )
2025-01-10 17:54:55 +11:00
BramvanZijp
ce9fc82382
Rework the HoS's Energy Shotgun (Varying energy consumption depending on fire-mode + re-adds a toned down self recharge.) ( #32104 )
...
* Rebalance HoS's Energy Shotgun
* SLIGHTLY Up the max charge so the gun properly recharges all of its charges, which matters a lot more with the self charge cooldown system.
* Prevent recharge cooldown if 0 power is used.
* Makes the clientside HUD actually update to reflect the changes in firecost and thus max/current charges.
* Properly fix that recharging to just under full issue instead of applying a budget fix to only the eshotgun.
* Clean up the client ammo UI fix.
* Update the self recharger component to comply with maintainer request.
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com >
* Remove code that was made redundant by a hotfix from another PR.
* Make the recharge pause on EMP, document things where needed, clean up code as per maintainer request, add a note to make the code better when power is moved to shared.
* Fix another internal issue
* Code cleanup + fix the rapid recharge verb to remove pause.
* cleanup
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2024-12-11 17:21:04 +01:00
Brandon Hu
95a159f950
fix(BatterySelfRecharger): Fully charge BatterySelfRechargers ( #30627 )
2024-09-24 23:37:45 +02:00
Tayrtahn
2935e5bd78
Remove all obsolete BatteryComponent method calls ( #25871 )
...
Removed all obsolete, non-ECS method calls to BatteryComponent
2024-03-06 16:34:50 +11:00
deltanedas
24810d916b
ninja 2 electric boogaloo ( #15534 )
...
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-10 16:20:27 +10:00
Vasilis
eda7e744a3
Spilling liquids no longer exposes true identify ( #18505 )
...
* mama i did it by myself!
* wait how does this fix it? what???
* oops
2023-07-31 19:15:17 -04:00
Vasilis
4f8d4f89d6
Health analyzer displays turns off when the battery dies ( #16125 )
2023-05-13 12:28:11 -04:00
Slava0135
4646e58cbc
Fix apc battery state ( #15568 )
2023-04-23 18:22:09 +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
Slava0135
b2972c1d2c
Add emp grenade ( #14393 )
2023-03-06 11:05:12 -08:00
Leon Friedrich
2351bbb607
Add power debug verbs ( #14212 )
2023-02-26 04:14:35 +11:00
corentt
67760da204
Add power selling price ( #11395 )
2022-10-15 14:10:48 -07:00
Rane
7900abb888
Literally Murder IExamine ( #7352 )
2022-04-08 14:17:25 -07:00
mirrorcult
ec4d4688c7
Seal/abstract/virtual everything ( #6739 )
2022-02-16 18:23:23 +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
0be5ff829b
Gets rid of all ComponentManager usages. ( #4707 )
2021-09-28 13:35:29 +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
Visne
b7dc3c81ae
Remove redundant #nullable enable ( #4275 )
2021-07-16 17:37:09 -07:00
Pieter-Jan Briers
103bc19508
Pow3r: stage 1 ( #4208 )
...
Co-authored-by: 20kdc <asdd2808@gmail.com >
2021-07-04 18:11:52 +02:00