vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
265 stars 546 forks source link

PROBE WANT TEARGAS. PROBE MAKE ISSUE. #6571

Closed Probe1 closed 8 years ago

Probe1 commented 8 years ago

Another one for the itd be cool list. Paradise has em. Bays porting em. Are we being left behind in the malodorous arms race?

Probe1 commented 8 years ago
obj/item/weapon/grenade/chem_grenade/teargas
    payload_name = "teargas"
    desc = "Used for nonlethal riot control. Contents under pressure. Do not directly inhale contents."
    stage = READY
    New()
        ..()
        var/obj/item/weapon/reagent_containers/glass/beaker/B1 = new(src)
        var/obj/item/weapon/reagent_containers/glass/beaker/B2 = new(src)
        B1.reagents.add_reagent("condensedcapsaicin", 25)
        B1.reagents.add_reagent("potassium", 25)
        B2.reagents.add_reagent("phosphorus", 25)
        B2.reagents.add_reagent("sugar", 25)
        beakers += B1
        beakers += B2
        update_icon()

https://github.com/ParadiseSS13/Paradise/blob/master/code/game/objects/items/weapons/grenades/chem_grenade.dm#L468

Probe1 commented 8 years ago

Mite be fun to add ultra capsicum instead and have that cause oxyloss, blindness, and other funstuff

DeityLink commented 8 years ago

Isn't condensed capsicum already teargas?

Probe1 commented 8 years ago

yes but we do not have premade grenades and assuming chemists will at some point in the future break from all history and make grenades for security is wishful thinking.

DeityLink commented 8 years ago

Point taken

Probe1 commented 8 years ago
/obj/item/weapon/grenade/chem_grenade/teargas
    name = "Teargas Grenade"
    desc = "Used for annoying everyone."
    path = 1
    stage = 2

/obj/item/weapon/grenade/chem_grenade/teargas/New()
    ..()
    var/obj/item/weapon/reagent_containers/glass/beaker/B1 = new(src)
    var/obj/item/weapon/reagent_containers/glass/beaker/B2 = new(src)

    B1.reagents.add_reagent("condensedcapsaicin", 25)
    B1.reagents.add_reagent("potassium",25)
    B2.reagents.add_reagent("phosphorus", 25)
    B2.reagents.add_reagent("sugar", 25)

    detonator = new/obj/item/device/assembly_holder/timer_igniter(src)

    beakers += B1
    beakers += B2
    icon_state = initial(icon_state) +"_locked" 

thupid shit when

9600bauds commented 8 years ago

when you map it

Probe1 commented 8 years ago

Oh no I already coded it during last feature freeze as some practice before I tackled a bug. It's easy to do, just replace a few ingredients in the flashbang, add it to a vend and a crate..

I've been playing DF lately but when I come back I'll bang this out.

Probe1 commented 8 years ago

I could never make this balanced fwiw, it was a huge fucking stunner move against anyone without a gas mask.

SysadminJeroen commented 8 years ago

Maybe have some sort of stun integer? It it reaches a certain threshold you'll be stunned? It could be 0.5 seconds, gives those who are at the edge of the teargas cloud the chance to run away but prevents players from running through it.

2016-04-08 15:05 GMT+02:00 Probe1 notifications@github.com:

I could never make this balanced fwiw, it was a huge fucking stunner move against anyone without a gas mask.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/d3athrow/vgstation13/issues/6571#issuecomment-207424058

Probe1 commented 8 years ago

Yeah but I don't know how to code that and I'm not putting the time in to learn so why clog up the github with personal requests.