mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 16:16:44 +01:00
Power Cell Rework + Energy Weapon Rebalance (& misc changes) (#7438)
- all cells in the game are now small, medium, large - super, hyper capacity cells, device, and weapon cells are all removed - cells now have standardized variants, some of which are printable by R&D - energy weapons rebalanced - **advanced energy guns and stun revolvers removed** - use the new modular weapon system and microfission cells. --------- Co-authored-by: silicons <silicons@silicons.dev>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
return FALSE
|
||||
|
||||
// At this point, we know that APC can power us for this tick. Check if we also need to charge our battery, and then actually use the power.
|
||||
if(battery_module && (battery_module.battery.charge < battery_module.battery.maxcharge) && (power_usage > 0))
|
||||
if(battery_module && (battery_module.battery.charge < battery_module.battery.max_charge) && (power_usage > 0))
|
||||
power_usage += tesla_link.passive_charging_rate
|
||||
battery_module.battery.give(DYNAMIC_W_TO_CELL_UNITS(tesla_link.passive_charging_rate, 1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user