userJarryd Campicancel
branchrust_reboot/main/tc_auth_group_testscancel

7 Commits over 0 Days - Infinitycph!

16 Days Ago
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
16 Days Ago
Merge from main
18 Days Ago
Added info about the current group tax applied when hovering over the upkeep cost in the TC loot panel
18 Days Ago
Merge from main
19 Days Ago
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
19 Days Ago
Merge from main
20 Days Ago
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