Invasion of the moffs (#17000)

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: mochi <1496804+dearmochi@users.noreply.github.com>
This commit is contained in:
S34N
2022-02-23 20:37:37 +01:00
committed by GitHub
co-authored by AffectedArc07 mochi
parent 1aa4222695
commit a5bc67cd43
55 changed files with 880 additions and 161 deletions
+4
View File
@@ -2,6 +2,7 @@
#define AB_CHECK_STUNNED 2
#define AB_CHECK_LYING 4
#define AB_CHECK_CONSCIOUS 8
#define AB_CHECK_TURF 16
/datum/action
@@ -83,6 +84,9 @@
if(check_flags & AB_CHECK_CONSCIOUS)
if(owner.stat)
return FALSE
if(check_flags & AB_CHECK_TURF)
if(!isturf(owner.loc))
return FALSE
return TRUE
/datum/action/proc/UpdateButtonIcon()