update, bitflags.

This commit is contained in:
Ghommie
2019-07-23 07:21:03 +02:00
parent 3bd0ba0275
commit fd2f2ae1af
7 changed files with 32 additions and 26 deletions
+3 -1
View File
@@ -25,7 +25,9 @@
#define GENITAL_LAYER_INDEX_LENGTH 4 //keep it updated with each new index added, thanks.
#define MASTURBATE_LINKED_ORGAN 2 //special value used to pass our mission to the linked organ
//genital flags
#define GENITAL_BLACKLISTED (1 << 0) //for genitals that shouldn't be added to GLOB.genitals_list.
#define MASTURBATE_LINKED_ORGAN (1<<1) //used to pass our mission to the linked organ
#define COCK_SIZE_MIN 1
#define COCK_SIZE_MAX 20
+2 -1
View File
@@ -64,7 +64,8 @@
for(var/gpath in subtypesof(/obj/item/organ/genital))
var/obj/item/organ/genital/G = gpath
GLOB.genitals_list[initial(G.name)] = gpath
if(!CHECK_BITFIELD(initial(G.genital_flags), GENITAL_BLACKLISTED))
GLOB.genitals_list[initial(G.name)] = gpath
//END OF CIT CHANGES
//Species