TG: Fix to DNA so that if a power block lands on block 11, not all clones come out

male.
Change to robot restart module to make it clear the cyborg has to be healed
before use.
Revision: r3447
Author: 	 VivianFoxfoot
This commit is contained in:
Ren Erthilo
2012-05-03 02:52:03 +01:00
parent 28df960bf1
commit 79c23b33c5

View File

@@ -221,9 +221,17 @@
if (!output) output = "5"
return output
/proc/isblockon(hnumber, bnumber)
/proc/isblockon(hnumber, bnumber , var/UI = 0)
var/temp2
temp2 = hex2num(hnumber)
if(UI)
if(temp2 >= 2050)
return 1
else
return 0
if (bnumber == HULKBLOCK || bnumber == TELEBLOCK)
if (temp2 >= 3500 + BLOCKADD)
return 1
@@ -313,7 +321,7 @@
H.g_eyes = hex2num(getblock(structure,9,3))
H.b_eyes = hex2num(getblock(structure,10,3))
if (isblockon(getblock(structure, 11,3),11))
if (isblockon(getblock(structure, 11,3),11 , 1))
H.gender = FEMALE
else
H.gender = MALE