Add recess quarrels, rare yard and gym fights, and apologies.

Bullies remember a victim by a trait field, a defender can join, staff break up a fight with a reprimand, and skip empty time clears leftover clashes so they cannot last forever.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 11:31:06 +03:00
co-authored by Cursor
parent f45347b335
commit 395107c959
20 changed files with 1504 additions and 23 deletions
@@ -86,6 +86,51 @@
"roles": ["student", "staff"],
"weight": 1,
},
{
"defName": "Quarrel",
"room": "Corridor",
"minutes": 6,
"need": "Social",
"needGain": 0.35,
"roles": ["student"],
"weight": 4,
},
{
"defName": "QuarrelYard",
"room": "SchoolYard",
"minutes": 6,
"need": "Social",
"needGain": 0.35,
"roles": ["student"],
"weight": 4,
},
{
"defName": "Fight",
"room": "SchoolYard",
"minutes": 3,
"need": "Social",
"needGain": 0.2,
"roles": ["student"],
"weight": 0,
},
{
"defName": "FightGym",
"room": "GymHall",
"minutes": 3,
"need": "Social",
"needGain": 0.2,
"roles": ["student"],
"weight": 0,
},
{
"defName": "Apologize",
"room": "Corridor",
"minutes": 4,
"need": "Social",
"needGain": 0.15,
"roles": ["student"],
"weight": 0,
},
{
"defName": "ChangeClothesMale",
"room": "MaleChangingRoom",
@@ -88,4 +88,11 @@
"teacherQuestionWeight": 2,
"teacherPraiseWeight": 2,
"teacherReprimandWeight": 1,
// Quarrel and fight (slice 9 phase 44). Fight stays rare even with hot-tempered.
"quarrelChance": 1,
"fightChance": 0.1,
"quarrelOpinionShift": -8,
"fightOpinionShift": -16,
"apologyRestoreFraction": 0.5,
"defendOpinionMin": 40,
}
@@ -24,6 +24,9 @@
"incompatible": ["Kind", "Quiet"],
"roles": ["student"],
"age": { "min": 7, "max": 18 },
"conflictChance": 1.6,
"remembersVictim": true,
"apologyChance": 0.35,
"skillModifiers": [
{ "skill": "Strength", "offset": 8 },
{ "skill": "Literature", "offset": -4 },
@@ -71,6 +74,7 @@
"weight": 5,
"incompatible": ["Quiet"],
"wageAsk": 6,
"conflictChance": 1.8,
},
{
"defName": "Kind",