branchrust_reboot/main/tc_auth_group_testscancel
7 Commits over 0 Days - Infinitycph!
If a code lock has 2 or less authed users skip that lock when calculating the door tax
Configurable by decay.upkeep_lock_min_users convar
Attempting to exempt player run hotels from being overly taxed, may need to re-evaluate if abused
Added info about the current group tax applied when hovering over the upkeep cost in the TC loot panel
thumb_up
24
thumb_down
19
Group upkeep modifier now takes into account any unique players authed on a code lock
If a player is not authed on a TC but is authed on a code lock controlled by that TC then they will contribute to upkeep costs
Runs through the same 24h window as TC auth
Can be disabled via decay.upkeep_group_count_locks
Added tests to verify behaviour
thumb_up
234
thumb_down
29
Added functionality for a TC to modify upkeep rate based on how many players are authed
Based on a tier system, we can set three group sizes and what percentage a player adds to the TC within that group
Setup with some very placeholder values for now for testing
Tier 0 - first 4 players add 0% to upkeep
Tier 1 - next 6 players add 2% upkeep each
Tier 2 - any further players add 4% upkeep each
This means a TC with 6 players authed will have +4% upkeep, a TC with 12 players will have +20% upkeep
When a player deauths from a TC it takes 24 hours in real time before that player is removed from the tax calculation, so authing, building and deauthing won't bypass the extra upkeep
Very, very WIP, for internal evaluation for now
thumb_up
192
thumb_down
70