implements isfood helper

This commit is contained in:
timothyteakettle
2020-04-17 01:45:15 +01:00
parent aa6d6883e3
commit a4cc54781f
7 changed files with 8 additions and 6 deletions
+2
View File
@@ -240,6 +240,8 @@ GLOBAL_LIST_INIT(pointed_types, typecacheof(list(
#define isgun(A) (istype(A, /obj/item/gun))
#define isfood(A) (istype(A, /obj/item/reagent_containers/food))
//Assemblies
#define isassembly(O) (istype(O, /obj/item/assembly))