mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user