示例#1
0
		// Range: -1 Access: 0 Flags: ( 0, 4, 255 )
		public static void randomize_human( Mob_Living H = null ) {
			((dynamic)H).gender = Rand13.pick(new object [] { GlobalVars.MALE, GlobalVars.FEMALE });
			H.real_name = GlobalFuncs.random_unique_name( ((dynamic)H).gender );
			((dynamic)H).name = H.real_name;
			((dynamic)H).underwear = GlobalFuncs.random_underwear( ((dynamic)H).gender );
			((dynamic)H).skin_tone = GlobalFuncs.random_skin_tone();
			((dynamic)H).hair_style = GlobalFuncs.random_hair_style( ((dynamic)H).gender );
			((dynamic)H).facial_hair_style = GlobalFuncs.random_facial_hair_style( ((dynamic)H).gender );
			((dynamic)H).hair_color = GlobalFuncs.random_short_color();
			((dynamic)H).facial_hair_color = ((dynamic)H).hair_color;
			((dynamic)H).eye_color = GlobalFuncs.random_eye_color();
			((dynamic)H).dna.blood_type = GlobalFuncs.random_blood_type();
			((Mob_Living_Carbon_Human)H).update_body();
			H.update_hair();
			return;
		}