Randomized bloodtype for new humans and monkeys

This commit is contained in:
9600bauds
2016-01-31 21:47:48 -03:00
parent a2f98e14b9
commit 2cb6dd1f54
3 changed files with 17 additions and 3 deletions

View File

@@ -166,4 +166,17 @@ proc/add_ghostlogs(var/mob/user, var/obj/target, var/what_done, var/admin=1, var
log_ghost("[subject_text] [what_done] [target_text] [addition]")
/mob/proc/isVentCrawling()
return (istype(loc, /obj/machinery/atmospherics)) // Crude but no other situation would put them inside of this
return (istype(loc, /obj/machinery/atmospherics)) // Crude but no other situation would put them inside of this
/proc/random_blood_type()
return pick(4;"O-", 36;"O+", 3;"A-", 28;"A+", 1;"B-", 20;"B+", 1;"AB-", 5;"AB+")
//https://en.wikipedia.org/wiki/Blood_type_distribution_by_country
/*return pick(\
41.9; "O+",\
31.2; "A+",\
15.4; "B+",\
4.8; "AB+",\
2.9; "O-",\
2.7; "A-",\
0.8; "B-",\
0.3; "AB-")*/