mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
# Conflicts: # code/__defines/holomap.dm # code/__defines/mobs.dm # code/_helpers/icons.dm # code/_helpers/unsorted.dm # code/_onclick/hud/hud.dm # code/_onclick/item_attack.dm # code/controllers/Processes/supply.dm # code/controllers/subsystems/planets.dm # code/datums/supplypacks/munitions.dm # code/datums/supplypacks/science.dm # code/datums/supplypacks/security.dm # code/datums/supplypacks/supply.dm # code/game/area/Space Station 13 areas.dm # code/game/atoms_movable.dm # code/game/machinery/autolathe.dm # code/game/machinery/doors/door.dm # code/game/machinery/jukebox.dm # code/game/machinery/recharger.dm # code/game/machinery/vending.dm # code/game/mecha/equipment/tools/medical_tools.dm # code/game/mecha/equipment/weapons/weapons.dm # code/game/objects/items/devices/PDA/PDA.dm # code/game/objects/items/devices/megaphone.dm # code/game/objects/items/poi_items.dm # code/game/objects/items/weapons/implants/implantlanguage.dm # code/game/objects/items/weapons/storage/firstaid.dm # code/game/objects/items/weapons/tools/weldingtool.dm # code/game/objects/structures/flora/trees.dm # code/game/objects/structures/plasticflaps.dm # code/game/supplyshuttle.dm # code/game/turfs/simulated/wall_attacks.dm # code/modules/admin/admin_verbs.dm # code/modules/assembly/infrared.dm # code/modules/client/client procs.dm # code/modules/client/preference_setup/loadout/loadout_utility.dm # code/modules/client/preferences.dm # code/modules/clothing/suits/miscellaneous.dm # code/modules/holomap/holomap_datum.dm # code/modules/holomap/station_holomap.dm # code/modules/integrated_electronics/core/printer.dm # code/modules/mining/machine_processing.dm # code/modules/mob/living/carbon/human/human_defense.dm # code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm # code/modules/mob/living/death.dm # code/modules/mob/living/silicon/ai/ai.dm # code/modules/mob/living/silicon/pai/pai.dm # code/modules/mob/living/silicon/robot/robot.dm # code/modules/mob/living/simple_animal/animals/parrot.dm # code/modules/mob/mob_movement.dm # code/modules/organs/organ_external.dm # code/modules/organs/organ_icon.dm # code/modules/organs/subtypes/standard.dm # code/modules/planet/weather.dm # code/modules/power/cable.dm # code/modules/power/fusion/core/core_control.dm # code/modules/power/fusion/fuel_assembly/fuel_control.dm # code/modules/power/fusion/gyrotron/gyrotron_control.dm # code/modules/projectiles/gun.dm # code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm # config/names/first_name_skrell.txt # config/names/last_name_skrell.txt # icons/mob/head.dmi # icons/mob/robots.dmi # icons/mob/species/tajaran/helmet.dmi # icons/obj/ammo.dmi # icons/obj/gun.dmi # icons/obj/mining.dmi # icons/obj/projectiles.dmi # icons/obj/rig_modules.dmi # icons/obj/surgery.dmi # icons/turf/walls.dmi # maps/southern_cross/southern_cross-1.dmm # maps/southern_cross/southern_cross-3.dmm # maps/southern_cross/southern_cross-6.dmm # maps/southern_cross/southern_cross-8.dmm # maps/submaps/surface_submaps/mountains/backup/IceCave1.dmm # maps/submaps/surface_submaps/mountains/backup/IceCave1A.dmm # maps/submaps/surface_submaps/mountains/backup/IceCave1B.dmm # maps/submaps/surface_submaps/mountains/backup/IceCave1C.dmm # maps/submaps/surface_submaps/mountains/crashedcontainmentshuttle.dmm # maps/submaps/surface_submaps/mountains/deadspy.dmm # maps/submaps/surface_submaps/mountains/mountains_areas.dm # maps/submaps/surface_submaps/plains/Thiefc.dmm # maps/~map_system/maps.dm # vorestation.dme
267 lines
9.5 KiB
Plaintext
267 lines
9.5 KiB
Plaintext
//Toggles for preferences, normal clients
|
|
/client/verb/toggle_ghost_ears()
|
|
set name = "Show/Hide Ghost Ears"
|
|
set category = "Preferences"
|
|
set desc = "Toggles between seeing all mob speech and nearby mob speech."
|
|
|
|
var/pref_path = /datum/client_preference/ghost_ears
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear all mob speech as a ghost.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TGEars") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ghost_vision()
|
|
set name = "Show/Hide Ghost Vision"
|
|
set category = "Preferences"
|
|
set desc = "Toggles between seeing all mob emotes and nearby mob emotes."
|
|
|
|
var/pref_path = /datum/client_preference/ghost_sight
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] see all emotes as a ghost.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TGVision") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ghost_radio()
|
|
set name = "Show/Hide Radio Chatter"
|
|
set category = "Preferences"
|
|
set desc = "Toggles between seeing all radio chat and nearby radio chatter."
|
|
|
|
var/pref_path = /datum/client_preference/ghost_radio
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear all radios as a ghost.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TGRadio") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_deadchat()
|
|
set name = "Show/Hide Deadchat"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the dead chat channel."
|
|
|
|
var/pref_path = /datum/client_preference/show_dsay
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear dead chat as a ghost.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TDeadChat") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ooc()
|
|
set name = "Show/Hide OOC"
|
|
set category = "Preferences"
|
|
set desc = "Toggles global out of character chat."
|
|
|
|
var/pref_path = /datum/client_preference/show_ooc
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(/datum/client_preference/show_ooc)) ? "now" : "no longer"] hear global out of character chat.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_looc()
|
|
set name = "Show/Hide LOOC"
|
|
set category = "Preferences"
|
|
set desc = "Toggles local out of character chat."
|
|
|
|
var/pref_path = /datum/client_preference/show_looc
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear local out of character chat.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TLOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_typing()
|
|
set name = "Show/Hide Typing Indicator"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the speech bubble typing indicator."
|
|
|
|
var/pref_path = /datum/client_preference/show_typing_indicator
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] have the speech indicator.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TTIND") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ahelp_sound()
|
|
set name = "Toggle Admin Help Sound"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the ability to hear a noise broadcasted when you get an admin message."
|
|
|
|
var/pref_path = /datum/client_preference/holder/play_adminhelp_ping
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] receive noise from admin messages.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TAHelp") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_lobby_music()
|
|
set name = "Toggle Lobby Music"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the music in the lobby."
|
|
|
|
var/pref_path = /datum/client_preference/play_lobby_music
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear music in the lobby.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TLobMusic") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_admin_midis()
|
|
set name = "Toggle Admin MIDIs"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the music in the lobby."
|
|
|
|
var/pref_path = /datum/client_preference/play_admin_midis
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : " no longer"] hear MIDIs from admins.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TAMidis") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ambience()
|
|
set name = "Toggle Ambience"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the playing of ambience."
|
|
|
|
var/pref_path = /datum/client_preference/play_ambiance
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : " no longer"] hear ambient noise.")
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TBeSpecial") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_jukebox()
|
|
set name = "Toggle Jukebox"
|
|
set category = "Preferences"
|
|
set desc = "Toggles the playing of jukebox music."
|
|
|
|
var/pref_path = /datum/client_preference/play_jukebox
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear jukebox music."
|
|
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TJukebox") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_be_special(role in be_special_flags)
|
|
set name = "Toggle SpecialRole Candidacy"
|
|
set category = "Preferences"
|
|
set desc = "Toggles which special roles you would like to be a candidate for, during events."
|
|
|
|
var/role_flag = be_special_flags[role]
|
|
if(!role_flag) return
|
|
|
|
prefs.be_special ^= role_flag
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src,"You will [(prefs.be_special & role_flag) ? "now" : "no longer"] be considered for [role] events (where possible).")
|
|
|
|
feedback_add_details("admin_verb","TBeSpecial") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_safe_firing()
|
|
set name = "Toggle Gun Firing Intent Requirement"
|
|
set category = "Preferences"
|
|
set desc = "Toggles between safe and dangerous firing. Safe requires a non-help intent to fire, dangerous can be fired on help intent."
|
|
|
|
var/pref_path = /datum/client_preference/safefiring
|
|
toggle_preference(pref_path)
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src,"You will now use [(is_preference_enabled(/datum/client_preference/safefiring)) ? "safe" : "dangerous"] firearms firing.")
|
|
|
|
feedback_add_details("admin_verb","TFiringMode") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_mob_tooltips()
|
|
set name = "Toggle Mob Tooltips"
|
|
set category = "Preferences"
|
|
set desc = "Toggles displaying name/species over mobs when moused over."
|
|
|
|
var/pref_path = /datum/client_preference/mob_tooltips
|
|
toggle_preference(pref_path)
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src,"You will now [(is_preference_enabled(/datum/client_preference/mob_tooltips)) ? "see" : "not see"] mob tooltips.")
|
|
|
|
feedback_add_details("admin_verb","TMobTooltips") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_hear_instruments()
|
|
set name = "Toggle Hear/Ignore Instruments"
|
|
set category = "Preferences"
|
|
set desc = "Hear In-game Instruments"
|
|
|
|
var/pref_path = /datum/client_preference/instrument_toggle
|
|
toggle_preference(pref_path)
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src, "You will now [(is_preference_enabled(/datum/client_preference/instrument_toggle)) ? "hear" : "not hear"] instruments being played.")
|
|
|
|
feedback_add_details("admin_verb","THInstm") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
//Toggles for Staff
|
|
//Developers
|
|
|
|
/client/proc/toggle_debug_logs()
|
|
set name = "Toggle Debug Logs"
|
|
set category = "Preferences"
|
|
set desc = "Toggles debug logs."
|
|
|
|
var/pref_path = /datum/client_preference/debug/show_debug_logs
|
|
|
|
if(check_rights(R_ADMIN|R_DEBUG))
|
|
toggle_preference(pref_path)
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] receive debug logs.")
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TBeSpecial") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
//Mods
|
|
/client/proc/toggle_attack_logs()
|
|
set name = "Toggle Attack Logs"
|
|
set category = "Preferences"
|
|
set desc = "Toggles attack logs."
|
|
|
|
var/pref_path = /datum/client_preference/mod/show_attack_logs
|
|
|
|
if(check_rights(R_ADMIN|R_MOD))
|
|
toggle_preference(pref_path)
|
|
to_chat(src,"You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] receive attack logs.")
|
|
prefs.save_preferences()
|
|
|
|
feedback_add_details("admin_verb","TBeSpecial") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|