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 00bafd43503..4dfa6c8a0d0 100644 Binary files a/icons/obj/nanopaste.dmi and b/icons/obj/nanopaste.dmi differ