bro this starts looking good
This commit is contained in:
@@ -38,9 +38,9 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
|
||||
var trait_strength = 0.0
|
||||
for stimuli in guest_trait.stimulis:
|
||||
var strength = stimuli
|
||||
if stimuli == guest_mouth_mask.stimuli:
|
||||
if guest_mouth_mask != null and stimuli == guest_mouth_mask.stimuli:
|
||||
strength *= guest_mouth_mask.stimuli_multiplier
|
||||
if stimuli == face_mask.stimuli:
|
||||
if face_mask != null and stimuli == face_mask.stimuli:
|
||||
strength *= face_mask.stimuli_multiplier
|
||||
trait_strength += strength
|
||||
|
||||
|
||||
Reference in New Issue
Block a user