-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from Very-Soft/master
Liddol updates
- Loading branch information
Showing
5 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/client/proc/see_ghosts(var/mob/living/L in view(view)) | ||
set name = "See Ghosts" | ||
set desc = "Allows one to see ghosts!" | ||
set category = "Fun" | ||
if(!check_rights(R_ADMIN, R_FUN)) | ||
return | ||
|
||
if(L.see_invisible_default == SEE_INVISIBLE_LIVING) | ||
L.see_invisible_default = SEE_INVISIBLE_OBSERVER | ||
L.plane_holder.set_vis(VIS_GHOSTS, TRUE) | ||
to_chat(src,"<span class='warning'>\The [L] can now see ghosts.</span>") | ||
else | ||
L.see_invisible_default = SEE_INVISIBLE_LIVING | ||
L.plane_holder.set_vis(VIS_GHOSTS, FALSE) | ||
to_chat(src,"<span class='warning'>\The [L] can no longer see ghosts.</span>") | ||
|
||
log_and_message_admins("has toggled [key_name(L)]'s ability to see ghosts.") | ||
feedback_add_details("admin_verb","SEEGHOSTS") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters