More area flag option fixes (#16740)

* some mor fixes on the block flags

* .

* fix aghosting

* .

* add privacy switch

* .

* ignore bellied

* .

* .

* fix it up
This commit is contained in:
Kashargul
2024-12-22 22:34:54 +01:00
committed by GitHub
parent c41b1351fd
commit d421a56cc4
10 changed files with 137 additions and 20 deletions
+8 -4
View File
@@ -67,13 +67,11 @@
var/mob/observer/dead/ghost
if(build_mode)
togglebuildmode(body)
ghost = body.ghostize(1)
ghost.admin_ghosted = 1
ghost = body.ghostize(1, TRUE)
if(build_mode == "Yes")
togglebuildmode(ghost)
else
ghost = body.ghostize(1)
ghost.admin_ghosted = 1
ghost = body.ghostize(1, TRUE)
init_verbs()
if(body)
body.teleop = ghost
@@ -359,6 +357,9 @@
message_admins("[src] re-admined themself.", 1)
to_chat(src, span_filter_system(span_interface("You now have the keys to control the planet, or at least a small space station")))
remove_verb(src, /client/proc/readmin_self)
if(isobserver(mob))
var/mob/observer/dead/our_mob = mob
our_mob.visualnet?.addVisibility(our_mob, src)
/client/proc/deadmin_self()
set name = "De-admin self"
@@ -371,6 +372,9 @@
deadmin()
to_chat(src, span_filter_system(span_interface("You are now a normal player.")))
add_verb(src, /client/proc/readmin_self)
if(isobserver(mob))
var/mob/observer/dead/our_mob = mob
our_mob.visualnet?.removeVisibility(our_mob, src)
feedback_add_details("admin_verb","DAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_log_hrefs()