Implements a path-based, player-specific whitelisting system (#8725)

* Implements a path-based, player-specific whitelisting system

* Readds ported functions

* Local testing

* Copy-paste error

* VV modifications, player panel interface

* Testing admin operations

* data review
This commit is contained in:
Atermonera
2022-10-22 11:34:19 -08:00
committed by GitHub
parent 4ffb64530a
commit 712c59328f
14 changed files with 377 additions and 91 deletions

View File

@@ -97,6 +97,11 @@ var/global/floorIsLava = 0
"}
if (M.client)
body += "<br><br><b>Whitelists:</b><br>"
body += jointext(M.client.get_whitelists_list(), ", ")
body += "<br><A href='?src=\ref[src];modify_whitelist=\ref[M.client];set_value=1'>Add Whitelist</A>"
body += " - <A href='?src=\ref[src];modify_whitelist=\ref[M.client];set_value=0'>Remove Whitelist</A>"
if(!istype(M, /mob/new_player))
body += "<br><br>"
body += "<b>Transformation:</b>"