RL in IRC Update:

- The soymilk + enzyme reaction to create tofu will now make multiple pieces of tofu depending on how much you are mixing together instead of just 1 no matter how much you mix together.
- Deleted some garbage code that I'm no longer going to implement (at least not any time soon).
- Candy Corn nutriment value reduced to something sensible rather then AUTO FAT
- By popular admin request, Guest accounts are not allowed to be any head of staff, the AI, or any security position. Unfortunately, that means if your BYOND name begins with "Guest-", you can't be those positions either. However, that's your own problem. I'll enable the config.txt setup for it later.
- Napalm actually works now. It's Aluminum + Plasma + Sulfuric Acid. It creates a relatively short but intense fire over an area and will spread like a normal toxin's fire.
- Incendiary grenades redone into a normal chem grenade that makes napalm. Old style incendiary grenade code removed since it didn't work anyway.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@750 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
morikou@gmail.com
2011-01-02 00:18:44 +00:00
parent 798b41a05b
commit 82b3e77d83
8 changed files with 51 additions and 176 deletions

View File

@@ -554,6 +554,12 @@ datum
description = "Nitroglycerin is a heavy, colorless, oily, explosive liquid obtained by nitrating glycerol."
reagent_state = LIQUID
napalm
name = "Napalm RG-218"
id = "napalm"
description = "A plasma based variant of napalm that burns violently upon exposure to oxygen."
reagent_state = LIQUID
radium
name = "Radium"
id = "radium"
@@ -1112,64 +1118,7 @@ datum
data++
..()
return
/*
addiction //Is a generic "addiction" reagent that is produced by any chemical that is addictive.
name = "Addiction" // It should never be seen by the player since it only exists inside the body.
id = "addiction"
description = "Raw addiction. Patented by the Robust Softdrinks Corporation."
reagent_state = SOLID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(M.reagents.has_reagent("opium") || M.reagents.has_reagent("morphine")) //Addictive substances goes here.
M.reagents.add_reagent("addiction", 1) //If you if have the substance, it adds another to balance out metabolism
else //If you don't, you start stuffering withdrawls.
if(!M:stuttering)
M:stuttering = 1
M:stuttering += 2
M:confused += 2
if(!data) data = 1
switch(data)
if(10 to 30)
M:toxloss++
M.make_jittery(2)
if(31 to INFINITY)
M:toxloss++
M.make_jittery(10)
..() //It also starts working out of your system.
return
opium
name = "Opium"
id = "opium"
description = "A mildly addictive narcotic analgesic."
reagent_state = SOLID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(prob(50)) M:fireloss -= 2
if(prob(50)) M:bruteloss -= 2
M.reagents.add_reagent("addiction", 1) //It's addictive? A shock!
..()
return
morphine
name = "Morphine"
id = "morphine"
description = "A refined form of opium. It is a powerful narcotic analgesic."
reagent_state = LIQUID
on_mob_life(var/mob/M)
if(!M) M = holder.my_atom
if(prob(50)) M:fireloss -= 5
if(prob(50)) M:bruteloss -= 5
M.reagents.add_reagent("addiction", 2) //2x addictive for 3x the effect.
var/overdose = 0
if(!data) data = 1
if(data > 100) overdose = 1 //Oh no! An overdose
if(overdose == 1)
M:toxloss += 50
data = 0
..()
return
*/
/////////////////////////Food Reagents////////////////////////////
// Part of the food code. Nutriment is used instead of the old "heal_amt" code. Also is where all the food

View File

@@ -285,25 +285,22 @@ datum
napalm
name = "Napalm"
id = "napalm"
result = null
result = "napalm"
required_reagents = list("aluminium" = 1, "plasma" = 1, "acid" = 1 )
result_amount = null
result_amount = 1
on_reaction(var/datum/reagents/holder, var/created_volume)
var/location = get_turf(holder.my_atom)
var/location = get_turf(holder.my_atom.loc)
for(var/turf/simulated/floor/target_tile in range(1,location))
if(target_tile.parent && target_tile.parent.group_processing)
target_tile.parent.suspend_group_processing()
var/datum/gas_mixture/napalm = new
var/datum/gas/volatile_fuel/fuel = new
fuel.moles = 15
napalm.trace_gases += fuel
napalm.toxins = 2 * created_volume
target_tile.assume_air(napalm)
spawn (0) target_tile.hotspot_expose(700, 400)
holder.del_reagent("napalm")
return
smoke
@@ -337,13 +334,6 @@ datum
required_reagents = list("ethanol" = 1, "chlorine" = 3, "water" = 1)
result_amount = 1
morphine
name = "Morphine"
id = "morphine"
result = "morphine"
required_reagents = list("opium" = 10, "enzyme" = 2)
result_amount = 5
///////////////////////////////////////////////////////////////////////////////////
// foam and foam precursor
@@ -468,7 +458,8 @@ datum
result_amount = 1
on_reaction(var/datum/reagents/holder, var/created_volume)
var/location = get_turf(holder.my_atom)
new /obj/item/weapon/reagent_containers/food/snacks/tofu(location)
for(var/i = 1, i <= created_volume, i++)
new /obj/item/weapon/reagent_containers/food/snacks/tofu(location)
return
soysauce

View File

@@ -117,7 +117,7 @@
/obj/item/weapon/chem_grenade/metalfoam
name = "metal foam grenade"
name = "Metal-Foam Grenade"
desc = "Used for emergency sealing of air breaches."
icon_state = "chemg3"
stage = 2
@@ -134,8 +134,26 @@
beakers += B1
beakers += B2
/obj/item/weapon/chem_grenade/incendiary
name = "Incendiary Grenade"
desc = "Used for clearing rooms of living things."
icon_state = "chemg3"
stage = 2
New()
..()
var/obj/item/weapon/reagent_containers/glass/B1 = new(src)
var/obj/item/weapon/reagent_containers/glass/B2 = new(src)
B1.reagents.add_reagent("aluminium", 25)
B2.reagents.add_reagent("plasma", 25)
B2.reagents.add_reagent("acid", 25)
beakers += B1
beakers += B2
/obj/item/weapon/chem_grenade/cleaner
name = "cleaner grenade"
name = "Cleaner Grenade"
desc = "BLAM!-brand foaming space cleaner. In a special applicator for rapid cleaning of wide areas."
icon_state = "chemg3"
stage = 2
@@ -755,7 +773,7 @@
if(target.reagents.total_volume >= target.reagents.maximum_volume)
user << "\red you can't add anymore to [target]."
return
var/trans = src.reagents.trans_to(target, 1)
var/trans = src.reagents.trans_to(target, 5)
user << "\blue You transfer [trans] units of the condiment to [target]."
@@ -1388,7 +1406,7 @@
icon_state = "candy_corn"
New()
..()
reagents.add_reagent("nutriment", 10)
reagents.add_reagent("nutriment", 4)
bitesize = 2
/obj/item/weapon/reagent_containers/food/snacks/chips