-> Removed the robot flavour requirement again.

-> Removed the two unnecessary helpers.
This commit is contained in:
Kashargul
2023-10-21 21:46:03 +02:00
committed by GitHub
parent 3e82757231
commit 504c40972d
2 changed files with 2 additions and 17 deletions
+2 -12
View File
@@ -316,20 +316,10 @@ Proc for attack log creation, because really why not
. = getCompoundIcon(desired)
cached_character_icons[cachekey] = .
//VOREStation Add Start
/proc/not_has_ooc_text(mob/user)
if (config.allow_Metadata && (!user.client?.prefs?.metadata || length(user.client.prefs.metadata) < 15))
to_chat(user, "<span class='warning'>Please set informative OOC notes related to RP/ERP preferences. Set them using the 'OOC Notes' button on the 'General' tab in character setup.</span>")
return TRUE
return FALSE
/proc/not_has_flavor_text(mob/user)
if (config.require_flavor && (!user.client?.prefs?.flavor_texts["general"] || length(user.client.prefs.flavor_texts["general"]) < 30))
to_chat(user, "<span class='warning'>Please set your general flavor text to give a basic description of your character. Set it using the 'Set Flavor text' button on the 'General' tab in character setup, and choosing 'General' category.</span>")
return TRUE
return FALSE
/proc/not_has_flavor_text_robot(mob/user)
if (config.require_flavor && (!user.client?.prefs?.flavour_texts_robot["Default"] || length(user.client.prefs.flavour_texts_robot["Default"]) < 30))
to_chat(user, "<span class='warning'>Please set your default robot flavor text to give a basic description of your character. Set it using the 'Set Robot Flavor text' button on the 'General' tab in character setup, and choosing 'Default' category.</span>")
return TRUE
return FALSE
//VOREStation Add End
@@ -11,11 +11,6 @@
to_chat(src,"<span class='warning'>Please set your general flavor text to give a basic description of your character. Set it using the 'Set Flavor text' button on the 'General' tab in character setup, and choosing 'General' category.</span>")
pass = FALSE
//No Robot Flavor Text
if (config.require_flavor && (J.mob_type & JOB_SILICON) && (!client?.prefs?.flavour_texts_robot["Default"] || length(client.prefs.flavour_texts_robot["Default"]) < 30))
to_chat(src,"<span class='warning'>Please set your default robot flavor text to give a basic description of your character. Set it using the 'Set Robot Flavor text' button on the 'General' tab in character setup, and choosing 'Default' category.</span>")
pass = FALSE
//No OOC notes
if (config.allow_Metadata && (!client?.prefs?.metadata || length(client.prefs.metadata) < 15))
to_chat(src,"<span class='warning'>Please set informative OOC notes related to RP/ERP preferences. Set them using the 'OOC Notes' button on the 'General' tab in character setup.</span>")