This commit is contained in:
33333-33333 2026-06-30 13:40:36 +09:00
commit ad2cc76429
34 changed files with 616 additions and 365 deletions

View file

@ -330,9 +330,10 @@ def check_social_balance_guards() -> None:
"intimidate_enemy: 0",
"approach_mate: 72",
"approach_friend: 66",
"return ({ conflict: 26, mate: 24, family: 12, bond: 14",
"if (subNeed !== \"conflict\" && subValue >= threshold) return true",
"subValue >= threshold * 0.82 && subValue >= socialPull * 0.68",
"return ({ conflict: 18, mate: 24, family: 12, bond: 14",
"const relationDrive = Math.max(Number(parts.mate || 0)",
"drugBoosted || relationDrive >= Math.min",
"social-fight-vs-mate-weighted",
]
for token in required_need_tokens:
if token not in needs:
@ -350,8 +351,8 @@ def check_social_balance_guards() -> None:
for token in required_world_tokens:
if token not in world_social:
fail(f"fight re-entry guard missing: {token}")
if "dt * (battleDrug ? 0.23 : 0.085)" not in social_move:
fail("ordinary proximity fight probability guard missing")
if "social-weighted-fight-mate-start" not in social_move or "pickSocialFightMate" not in social_move:
fail("ordinary proximity weighted fight/mate guard missing")
ok("social balance and fight re-entry guards present")