mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
CPU Generation adjustment
- Doubles CPU generation from APCs. Testing revealed that current values are simply too small. - Decreases DualCPU hardware boost to +50% CPU generated (instead of +100%) - Minor code clean-up at hardware selection screen.
This commit is contained in:
@@ -758,12 +758,12 @@ var/list/ai_verbs_default = list(
|
||||
// Off-Station APCs should not count towards CPU generation.
|
||||
for(var/obj/machinery/power/apc/A in hacked_apcs)
|
||||
if(A.z == 1)
|
||||
cpu_gain += 0.001
|
||||
cpu_gain += 0.002
|
||||
cpu_storage += 10
|
||||
|
||||
research.max_cpu = cpu_storage + override_CPUStorage
|
||||
if(hardware && istype(hardware, /datum/malf_hardware/dual_ram))
|
||||
research.max_cpu = research.max_cpu * 2
|
||||
research.max_cpu = research.max_cpu * 1.5
|
||||
research.stored_cpu = min(research.stored_cpu, research.max_cpu)
|
||||
|
||||
research.cpu_increase_per_tick = cpu_gain + override_CPURate
|
||||
|
||||
Reference in New Issue
Block a user