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:
Atlantiscze
2015-05-17 02:54:58 +02:00
parent 090112c874
commit bcfbfdedba
4 changed files with 9 additions and 15 deletions

View File

@@ -18,7 +18,7 @@
/datum/malf_hardware/dual_cpu
name = "Secondary Processor Unit"
desc = "Secondary coprocessor that doubles amount of CPU time generated."
desc = "Secondary coprocessor that increases amount of generated CPU power by 50%"
/datum/malf_hardware/dual_ram
name = "Secondary Memory Bank"

View File

@@ -24,18 +24,12 @@
if(choice == "CANCEL")
return
var/note = null
switch(choice)
if("APU Generator")
note = "APU Generator - When enabled it will keep your core powered. Power output is not large enough so your abilities won't be available while running on APU power. It is also very fragile and prone to failure when your physical core is damaged."
if("Turrets Focus Enhancer")
note = "Overcharges turrets to shoot faster. Turrets will also gain higher health and passive regeneration. This however massively increases power usage of turrets, espicially when regenerating."
if("Secondary Processor Unit")
note = "Doubles your CPU time generation."
if("Secondary Memory Bank")
note = "Doubles your CPU time storage."
if("Self-Destruct Explosives")
note = "High yield explosives are attached to your physical mainframe. This hardware comes with activation driver. Explosives will destroy your core and everything around it."
if(choice)
note = choice.desc
if(!note)
error("Hardware without description: [choice]")
return
var/confirmation = input("[note] - Is this what you want?") in list("Yes", "No")

View File

@@ -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

View File

@@ -9,7 +9,7 @@ As malfunctioning AI, your primary goal is to overtake station's systems. To do
As malfunctioning AI, you may select one hardware piece to help you. Remember that once you select hardware piece, you cannot select another one, so choose wisely! Hardware may be selected by clicking "Select Hardware" button in Hardware tab. Following is list of possible hardware pieces:<br>
<b>APU Generator</b> - Auxiliary Power Unit which allows you to operate even without external power. However, running on APU will stop your CPU time generation, and temporarily disable most of your abilities. APU is also somewhat vulnerable to physical damage, and will fail if your core hardware integrity drops below 50%.<br>
<b>Turrets Focus Enhancer</b> - Removes safeties on installed turrets, boosting their rate of fire, health and enabling nano-regeneration module. This however increases power usage considerably, espicially when regenerating damage.<br>
<b>Secondary Processor Unit</b> - Simple upgrade that doubles your CPU time generation. Useful if you need to speed up your research.<br>
<b>Secondary Processor Unit</b> - Simple upgrade that increases your CPU time generation by 50%. Useful if you need to speed up your research.<br>
<b>Secondary Memory Bank</b> - Doubles amount of maximal CPU time you may store. This is useful if you need to use lots of abilities in short amount of time.<br>
<b>Self-Destruct Explosives</b> - Large blocks of C4 are attached to your physical core. This C4 has 15 second timer, and may be activated by special button that appears in your Hardware tab. This self-destruct will remain active, even if you are destroyed. If timer reaches 0 your core explodes in strong explosion. Obviously, this destroys you, as well as anyone nearby.<br>