Playtime enhancements/port#126
Conversation
…o playtime-enhancements
…o playtime-enhancements
Test merge deployment history:Test Merge Deployed @ 09/13/2025 17:14:53 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: 2289fd3 Test Merge Updated @ 09/13/2025 17:51:02 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: 2289fd3 Test Merge Updated @ 09/14/2025 16:38:56 +00:00:Server InstanceMonkeris Merged Bymycah RevisionOrigin: e708f17 Test Merge Removed @ 10/01/2025 02:06:13 +00:00:Server InstanceMonkeris Test Merge Deployed @ 10/01/2025 02:07:13 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: 9424d3f Test Merge Updated @ 10/07/2025 10:24:07 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: 56a7ec3 Test Merge Updated @ 10/26/2025 11:14:53 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: c2128c5 Test Merge Updated @ 10/26/2025 11:17:56 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: c2128c5 Test Merge Removed @ 10/26/2025 11:28:31 +00:00:Server InstanceMonkeris Test Merge Deployed @ 10/26/2025 11:48:45 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: c2128c5 Test Merge Updated @ 10/26/2025 12:18:14 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: c2128c5 Test Merge Updated @ 10/27/2025 18:01:29 +00:00:Server InstanceMonkeris Merged Byflleeppyy2 RevisionOrigin: 61ca898 Test Merge Removed @ 10/27/2025 18:58:10 +00:00:Server InstanceMonkeris |
…o playtime-enhancements
…ts in the web editor DO NOT FIX MERGE CONFLICTS IN THE WEB EDITOR
…o playtime-enhancements
…o playtime-enhancements
About The Pull Request
This PR adds SQL playtime experience tracking from Tg/monkestation.
View tracked playtimeUSE_EXP_TRACKING- Rrack player playtime in the database. Requires database to be enabled.USE_EXP_RESTRICTIONS_HEADS- Enable playtime requirements for head jobs.USE_EXP_RESTRICTIONS_HEADS_HOURS 3- Leave this commented out to use the values defined in the job datums. Values in the datums are stored as minutes. Unhash this to override head jobs' playtime requirements with this number of hours.USE_EXP_RESTRICTIONS_HEADS_DEPARTMENT- Change head jobs' playtime requirements so that they're based on department playtime,ratherthan crew playtime.USE_EXP_RESTRICTIONS_OTHER- Enable playtime requirements for certain non-head jobs, like Engineer and Scientist.USE_EXP_RESTRICTIONS_ADMIN_BYPASS- Allows admins to bypass job playtime requirements.USE_LOW_LIVING_HOUR_INTERN- Have intern tags automatically added to ID cards for station roles depending on the living hoursofthe player holding them.USE_LOW_LIVING_HOUR_INTERN_HOURS 50- If USE_LOW_LIVING_HOUR_INTERN is unhashed, players under this number of living hours have [Intern] added to their ID card. If this isn't set, uses USE_EXP_RESTRICTIONS_HEADS_HOURS instead. If that isn't set, it finally defaults to a hardcoded fallback of 15 hours.role_timerole_timeLogand renamespopulationstolegacy_populationrecord_feedbackcalls that are missing all over the codebase, just reference monkestation or tgstation for blackbox feedback calls.Other shit:
mentors/mob/new_player/Login.Bounty description
This PR completes bounty 002
Persistent Clients from MonkestationWhy It's Good For The Game
Much better and NOT shit playtime tracking is nice for everyone :)
Testing
Playtime window
Hovering over the playtimes that are more than a day (24 hours) will show you the pure hours instead of the fancyily formatted time.
Intern ID cards & PDAs
Character Setup (Occupations)
Changelog
🆑
add: SQL playtime system, check your playtime via OOC > View tracked playtime
/:cl: