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
@@ -605,7 +605,7 @@
var/drain = 0
var/maxcapacity = 0
var/totaldrain = 0
while(cell.charge>0&&!maxcapacity)
while(G.candrain&&cell.charge>0&&!maxcapacity)
drain = rand(100,300)
if(cell.charge<drain)
drain = cell.charge