Add lesson whispers, teacher catch chance, and after-bell teacher talk.
Whispering cuts lesson skill gain from BehaviorDef; a teacher in the room may interrupt into a discipline circle, and pedagogy scales the pupil's opinion of the teacher. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -113,6 +113,8 @@ public class BehaviorDefTests
|
||||
Assert.NotNull(catalog.BehaviorRules);
|
||||
Assert.Equal(0, catalog.BehaviorRules.CommuteRainMinutes);
|
||||
Assert.Equal(0, catalog.BehaviorRules.CommuteSnowMinutes);
|
||||
Assert.Equal(0.4f, catalog.BehaviorRules.LessonWhisperSkillFactor);
|
||||
Assert.Equal(0.4f, catalog.BehaviorRules.WhisperCatchChance);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
||||
@@ -16,6 +16,10 @@ public class TopicDefTests
|
||||
Assert.True(catalog.Topics.Count >= 8);
|
||||
Assert.True(catalog.Topics.ContainsKey("TopicStudy"));
|
||||
Assert.Contains("study", catalog.Topics["TopicStudy"].Tags);
|
||||
Assert.True(catalog.Topics["TopicGames"].WhisperOnLesson);
|
||||
Assert.False(catalog.Topics["TopicRude"].WhisperOnLesson);
|
||||
Assert.True(catalog.Topics.ContainsKey("TopicPraise"));
|
||||
Assert.True(catalog.Topics.ContainsKey("TopicDiscipline"));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user