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>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
68c4bbabd7
commit
799f46a5f2
+6
-4
@@ -79,10 +79,12 @@ return [
|
||||
|
||||
// Jail system configuration
|
||||
'jail' => [
|
||||
'sentence_length' => 3600, // 1 hour base sentence
|
||||
'breakout_chance' => 0.05, // 5% chance to break out per attempt
|
||||
'breakout_cost' => 1000, // Cost to attempt breakout
|
||||
'sentence_multiplier' => 1.5, // Sentence increases by 50% for repeat offenses
|
||||
'sentence_length' => 3600,
|
||||
'breakout_chance' => 0.05,
|
||||
'breakout_cost' => 1000,
|
||||
'sentence_multiplier' => 1.5,
|
||||
'bust_out_stat_multiplier' => 0.003, // per combined dex+speed point
|
||||
'bust_out_max_chance' => 0.80, // cap at 80%
|
||||
],
|
||||
|
||||
// Economy configuration
|
||||
|
||||
Reference in New Issue
Block a user