Commit Graph
3 Commits
Author SHA1 Message Date
Doar MihaiandClaude Sonnet 4.6 799f46a5f2 feat: add JailService and bust-out config keys
Add JailService with bustOut(), sendToJail(), releaseFromJail(), and
calculateBustOutChance() methods. Add two config keys (bust_out_stat_multiplier
and bust_out_max_chance) to the jail config block.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 22:42:59 +03:00
Doar MihaiandClaude Sonnet 4.6 6182563fa7 feat: add nerve config and Character nerve methods
Add nerve system configuration to config/game.php with start_amount,
max, regen_rate, regen_interval, and midnight_refill settings. Add gym
configuration with energy_cost, daily_cap, and stat_gain. Add nerve
methods to Character model: hasNerve(), consumeNerve(), addNerve(), and
getNervePercentageAttribute(). Update levelUp() to increment max_nerve
by 2. Add nerve_cost to fillable arrays in Crime and CrimeAttempt models.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 15:52:41 +03:00
Doar Mihai 96d317480b first commit 2026-06-27 14:38:18 +03:00