mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
made suicide a config flag
This commit is contained in:
@@ -408,3 +408,5 @@
|
||||
|
||||
/datum/config_entry/number/dropped_modes
|
||||
config_entry_value = 3
|
||||
|
||||
/datum/config_entry/flag/suicide_allowed
|
||||
|
||||
@@ -207,6 +207,8 @@
|
||||
message_admins("[key_name(src)] (job: [src.job ? "[src.job]" : "None"]) [is_special_character(src) ? "(ANTAG!) " : ""][ghosting ? "ghosted" : "committed suicide"] at [AREACOORD(src)].")
|
||||
|
||||
/mob/living/proc/canSuicide()
|
||||
if(!CONFIG_GET(flag/suicide_allowed))
|
||||
return FALSE
|
||||
switch(stat)
|
||||
if(CONSCIOUS)
|
||||
return TRUE
|
||||
|
||||
@@ -597,3 +597,6 @@ MODETIER_VOTING
|
||||
|
||||
## Number of modes dropped by the modetier vote during mode selection, after vote.
|
||||
DROPPED_MODES 3
|
||||
|
||||
## Whether the suicide verb is allowed.
|
||||
# SUICIDE_ALLOWED
|
||||
|
||||
Reference in New Issue
Block a user