mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[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:
co-authored by
ラッピ from PSO2
parent
b08753f50a
commit
7af27992b5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user