Delta-v/Content.Shared/CCVar
deathride58 5bf18aa2ff Playtime Reminders - Raising awareness of addiction by highlighting excessive playtime (#36483)
* grass touch protocol - Rebases to latest master to fix conflicts

* aight local tests are passing lets see if our golf works

* It is 5 am and our ass COMPLETELY overcomplicated this lmaooo

* Addresses feedback - Clarifies comments, swaps internal var names for grasstouchless and selfdestructive, makes the third tier a little less demanding, and fixes 1 hours

* Addresses review - conflict fix

* This too

* Axes playtime exclusion for ghosts

* Use switch expression

code style nit

* Refactor/cleanup

Use IGameTiming.RealTime to track time instead of DateTime. Use nullable instead of magic values.

Expose the current day value through a property that is always up to date, instead of making the API to read the CVar that updates at inconsistent times. This also makes it trivial to debug with VV.

Other minor cleanup like using string interp, code style fixes, comments, etc.

---------

Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2025-08-07 19:33:32 +02:00
..
CVarAccess Add ability for admins to change certain cvars via command. (#35105) 2025-03-01 13:18:39 +00:00
CCVars.Accessibility.cs Add undergarments & "Censor Nudity" toggle to options (#33185) 2025-03-09 22:34:51 +00:00
CCVars.Admin.Ahelp.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Admin.Logs.cs "New player" admin logging improvements (#35961) 2025-03-23 16:17:16 +00:00
CCVars.Admin.Rules.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Admin.cs Require hwid (#35331) 2025-03-01 13:54:11 +00:00
CCVars.Atmos.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Audio.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Cargo.cs Make funding allocation computer more configurable (#36790) (#3555) 2025-04-22 19:23:40 +00:00
CCVars.Chat.Admin.cs Add basic discord client integration with ooc and admin chat support (#33840) 2025-08-05 16:23:51 +02:00
CCVars.Chat.Looc.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Chat.Ooc.cs Add basic discord client integration with ooc and admin chat support (#33840) 2025-08-05 16:23:51 +02:00
CCVars.Chat.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Config.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Console.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Crewmanifest.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Database.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Discord.cs Add basic discord client integration with ooc and admin chat support (#33840) 2025-08-05 16:23:51 +02:00
CCVars.Events.cs [ChangeCVarCommand] Mapping Command (#35239) 2025-03-01 13:36:15 +00:00
CCVars.Explosion.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Game.Infolinks.cs Add telegram to the server info-links (#33459) 2024-12-07 17:25:37 +00:00
CCVars.Game.cs upstream merge 27/04/2025 (#3596) 2025-05-06 19:35:03 -04:00
CCVars.Ghost.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Hud.cs version watermark (#35284) 2025-03-01 14:16:33 +00:00
CCVars.Ic.cs HumanoidCharacterProfile and IdCardConsoleComponent constants moved to cvar. Sync id card length with character name length (#35407) 2025-05-18 18:10:23 +01:00
CCVars.Interactions.cs Revert "Revert `Storage UI V2` (#2950)" 2025-03-01 12:37:16 +00:00
CCVars.Interface.cs upstream merge 27/04/2025 (#3596) 2025-05-06 19:35:03 -04:00
CCVars.Mapping.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Midi.cs Add the instrument names to the MIDI channel selector (#38083) 2025-08-07 12:04:09 +02:00
CCVars.Misc.cs Playtime Reminders - Raising awareness of addiction by highlighting excessive playtime (#36483) 2025-08-07 19:33:32 +02:00
CCVars.Movement.cs upstream merge 27/04/2025 (#3596) 2025-05-06 19:35:03 -04:00
CCVars.NPC.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Net.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Parallax.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Physics.cs Mob Movement Major Refactor (#36847) 2025-05-18 16:20:43 +01:00
CCVars.Playtest.cs Add stamina and mob damage playtest modifiers (#35599) 2025-03-23 16:18:35 +00:00
CCVars.Radiation.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Replays.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Salvage.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Server.cs version watermark (#35284) 2025-03-01 14:16:33 +00:00
CCVars.Shuttle.cs Limit shuttle collision damage (#37578) 2025-05-21 18:24:51 +01:00
CCVars.Sounds.cs Add option to disable bwoink sound. (#33782) 2025-01-28 04:31:25 +00:00
CCVars.Tips.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Viewport.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Vote.cs More responsive votekick system (reduce timer and successive timeout) (#36044) 2025-04-06 20:51:06 +01:00
CCVars.Whitelist.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.Worldgen.cs Separate CCVars into separate files 2024-11-15 17:42:11 +00:00
CCVars.cs Add ability for admins to change certain cvars via command. (#35105) 2025-03-01 13:18:39 +00:00