Cyborg Advanced Charging

- This solves various issues with cyborg charging
- Cyborg chargers have 15k charge capacity themselves. They charge at 2.5kW when no cyborg is inside and 25kW when cyborg is inside.
- Instead of draining power directly to cyborg's cell, they simply transfer power (capped at 250 charge/tick) from charger to cyborg.
- All is checked, which means no excess power is wasted. This means AFK cyborgs parked in rechargers are no longer power sinks

Balance
- Increased cyborg actuator power usage a bit.
This commit is contained in:
Atlantiscze
2014-09-17 08:59:19 +02:00
parent ded8e21c0f
commit 5b905ebde1
3 changed files with 37 additions and 6 deletions

View File

@@ -80,11 +80,11 @@
// ACTUATOR
// Enables movement.
// Uses no power when idle. Uses 50J for each tile the cyborg moves.
// Uses no power when idle. Uses 200J for each tile the cyborg moves.
/datum/robot_component/actuator
name = "actuator"
idle_usage = 0
active_usage = 50
active_usage = 200
external_type = /obj/item/robot_parts/robot_component/actuator
max_damage = 50