Fixed SpiderOS chemical injections to work a lot better. Thanks to Muskets and Darem.

Added a new reagent proc (trans_id_to) to transfer a specific reagent from a list to the target.
Finished SpiderOS. If anyone plans to revise PDA code, or maybe do something similar, I highly recommend looking at the SpiderOS verb first.
Ninjas may now drain energy from exposed wires, ala a powersink. It takes longer than APCs to begin charging and drains slower.
Misc bug fixes and improvements.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1460 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2011-04-17 03:32:19 +00:00
parent 6809b02dfd
commit bd54d92eb3
11 changed files with 263 additions and 94 deletions
+6 -8
View File
@@ -363,17 +363,15 @@
slowdown = 1
radiation_protection = 0.75
var/affecting = null
var/active = 0
var/active = 0//Stealth off.
var/charge = 9000.0//Starts at 90% of normal capacity.
var/maxcharge = 30000.0//I want the suit upgradable if the ninja is able to find the parts but for now this'll do.
var/initialize = 0
var/spideros = 1//Mode of SpiderOS. 1=main menu||2=medical screen||3=atmos check||4=notes/misc
var/initialize = 0//Suit starts off.
var/spideros = 0//Mode of SpiderOS. This can change so I won't bother listing the modes here (0 is hub). Check clothing.dm for how it all works.
var/sbombs = 10.0//Number of starting ninja smoke bombs.
var/aboost = 3.0//Number of adrenaline boosts.
var/chem1 = 3.0//Dylovene/Anti Tox
var/chem2 = 3.0//Dexalin Plus
var/chem3 = 3.0//Tricordazine
var/chem4 = 3.0//Spacelin
var/aboost = 3.0//Number of adrenaline boosters.
var/amount_per_transfer_from_this = 20//How much reagent is transferred.
var/datum/effects/system/spark_spread/spark_system
/obj/item/clothing/suit/space/pirate
name = "pirate coat"
-1
View File
@@ -1265,7 +1265,6 @@ Total SMES charging rate should not exceed total power generation rate, or an ov
throw_range = 1
w_class = 4.0//So you can't hide it in your pocket or some such.
flags = FPRINT | TABLEPASS | NOSHIELD
var/affecting = null
var/datum/effects/system/spark_spread/spark_system
/obj/item/weapon/table_parts