Prison Architect

Prison Architect

十分な評価がありません
Auto Promote Guards
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
3.165 KB
2024年11月30日 1時35分
1月28日 6時44分
10 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Auto Promote Guards

wackypanda 作成の 1 件のコレクション
Wackypanda's Mods (Prison Architect)
13 アイテム
解説
Requires the FREE Free for Life DLC. This mod adds buttons to the Chief to:

- Automatically promote/rank up ELIGIBLE guards (eligibility based on vanilla Free for Life rules)
- Set ALL guards who have passed Tazer Rollout training to a particular rank (more cheaty)

Guard ranks are a Free for Life feature: you can optionally promote guards who have passed Tazer Rollout training and have been hired for a certain number of days. Only a fraction of guards can be promoted, even if all guards meet all the other requirements. Promotion boosts guard strength and toughness in exchange for higher daily pay. However, the vanilla UI for promoting guards is flaming dog excrement, so this mod turns promotions into one button click.

The mod only checks guards on click, so click Rank Eligible Guards again whenever you have more guards to promote. Pause the game when you click Rank Eligible Guards. Lag may occur on click but should resolve itself. If you have a small prison and named guards you want to promote, promote those guards manually before clicking Rank Eligible Guards.

Guards without Tazer Rollout training will not be ranked, even if you use the ALL Guards rank buttons. If you want guards to have ranks straight away when hired, try the Mix n Match mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2748161314

Compatibility:

- Probably compatible with most guard mods
- May or may not be compatible with mods which add features to guard ranks
- Guard eligibility is based on vanilla Free for Life rules, and can't account for other mods changing guard eligibility
- Not compatible with mods which script Chiefs (sprite mods should be compatible)

All comments welcome. This mod does not alter Chief behaviour when it comes to executions or programs which the Chief teaches. If you encounter any issues, please upload your prison on Steam Workshop and comment below.
19 件のコメント
.:Kemauri:. 4月22日 13時49分 
sweet
散白Ming 3月25日 8時04分 
This is the mod that I was searching for.Thanks a lot!
Killer(HUN) 1月29日 6時11分 
Thanks for the clarification. Have a good one!
wackypanda  [作成者] 1月28日 17時27分 
And yes, having to press OK after each ranking is exactly why I made this mod.
wackypanda  [作成者] 1月28日 17時26分 
@Killer(HUN)

Thanks for testing. I tried using the mod on 175 guards, so to start with, 0.4 * 175 = 70 officers and 0.3 * 0.4 * 175 = 23.33 specialists, rounded up to 24. This gave me 8 "missed" Specialists, for final counts of 62 officers and 32 specialists.

From earlier, for 50 guards the mod count is 20 Officers and 7 Specialists, with 2 missed Specialists for final counts of 18 Officers and 9 Specialists.

Based on these results, the actual formula seems to be:
TargetPromotedGuards = (RatioOfficer * NumGuards) + (RatioSpecialist * RatioOfficer * NumGuards)
TargetOfficers = (2 * TargetPromotedGuards) / 3
TargetSpecialists = TargetPromotedGuards / 3

This formula is what I'm using in the latest update of my mod.

With completely manual promotion, you got 17 officers for 50 guards instead of 18, so there are still rounding differences between my mod and manual promotion. But I think I'll leave it as is for now.
Killer(HUN) 1月28日 11時16分 
I tried it with 50 guards.

17 officers,
9 specialists,
24 seniors.

It did not let me change anything else.

Meaning that the rate of officers to seniors is 24*0,4=9,6 So that is false.

If we take all guards 50*0,4=20

officers to specialist is 17*0,33=5,61 so that is also false.

If we take all guards 50*0,33=16,5 or 50*0,4*0,33= 6


Not one of these calculations are exactly as they should be.

It's a shame you have to press "ok" after each ranking or it doesn't save.

So yeah I think it's bugged. (Not your mod, the game itself)
wackypanda  [作成者] 1月28日 4時21分 
@Bluur

You have to pay your promoted guards more, as stated in the description. Otherwise I don't think there are any serious issues. If you decide you don't like the pay increase or if something else happens, you can revert them all back to Senior Guards (which is the rank they all have when they pass tazer training).

If you encounter any serious issues, please feel free to comment.
Bluur 1月28日 3時29分 
Would anything happen deleterious when I grade 'em up to officer or specialist officer?
wackypanda  [作成者] 1月27日 21時41分 
You might prefer 8 specialists for 20 officers, but I didn't come up with 0.33 and 0.4 on my own; that's in the game files, showing that's what the devs intended, which was my intention from the start. (Though it doesn't say whether that's a ratio to guards, or a ratio to officers. I thought it was the former, and your testing suggests the latter. But neither way explains why the "actual" number allowed by the UI for my test case of 50 guards and 20 officers is 9 specialists [and 18 officers]).
Killer(HUN) 1月27日 14時01分 
Honestly,that seems more realistic, even though it should be around 8 specialists for 20 officers, officer ratio to senior guard is perfect.

But hey you did change it in the direction I asked so I'm happy, thank you dude for taking the time!