mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] porting healthbars from roguestar + disassemble mat fixes (#7649)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -344,6 +344,12 @@ var/list/_client_preferences_by_type
|
||||
enabled_description = "On"
|
||||
disabled_description = "Off"
|
||||
|
||||
/datum/client_preference/vore_health_bars
|
||||
description = "Vore Health Bars"
|
||||
key = "VORE_HEALTH_BARS"
|
||||
enabled_description = "Enabled"
|
||||
disabled_description = "Disabled"
|
||||
|
||||
/datum/client_preference/runechat_mob
|
||||
description = "Runechat (Mobs)"
|
||||
key = "RUNECHAT_MOB"
|
||||
|
||||
@@ -481,6 +481,19 @@ CHOMPRemove. Bundled voice sounds into emote/whisper/subtle. Going this extra le
|
||||
feedback_add_details("admin_verb","TSubtleSounds")
|
||||
*/
|
||||
|
||||
/client/verb/toggle_vore_health_bars()
|
||||
set name = "Toggle Vore Health Bars"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggle the display of vore related health bars"
|
||||
|
||||
var/pref_path = /datum/client_preference/vore_health_bars
|
||||
toggle_preference(pref_path)
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
to_chat(src, "Vore related health bars - [(is_preference_enabled(/datum/client_preference/vore_health_bars)) ? "Enabled" : "Disabled"]")
|
||||
|
||||
feedback_add_details("admin_verb","TVoreHealthBars")
|
||||
|
||||
// Not attached to a pref datum because those are strict binary toggles
|
||||
/client/verb/toggle_examine_mode()
|
||||
set name = "Toggle Examine Mode"
|
||||
|
||||
Reference in New Issue
Block a user