last minute tuto changes
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 13s
Create tag and build when new code gets to main / Export (push) Successful in 1m30s

This commit is contained in:
2026-02-01 17:10:24 +01:00
parent f760cecbf7
commit 661510d7f6
12 changed files with 63 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
for guest_trait in guest_traits:
var trait_strength = 0.0
for stimuli in guest_trait.stimulis:
var strength = stimuli
var strength = 1.0
if guest_mouth_mask != null and stimuli == guest_mouth_mask.stimuli:
strength *= guest_mouth_mask.stimuli_multiplier
if face_mask != null and stimuli == face_mask.stimuli:
@@ -51,6 +51,7 @@ func compute_score(other_guests: Array[MaskedChara]) -> float:
var preference = character.preferences.get(guest_trait) if guest_trait in character.preferences else CharacterResource.Preference.DONT_CARE
var score_multiplier = pref_score_map.get(preference) if preference in pref_score_map else 0.0
guest_appreciation += trait_strength*score_multiplier
print(guest_appreciation)
overall_score += guest_appreciation