Implements periodic tips for (new) players!

This commit is contained in:
Casey
2023-02-12 13:18:41 -05:00
committed by CHOMPStation2
parent f81a4f1bd1
commit f841a10f4c
7 changed files with 162 additions and 0 deletions

View File

@@ -370,6 +370,12 @@ var/list/_client_preferences_by_type
enabled_description = "Hear"
disabled_description = "Silent"
/datum/client_preference/player_tips
description = "Receive Tips Periodically"
key = "RECEIVE_TIPS"
enabled_description = "Enabled"
disabled_description = "Disabled"
/********************
* Staff Preferences *
********************/

View File

@@ -124,3 +124,17 @@
SScharacter_setup.queue_preferences_save(prefs)
feedback_add_details("admin_verb", "TSoundMentorhelps")
<<<<<<< HEAD
=======
/client/verb/toggle_player_tips()
set name = "Toggle Receiving Player Tips"
set category = "Preferences"
set desc = "When toggled on, you receive tips periodically on roleplay and gameplay."
var/pref_path = /datum/client_preference/player_tips
toggle_preference(pref_path)
to_chat(src, "You are [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] periodically receiving advice on gameplay and roleplay.")
>>>>>>> d260f6be19... Merge pull request #14456 from Runa-Dacino/HelpfulTips