Now tested up to character join.

This commit is contained in:
Rob Nelson
2014-01-20 00:44:10 -05:00
committed by ZomgPonies
parent db21525feb
commit 4a8ca0a7d4
4 changed files with 51 additions and 41 deletions
@@ -28,7 +28,7 @@
selblock=1
else
real_block=selblock
var/list/BOUNDS = dna_activity_bounds[real_block]
var/list/BOUNDS = GetDNABounds(real_block)
return dna[selblock] > BOUNDS[DNA_ON_LOWERBOUND]
/obj/item/weapon/dnainjector/proc/SetState(var/on, var/selblock=0)
@@ -38,7 +38,7 @@
selblock=1
else
real_block=selblock
var/list/BOUNDS=dna_activity_bounds[real_block]
var/list/BOUNDS=GetDNABounds(real_block)
var/val
if(on)
val=rand(BOUNDS[DNA_ON_LOWERBOUND],BOUNDS[DNA_ON_UPPERBOUND])