From 7055f4f6cf1b455ec0ed85f6f30172ce578dd10b Mon Sep 17 00:00:00 2001 From: Mykhailo Bykhovtsev Date: Mon, 27 Aug 2018 13:13:22 -0700 Subject: [PATCH] Surge prevention module balance (#5163) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So I was given input by the community that new IPC and borg surge modules are kinda useless. As they only provide 1-3 EMP protections given that ION rifles are 10 shots charge, and that IPC costs 14 TC which is more then half of traitor uplink. And borgs surge cost too much in resources to build. I expected that, so now I think I want to buff it. IPC surge module now costs 12 TC(as opposed to 14). comes in with 2-5 EMP protections which is RNG based. Borg's surge module built cost in gold and silver was reduced by 50% from 10000 G and 15000 S to 5000 G and 7500 S. Borg's surge module comes in with 2-5 EMP protections which is RNG based Also I made surge's nanopaste to look fancier 💯 --- code/datums/uplink/devices and tools.dm | 2 +- code/game/objects/items/stacks/nanopaste.dm | 2 +- .../mob/living/silicon/robot/component.dm | 4 +- code/modules/organs/subtypes/machine.dm | 2 +- code/modules/research/mechfab_designs.dm | 2 +- html/changelogs/Sidorman-surge.yml | 39 ++++++++++++++++++ icons/obj/nanopaste.dmi | Bin 380 -> 404 bytes 7 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 html/changelogs/Sidorman-surge.yml diff --git a/code/datums/uplink/devices and tools.dm b/code/datums/uplink/devices and tools.dm index 7f0d9cfe182..0ac3ca29894 100644 --- a/code/datums/uplink/devices and tools.dm +++ b/code/datums/uplink/devices and tools.dm @@ -23,7 +23,7 @@ /datum/uplink_item/item/tools/surge name = "IPC surge prevention module" - item_cost = 14 + item_cost = 12 path = /obj/item/stack/nanopaste/surge desc = "An internal module that allow operative IPC frames to be protected from EMP pulse. The device has limited use that varies between one to three pulses" diff --git a/code/game/objects/items/stacks/nanopaste.dm b/code/game/objects/items/stacks/nanopaste.dm index 8cf15c8d7d4..7e12827c15f 100644 --- a/code/game/objects/items/stacks/nanopaste.dm +++ b/code/game/objects/items/stacks/nanopaste.dm @@ -111,7 +111,7 @@ if (!do_mob(user, M, 2)) return 0 - s.surge_left = rand(1, 3) + s.surge_left = rand(2, 5) s.broken = 0 s.icon_state = "surge_ipc" diff --git a/code/modules/mob/living/silicon/robot/component.dm b/code/modules/mob/living/silicon/robot/component.dm index 78fe1cc1d94..e54835c37ba 100644 --- a/code/modules/mob/living/silicon/robot/component.dm +++ b/code/modules/mob/living/silicon/robot/component.dm @@ -40,7 +40,7 @@ // The thing itself isn't there anymore, but some fried remains are. uninstall() installed = -1 - + /datum/robot_component/proc/get_damage(var/type) return Clamp(brute_damage + electronics_damage,0,max_damage) @@ -104,7 +104,7 @@ /datum/robot_component/surge/install() ..() if(!surge_left) - surge_left = rand(1, 3) + surge_left = rand(2, 5) /datum/robot_component/jetpack/install() ..() diff --git a/code/modules/organs/subtypes/machine.dm b/code/modules/organs/subtypes/machine.dm index efe26734538..b712285a2e0 100644 --- a/code/modules/organs/subtypes/machine.dm +++ b/code/modules/organs/subtypes/machine.dm @@ -96,7 +96,7 @@ /obj/item/organ/surge/Initialize() if(!surge_left && !broken) - surge_left = rand(1, 3) + surge_left = rand(2, 5) robotize() . = ..() diff --git a/code/modules/research/mechfab_designs.dm b/code/modules/research/mechfab_designs.dm index 253cc435a72..fc59a63c179 100644 --- a/code/modules/research/mechfab_designs.dm +++ b/code/modules/research/mechfab_designs.dm @@ -100,7 +100,7 @@ name = "Heavy surge prevention module" desc = "Used to boost prevent damage from EMP. Has limited surge preventions." id = "borg_surge_module" - materials = list(DEFAULT_WALL_MATERIAL = 20000, "glass" = 6000, "gold" = 10000, "silver" = 15000) // Should be expensive + materials = list(DEFAULT_WALL_MATERIAL = 20000, "glass" = 6000, "gold" = 5000, "silver" = 7500) // Should be expensive req_tech = list(TECH_MATERIAL = 4, TECH_BLUESPACE = 2, TECH_MAGNET = 5, TECH_POWER = 5, TECH_ENGINEERING = 4, TECH_COMBAT = 3) build_path = /obj/item/robot_parts/robot_component/surge diff --git a/html/changelogs/Sidorman-surge.yml b/html/changelogs/Sidorman-surge.yml new file mode 100644 index 00000000000..713d80d1517 --- /dev/null +++ b/html/changelogs/Sidorman-surge.yml @@ -0,0 +1,39 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +################################# + +# Your name. +author: PoZe + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - balance: "IPC and Cyborgs surge prevention modules(EMP immunity) now give you 2-5 EMP protections which determined by RNG during installation of it." + - balance: "IPC uplink surge prevention module(EMP immunity) cost reduced to 12 telecrystals." + - balance: "Cyborgs surge prevention module(EMP immunity) gold and silver cost reduced by 50%. It is now 5000 gold and 7500 silver." diff --git a/icons/obj/nanopaste.dmi b/icons/obj/nanopaste.dmi index 00bafd43503b5c6984ca4852667c9afbf36ef27b..4dfa6c8a0d06b7ac8ba0aacc4d175becacc2589b 100644 GIT binary patch delta 86 zcmV-c0IC1{0+a)gR07*qoM6N<$g4#zRO8@`> delta 62 zcmbQj{D*166UOF=Pg9LlQ&=6{lV%uHKj*2bVe7lQTl&LCNeL^f51-qu85pdRTzxd% R_b4&|fv2mV%Q~loCIA