-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into synmedstuff
- Loading branch information
Showing
3 changed files
with
16 additions
and
14 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,15 @@ | ||
|
||
/// For PvE CM we start without the ability for people to join as xenos. This can be toggled by game masters. | ||
/client/proc/toggle_join_xeno() | ||
set name = "Toggle Player Xeno Joins" | ||
set category = "Game Master" | ||
|
||
if(!admin_holder || !check_rights(R_MOD, FALSE)) | ||
return | ||
|
||
if(!SSticker.mode) | ||
to_chat(usr, SPAN_WARNING("A mode hasn't been selected yet!")) | ||
return | ||
|
||
SSticker.mode.toggleable_flags ^= MODE_NO_JOIN_AS_XENO | ||
message_admins("[src] has [MODE_HAS_TOGGLEABLE_FLAG(MODE_NO_JOIN_AS_XENO) ? "disallowed players from joining" : "allowed players to join"] as xenos.") |
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