vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
264 stars 541 forks source link

Xenos can apparently still melt the nuke with acid spit. #15796

Open D3athrow-Issues opened 7 years ago

D3athrow-Issues commented 7 years ago

(WEB REPORT BY: kavlax REMOTE: 172.93.109.202:7777)

Revision

5b395a00341f55bf05d0cdd278958aa3802c8bfb

It can also be spaced by anyone inclined to, but one problem at a time.

ghost commented 5 years ago

Corrosive acid still works. Neurotoxed one 14 times and it's still here. I presume he was talking about corrosive aciding.

untitled

Pathid commented 5 years ago

Not a bug. Last change was to make it require a channel time so they couldn't run up and do it to a guarded nuke.

Shadowmech88 commented 5 years ago

Does said channel time currently work? I'll close this if so.

ghost commented 5 years ago

Alright so, bad news good news. Good news, it channels. Bad news, I think the channel runs twice. https://my.mixtape.moe/tqylcg.webm

May or may not be this? https://github.com/vgstation-coders/vgstation13/blob/Bleeding-Edge/code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm

/proc/is_valid_target_to_acid(var/atom/target, mob/user,var/range=1)
    if(get_dist(user, target) > range)
        to_chat(user, "<span class='alien'>Target is too far away!</span>")
        return FALSE
    if(target.isacidhardened())
        if(!do_after(user,target,3 SECONDS))
            to_chat(user, "<span class='alien'>You have to stay next to the object to acid it!</span>")
            return FALSE
        return TRUE
    if(!ismob(target) && target.acidable())
        return TRUE
    to_chat(user, "<span class='alien'>You cannot dissolve this object.</span>")
    return FALSE