From ab36f898449f0e5ddf562fc3a1e2691f9faeca55 Mon Sep 17 00:00:00 2001 From: Iamgoofball Date: Tue, 23 Jun 2015 21:37:21 -0700 Subject: [PATCH] NUKE OPS START WITH MICROBOMBS NOW, nerfs microbombs because I made them way too powerful and 20 of them was actually double the bombcap --- code/game/gamemodes/nuclear/nuclear.dm | 6 +++++- .../objects/items/weapons/implants/implant.dm | 17 ++++++++--------- html/changelogs/goofball-microbombs.yml | 6 +++--- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/code/game/gamemodes/nuclear/nuclear.dm b/code/game/gamemodes/nuclear/nuclear.dm index 7d8a51b32eb..251a562fe3c 100644 --- a/code/game/gamemodes/nuclear/nuclear.dm +++ b/code/game/gamemodes/nuclear/nuclear.dm @@ -180,7 +180,11 @@ U.hidden_uplink.uses = 20 synd_mob.equip_to_slot_or_del(U, slot_in_backpack) - var/obj/item/weapon/implant/weapons_auth/E = new/obj/item/weapon/implant/weapons_auth(synd_mob) + var/obj/item/weapon/implant/weapons_auth/W = new/obj/item/weapon/implant/weapons_auth(synd_mob) + W.imp_in = synd_mob + W.implanted = 1 + W.implanted(synd_mob) + var/obj/item/weapon/implant/explosive/E = new/obj/item/weapon/implant/explosive(synd_mob) E.imp_in = synd_mob E.implanted = 1 E.implanted(synd_mob) diff --git a/code/game/objects/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm index 1b86f453148..9e9af7db059 100644 --- a/code/game/objects/items/weapons/implants/implant.dm +++ b/code/game/objects/items/weapons/implants/implant.dm @@ -103,20 +103,19 @@ if(!cause || !imp_in) return 0 if(cause == "action_button" && alert(imp_in, "Are you sure you want to activate your microbomb implant? This will cause you to explode!", "Microbomb Implant Confirmation", "Yes", "No") != "Yes") return 0 - var/light = 2 - var/medium = 1 - var/heavy = 0.5 + var/light = 1 + var/medium = 0.5 + var/heavy = 0.25 for(var/obj/item/weapon/implant/explosive/E in imp_in) - heavy += 0.5 - medium += 1 - light += 2 + heavy += 0.25 + medium += 0.5 + light += 1 if(E != src) qdel(E) heavy = round(heavy) medium = round(medium) light = round(light) - if(heavy >= 2) - imp_in.gib() + imp_in.gib() explosion(src,0,heavy,medium,light,light, flame_range = medium) qdel(src) @@ -130,7 +129,7 @@ if(cause == "action_button" && alert(imp_in, "Are you sure you want to activate your macrobomb implant? This will cause you to explode and gib!", "Macrobomb Implant Confirmation", "Yes", "No") != "Yes") return 0 imp_in.gib() - explosion(src,0,5,10,20,20, flame_range = 20) + explosion(src,0,5,10,20,20, flame_range = 5) qdel(src) /obj/item/weapon/implant/chem diff --git a/html/changelogs/goofball-microbombs.yml b/html/changelogs/goofball-microbombs.yml index 71512511ceb..495ec2b481f 100644 --- a/html/changelogs/goofball-microbombs.yml +++ b/html/changelogs/goofball-microbombs.yml @@ -6,6 +6,6 @@ delete-after: True changes: - rscadd: "Changes up how Explosive Implants work." - - rscadd: "They have become Microbomb Implants. They cost 1 TC each. Each implant you inject increases the size of the explosion." - - rscadd: "If you have 4 or more injected, you are guaranteed to be gibbed on activation." - - rscadd: "A Macrobomb implant was added for 20 TC. It is the equivalent of injecting 20 microbombs." \ No newline at end of file + - rscadd: "They have become Microbomb Implants. They cost 1 TC each. Each implant you inject increases the size of the explosion. You gib on usage, regardless of explosion size." + - rscadd: "A Macrobomb implant was added for 20 TC. It is the equivalent of injecting 20 microbombs." + - rscadd: "Nuke Ops start with microbomb implants again." \ No newline at end of file