mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Adds tracking amount of time spent playing departments 2: The fall of the Assistants. (#29105)
* Ports Paradise Job exp system * changed to use json_decode and json_encode as recommended by oranges * updates changelog * Reee cyberboss * Changes to use a seperate table * Updates database changelog Changes to use mediumint * Back to wip we go. Changes sql stuff to how mso suggested Attempts the changes requested in the other pr. * work on stuff. * work on stuff. * Renamed proc for time remaining. Fixed updating time amounts. Added delay to fix firing at roundstart * exp is now stored in a global list, and only updated to the db at round end. * some stuff * Added button to toggle exempt status on a player. Still need to make it update the db * REEE Jordie. Undoes delaying exp updating to round end. Adds the updating filtering to the update_exp_client proc which is used again * Lowers a bunch of the times needed. * Makes tracking per job instead of per department. Department time is now calculated from job time. * Whoops forgot to update master first. Lemme save this Reverb should play cheeki breeki to people * I think I did this right. Too tired to test atm. Busy rewatching twintails ni narimasu * Removes var from proc arguments Fixes database stuff * Does some requested changes. Makes special_role be tracked instead of bundled under special. * Done, but need to refactor how it handles ghost roles. * Less false data wew * Changes * Updates db version More changes * More changes * More changes * revision fix * OOPS * fix schemas * Makes SQL error logging handled by Execute Gang role tracking now strips out the gang name and is generic.
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
if(M.client)
|
||||
body += " played by <b>[M.client]</b> "
|
||||
body += "\[<A href='?_src_=holder;editrights=rank;ckey=[M.ckey]'>[M.client.holder ? M.client.holder.rank : "Player"]</A>\]"
|
||||
if(config.use_exp_tracking)
|
||||
body += "\[<A href='?_src_=holder;getplaytimewindow=\ref[M]'>" + M.client.get_exp_living() + "</a>\]"
|
||||
|
||||
if(isnewplayer(M))
|
||||
body += " <B>Hasn't Entered Game</B> "
|
||||
|
||||
Reference in New Issue
Block a user