From 8ec3a728faec1db480199dbfbc44a3c03cc0bc4d Mon Sep 17 00:00:00 2001 From: printer16 Date: Sat, 24 Dec 2016 18:00:39 -0500 Subject: [PATCH] Small malfunction tweaks (#1287) Rebalances some values for MalfAI. Makes their turrets slightly stronger, makes station destruction harder to do, and makes some defensive measures easier to get. --- code/game/gamemodes/malfunction/malf_hardware.dm | 2 +- .../newmalf_ability_trees/tree_manipulation.dm | 4 ++-- .../newmalf_ability_trees/tree_networking.dm | 13 +++++-------- html/changelogs/Printer16-malfbalance.yml | 9 +++++++++ 4 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 html/changelogs/Printer16-malfbalance.yml diff --git a/code/game/gamemodes/malfunction/malf_hardware.dm b/code/game/gamemodes/malfunction/malf_hardware.dm index 864ba0722de..de9167174c8 100644 --- a/code/game/gamemodes/malfunction/malf_hardware.dm +++ b/code/game/gamemodes/malfunction/malf_hardware.dm @@ -61,7 +61,7 @@ /datum/malf_hardware/strong_turrets/install() ..() for(var/obj/machinery/porta_turret/T in machines) - T.maxhealth = round(initial(T.maxhealth) * 1.4) + T.maxhealth = round(initial(T.maxhealth) * 2) T.shot_delay = round(initial(T.shot_delay) / 2) T.auto_repair = 1 T.active_power_usage = round(initial(T.active_power_usage) * 5) \ No newline at end of file diff --git a/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_manipulation.dm b/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_manipulation.dm index 04ee0a84482..f2e9897ecef 100644 --- a/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_manipulation.dm +++ b/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_manipulation.dm @@ -25,14 +25,14 @@ /datum/malf_research_ability/manipulation/emergency_forcefield ability = new/datum/game_mode/malfunction/verb/emergency_forcefield() - price = 3000 + price = 1750 next = new/datum/malf_research_ability/manipulation/machine_overload() name = "Emergency Forcefield" /datum/malf_research_ability/manipulation/machine_overload ability = new/datum/game_mode/malfunction/verb/machine_overload() - price = 7500 + price = 5000 name = "Machine Overload" // END RESEARCH DATUMS diff --git a/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_networking.dm b/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_networking.dm index bc1ffbb5946..7939827545e 100644 --- a/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_networking.dm +++ b/code/game/gamemodes/malfunction/newmalf_ability_trees/tree_networking.dm @@ -15,14 +15,12 @@ next = new/datum/malf_research_ability/networking/advanced_hack() name = "Basic Encryption Hack" - /datum/malf_research_ability/networking/advanced_hack ability = new/datum/game_mode/malfunction/verb/advanced_encryption_hack() price = 400 next = new/datum/malf_research_ability/networking/elite_hack() name = "Advanced Encryption Hack" - /datum/malf_research_ability/networking/elite_hack ability = new/datum/game_mode/malfunction/verb/elite_encryption_hack() price = 1000 @@ -32,7 +30,7 @@ /datum/malf_research_ability/networking/system_override ability = new/datum/game_mode/malfunction/verb/system_override() - price = 2750 + price = 5000 name = "System Override" // END RESEARCH DATUMS @@ -99,9 +97,9 @@ user << "Hack Aborted" return - if(prob(60) && user.hack_can_fail) + if(prob(50) && user.hack_can_fail) user << "Hack Failed." - if(prob(10)) + if(prob(5)) user.hack_fails ++ announce_hack_failure(user, "quantum message relay") return @@ -115,7 +113,6 @@ P.update_space(P.info) P.update_icon() - /datum/game_mode/malfunction/verb/elite_encryption_hack() set category = "Software" set name = "Elite Encryption Hack" @@ -130,9 +127,9 @@ user << "Hack Aborted" return - if(prob(75) && user.hack_can_fail) + if(prob(60) && user.hack_can_fail) user << "Hack Failed." - if(prob(20)) + if(prob(10)) user.hack_fails ++ announce_hack_failure(user, "alert control system") return diff --git a/html/changelogs/Printer16-malfbalance.yml b/html/changelogs/Printer16-malfbalance.yml new file mode 100644 index 00000000000..761aa905434 --- /dev/null +++ b/html/changelogs/Printer16-malfbalance.yml @@ -0,0 +1,9 @@ +author: Printer16 + +delete-after: True + +changes: + - tweak: "For malfunctioning AI, the system override research now takes longer." + - tweak: "With the change above, it now takes less time to research forcefields and machine override." + - tweak: "The turret enhancer hardware is slightly buffed to make it more useful." + - tweak: "There is now a slightly smaller fail and critical fail chance for the malfunctioning AI's Advanced and Elite hack."