randomization!

This commit is contained in:
deathride58
2022-06-09 15:29:48 -04:00
parent 8e152c38c9
commit f30c9406cc
6 changed files with 19 additions and 3 deletions
+4
View File
@@ -50,6 +50,10 @@
H.dna.features["flavor_text"] = "" //Oh no.
H.dna.features["body_model"] = H.gender
H.set_bark(pick(GLOB.bark_random_list))
H.vocal_pitch = ((H.gender == MALE ? rand(60, 120) : (H.gender == FEMALE ? rand(80, 140) : rand(60,140))) / 100)
H.vocal_pitch_range = rand(10, 40) / 100
SEND_SIGNAL(H, COMSIG_HUMAN_ON_RANDOMIZE)
H.update_body(TRUE)