|
|
|
@@ -557,7 +557,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
|
|
|
|
bodyparts_to_add -= "waggingspines"
|
|
|
|
|
|
|
|
|
|
if("snout" in mutant_bodyparts) //Take a closer look at that snout!
|
|
|
|
|
if((H.wear_mask && (H.wear_mask.flags_inv & HIDEFACE)) || (H.head && (H.head.flags_inv & HIDEFACE)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
if((H.wear_mask && (H.wear_mask.flags_inv & HIDESNOUT)) || (H.head && (H.head.flags_inv & HIDESNOUT)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
bodyparts_to_add -= "snout"
|
|
|
|
|
|
|
|
|
|
if("frills" in mutant_bodyparts)
|
|
|
|
@@ -569,7 +569,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
|
|
|
|
bodyparts_to_add -= "horns"
|
|
|
|
|
|
|
|
|
|
if("ears" in mutant_bodyparts)
|
|
|
|
|
if(!H.dna.features["ears"] || H.dna.features["ears"] == "None" || H.head && (H.head.flags_inv & HIDEHAIR) || (H.wear_mask && (H.wear_mask.flags_inv & HIDEHAIR)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
if(!H.dna.features["ears"] || H.dna.features["ears"] == "None" || H.head && (H.head.flags_inv & HIDEEARS) || (H.wear_mask && (H.wear_mask.flags_inv & HIDEEARS)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
bodyparts_to_add -= "ears"
|
|
|
|
|
|
|
|
|
|
if("wings" in mutant_bodyparts)
|
|
|
|
@@ -607,11 +607,11 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
|
|
|
|
bodyparts_to_add -= "mam_waggingtail"
|
|
|
|
|
|
|
|
|
|
if("mam_ears" in mutant_bodyparts)
|
|
|
|
|
if(!H.dna.features["mam_ears"] || H.dna.features["mam_ears"] == "None" || H.head && (H.head.flags_inv & HIDEHAIR) || (H.wear_mask && (H.wear_mask.flags_inv & HIDEHAIR)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
if(!H.dna.features["mam_ears"] || H.dna.features["mam_ears"] == "None" || H.head && (H.head.flags_inv & HIDEEARS) || (H.wear_mask && (H.wear_mask.flags_inv & HIDEEARS)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
bodyparts_to_add -= "mam_ears"
|
|
|
|
|
|
|
|
|
|
if("mam_snouts" in mutant_bodyparts) //Take a closer look at that snout!
|
|
|
|
|
if((H.wear_mask && (H.wear_mask.flags_inv & HIDEFACE)) || (H.head && (H.head.flags_inv & HIDEFACE)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
if((H.wear_mask && (H.wear_mask.flags_inv & HIDESNOUT)) || (H.head && (H.head.flags_inv & HIDESNOUT)) || !HD || HD.status == BODYPART_ROBOTIC)
|
|
|
|
|
bodyparts_to_add -= "mam_snouts"
|
|
|
|
|
|
|
|
|
|
if("taur" in mutant_bodyparts)
|
|
|
|
@@ -691,8 +691,29 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
|
|
|
|
S = GLOB.moth_wings_list[H.dna.features["moth_wings"]]
|
|
|
|
|
if("caps")
|
|
|
|
|
S = GLOB.caps_list[H.dna.features["caps"]]
|
|
|
|
|
else
|
|
|
|
|
S = citadel_mutant_bodyparts(bodypart, H)
|
|
|
|
|
if("ipc_screen")
|
|
|
|
|
S = GLOB.ipc_screens_list[H.dna.features["ipc_screen"]]
|
|
|
|
|
if("ipc_antenna")
|
|
|
|
|
S = GLOB.ipc_antennas_list[H.dna.features["ipc_antenna"]]
|
|
|
|
|
if("mam_tail")
|
|
|
|
|
S = GLOB.mam_tails_list[H.dna.features["mam_tail"]]
|
|
|
|
|
if("mam_waggingtail")
|
|
|
|
|
S = GLOB.mam_tails_animated_list[H.dna.features["mam_tail"]]
|
|
|
|
|
if("mam_body_markings")
|
|
|
|
|
S = GLOB.mam_body_markings_list[H.dna.features["mam_body_markings"]]
|
|
|
|
|
if("mam_ears")
|
|
|
|
|
S = GLOB.mam_ears_list[H.dna.features["mam_ears"]]
|
|
|
|
|
if("mam_snouts")
|
|
|
|
|
S = GLOB.mam_snouts_list[H.dna.features["mam_snouts"]]
|
|
|
|
|
if("taur")
|
|
|
|
|
S = GLOB.taur_list[H.dna.features["taur"]]
|
|
|
|
|
if("xenodorsal")
|
|
|
|
|
S = GLOB.xeno_dorsal_list[H.dna.features["xenodorsal"]]
|
|
|
|
|
if("xenohead")
|
|
|
|
|
S = GLOB.xeno_head_list[H.dna.features["xenohead"]]
|
|
|
|
|
if("xenotail")
|
|
|
|
|
S = GLOB.xeno_tail_list[H.dna.features["xenotail"]]
|
|
|
|
|
|
|
|
|
|
if(!S || S.icon_state == "none")
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
@@ -1142,12 +1163,12 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
|
|
|
|
H.add_trait(TRAIT_FAT, OBESITY)
|
|
|
|
|
H.update_inv_w_uniform()
|
|
|
|
|
H.update_inv_wear_suit()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
if(H.noisy && H.nutrition <= NUTRITION_LEVEL_STARVING)
|
|
|
|
|
if(prob(10))
|
|
|
|
|
playsound(get_turf(H),"hunger_sounds",35,0,-5,1,ignore_walls = FALSE,channel=CHANNEL_PRED)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else if(H.noisy && H.nutrition <= NUTRITION_LEVEL_HUNGRY)
|
|
|
|
|
if(prob(10))
|
|
|
|
|
playsound(get_turf(H),"hunger_sounds",15,0,-5,1,ignore_walls = FALSE,channel=CHANNEL_PRED)
|
|
|
|
|