Merge pull request #771 from Fox-McCloud/nukies

Nukies--Chemsprayer and New Grenades
This commit is contained in:
ZomgPonies
2015-04-09 16:22:19 -04:00
5 changed files with 35 additions and 29 deletions
+5 -6
View File
@@ -279,12 +279,11 @@ var/list/uplink_items = list()
cost = 8
gamemodes = list("nuclear emergency")
/datum/uplink_item/dangerous/bioterror
name = "Biohazardous Chemical Sprayer"
desc = "A chemical sprayer that allows a wide dispersal of selected chemicals. Especially tailored by the Tiger Cooperative, the deadly blend it comes stocked with will disorient, damage, and disable your foes... \
Use with extreme caution, to prevent exposure to yourself and your fellow operatives."
item = /obj/item/weapon/reagent_containers/spray/chemsprayer/bioterror
cost = 20
/datum/uplink_item/dangerous/saringrenades
name = "Sarin Gas Grenades"
desc = "A box of four (4) grenades filled with sarin, a deadly neurotoxin. Use extreme caution when handling and be sure to vacate the premise after using; ensure communication is maintaind with team to avoid accidental gassings."
item = /obj/item/weapon/storage/box/syndie_kit/sarin
cost = 15
gamemodes = list("nuclear emergency")
/datum/uplink_item/dangerous/emp
@@ -478,6 +478,25 @@
beakers += B2
update_icon()
/obj/item/weapon/grenade/chem_grenade/saringas
payload_name = "saringas"
desc = "Contains sarin gas; extremely deadly and fast acting; use with extreme caution."
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("sarin", 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()
#undef EMPTY
#undef WIRED
#undef READY
@@ -185,4 +185,14 @@
new /obj/item/weapon/grenade/empgrenade(src)
new /obj/item/weapon/grenade/empgrenade(src)
new /obj/item/weapon/implanter/emp/(src)
new /obj/item/device/flashlight/emp/(src)
new /obj/item/device/flashlight/emp/(src)
/obj/item/weapon/storage/box/syndie_kit/sarin
name = "Sarin Gas Grenades"
New()
..()
new /obj/item/weapon/grenade/chem_grenade/saringas(src)
new /obj/item/weapon/grenade/chem_grenade/saringas(src)
new /obj/item/weapon/grenade/chem_grenade/saringas(src)
new /obj/item/weapon/grenade/chem_grenade/saringas(src)
@@ -1447,21 +1447,6 @@ datum
reagent_state = LIQUID
color = "#322D00"
Spores
name = "Spores"
id = "spores"
description = "A toxic spore cloud which blocks vision when ingested."
reagent_state = LIQUID
color = "#9ACD32" // rgb: 0, 51, 51
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
M.adjustToxLoss(0.5*REM)
..()
M.damageoverlaytemp = 60
M.eye_blurry = max(M.eye_blurry, 3)
return
beer2 //disguised as normal beer for use by emagged brobots
name = "Beer"
id = "beer2"
@@ -206,13 +206,6 @@
amount_per_transfer_from_this = (amount_per_transfer_from_this == 10 ? 5 : 10)
user << "<span class='notice'>You adjust the output switch. You'll now use [amount_per_transfer_from_this] units per spray.</span>"
/obj/item/weapon/reagent_containers/spray/chemsprayer/bioterror/New()
..()
reagents.add_reagent("spores", 150)
reagents.add_reagent("cryptobiolin", 150)
reagents.add_reagent("mutagen", 150)
reagents.add_reagent("pancuronium", 150)
// Plant-B-Gone
/obj/item/weapon/reagent_containers/spray/plantbgone // -- Skie