[READY] Mafia Documentation and Improvements (#52065)

* controller doc'd

* k traitors work, can't target themselves and sounds for gamestart is louder

* ARGUMENTS!

* missed one tee hee

* better sound playing, ghosts can hear the game sometimes

* removal of "= null"

Co-authored-by: ラッピ from PSO2 <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

* clearer explanation

Co-authored-by: ラッピ from PSO2 <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
This commit is contained in:
tralezab
2020-07-08 16:44:42 -04:00
committed by GitHub
co-authored by ラッピ from PSO2
parent b08753f50a
commit 7af27992b5
6 changed files with 235 additions and 35 deletions
+4
View File
@@ -241,6 +241,10 @@
log_message("(job: [src.job ? "[src.job]" : "None"]) committed suicide", LOG_ATTACK)
/mob/living/proc/canSuicide()
var/area/A = get_area(src)
if(A.block_suicide)
to_chat(src, "<span class='warning'>You can't commit suicide here! You can ghost if you'd like.</span>")
return
switch(stat)
if(CONSCIOUS)
return TRUE