mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
You can now put a full size reference picture on the examine panel (#3339)
## About The Pull Request I also centered the tab titles so it looks a little straighter   ## Why It's Good For The Game Cause I want to throw art on the examine panel. It'll be a little slow switching back due to ByondUI. Sadly ## Proof Of Testing See above ## Changelog 🆑 qol: Adds the ability to put a reference picture on the examine panel. /🆑
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
var/headshot_nsfw = ""
|
||||
var/headshot_silicon = ""
|
||||
var/headshot_silicon_nsfw = ""
|
||||
var/art_ref = ""
|
||||
|
||||
/datum/preference/text/flavor_text_nsfw
|
||||
category = PREFERENCE_CATEGORY_NON_CONTEXTUAL
|
||||
@@ -88,6 +89,30 @@
|
||||
stored_link[usr?.ckey] = value
|
||||
usr?.client?.prefs.headshot_silicon_nsfw = value
|
||||
|
||||
/datum/preference/text/headshot/art_ref
|
||||
savefile_key = "art_ref"
|
||||
|
||||
/datum/preference/text/headshot/art_ref
|
||||
|
||||
/datum/preference/text/headshot/art_ref/apply_to_human(mob/living/carbon/human/target, value, datum/preferences/preferences)
|
||||
target.dna.features["art_ref"] = value
|
||||
|
||||
/datum/preference/text/headshot/art_ref/apply_headshot(value)
|
||||
if(stored_link[usr.ckey] != value)
|
||||
log_game("[usr] has set their art reference image to '[value]'.")
|
||||
stored_link[usr?.ckey] = value
|
||||
usr?.client?.prefs.art_ref = value
|
||||
|
||||
/datum/preference/toggle/art_ref_nsfw
|
||||
category = PREFERENCE_CATEGORY_NON_CONTEXTUAL
|
||||
savefile_identifier = PREFERENCE_CHARACTER
|
||||
savefile_key = "art_ref_nsfw"
|
||||
default_value = FALSE
|
||||
|
||||
|
||||
/datum/preference/toggle/art_ref_nsfw/apply_to_human(mob/living/carbon/human/target, value, datum/preferences/preferences)
|
||||
return FALSE
|
||||
|
||||
//OOC notes for Silicons. Overwrites regular OOC notes when you are playing a Silicon character.
|
||||
//TODO: Make this your regular OOC notes if you don't have Silicon ones. Every time I've tried, for some reason regular OOC notes haven't shown.
|
||||
/datum/preference/text/ooc_notes/silicon
|
||||
|
||||
Reference in New Issue
Block a user