update, bitflags.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user