mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Resolves #830 - ghost_form is only selectable by members.
ghost_form is now saved with other preferences. Public visibility of memberships is toggable and saved with other preferences. ooc-colors for admins and members are now sanitized. Bright colours like Yellow, white and baby-blue will be darkened for the sake of legibility. Related to above - added helper procs to convert between RGB and HSL colour models. Admins cannot modify var/unlock_content without +DEBUG rights. unlock_content moved from client into prefs. Player savefile version number updated - this will trigger savefile updates, no data should be lost.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
/client/proc/massmodify_variables(var/atom/O, var/var_name = "", var/method = 0)
|
||||
if(!check_rights(R_VAREDIT)) return
|
||||
|
||||
var/list/locked = list("vars", "key", "ckey", "client")
|
||||
var/list/locked = list("vars", "key", "ckey", "client", "unlock_content")
|
||||
|
||||
for(var/p in forbidden_varedit_object_types)
|
||||
if( istype(O,p) )
|
||||
|
||||
@@ -130,7 +130,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
|
||||
if(!istype(L,/list)) src << "Not a List."
|
||||
|
||||
var/list/locked = list("vars", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "viruses", "cuffed", "ka", "last_eaten", "urine", "poo")
|
||||
var/list/locked = list("vars", "client", "virus", "viruses", "cuffed", "last_eaten", "unlock_content")
|
||||
var/list/ckey_edit = list("key", "ckey")
|
||||
var/list/icon_edit = list("icon", "icon_state", "overlays", "underlays")
|
||||
var/list/names = sortList(L)
|
||||
@@ -274,7 +274,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
/client/proc/modify_variables(var/atom/O, var/param_var_name = null, var/autodetect_class = 0)
|
||||
if(!check_rights(R_VAREDIT)) return
|
||||
|
||||
var/list/locked = list("vars", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "cuffed", "ka", "last_eaten", "mutantrace")
|
||||
var/list/locked = list("vars", "client", "virus", "cuffed", "last_eaten", "mutantrace")
|
||||
var/list/ckey_edit = list("key", "ckey")
|
||||
var/list/icon_edit = list("icon", "icon_state", "overlays", "underlays")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user