Prison Architect

Prison Architect

Nedostatek hodnocení
Auto Promote Guards
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
3.165 KB
30. lis. 2024 v 1.35
28. led. v 6.44
Poznámky ke změnám (10) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Auto Promote Guards

V 1 kolekci od uživatele wackypanda
Wackypanda's Mods (Prison Architect)
11 položek
Popis
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://gtm.steamproxy.vip/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.
Počet komentářů: 17
Killer(HUN) 29. led. v 6.11 
Thanks for the clarification. Have a good one!
wackypanda  [autor] 28. led. v 17.27 
And yes, having to press OK after each ranking is exactly why I made this mod.
wackypanda  [autor] 28. led. v 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) 28. led. v 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  [autor] 28. led. v 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 28. led. v 3.29 
Would anything happen deleterious when I grade 'em up to officer or specialist officer?
wackypanda  [autor] 27. led. v 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) 27. led. v 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!
wackypanda  [autor] 27. led. v 13.59 
In a prison of 50 guards who have all been in the prison for 20 days or more, the target number of officers should be 0.4 * 50 = 20 and target number of specialists should be 0.33 * 0.4 * 50 = 6.67, rounded up to 7.

However, if I use these ratios, the game UI allows me to promote 2 more Officers to Specialists after using Rank Eligible Guards. More research needed.
wackypanda  [autor] 27. led. v 12.43 
@Killer(HUN)

From what you are saying, 0.33 refers to number of specialists / number of officers, not number of specialists / number of guards. But if I set the ratios this way, I get many officers who are eligible to become Specialists according to the game UI, showing that I haven't reached the max number of Specialists.

I've updated so that Officers and Specialists are now counted separately. In a prison of 50 guards who have all been in the prison for 20 days or more, 17 are specialists (0.34) and 20 are Officers (0.4) for a total of 37 promoted guards.

Unintended behaviour from using Ranked Eligible Guards more than once should be fixed.