Shiptest 13 - Modules - TypesDefine Details

code/__DEFINES/machines.dm

AREA_USAGE_DYNAMIC_STARTIndex of the first dynamic usage channel
AREA_USAGE_DYNAMIC_ENDIndex of the last dynamic usage channel
AREA_USAGE_STATIC_STARTIndex of the first static usage channel
AREA_USAGE_STATIC_ENDIndex of the last static usage channel
START_PROCESSING_ON_INITBitflags for a machine's preferences on when it should start processing. For use with machinery's processing_flags var. Indicates the machine will automatically start processing right after it's Initialize() is ran.
START_PROCESSING_MANUALLYMachines with this flag will not start processing when it's spawned. Use this if you want to manually control when a machine starts processing.
PLANT_GENE_REMOVABLE-- Flags for genes -- Plant genes that can be removed via gene shears.
PLANT_GENE_MUTATABLEPlant genes that can be mutated randomly in strange seeds / due to high instability.
TRAIT_HALVES_YIELD-- Flags for traits. -- Caps the plant's yield at 5 instead of 10.
CLICKSOUND_INTERVALclicky noises, how much time needed in between clicks on the machine for the sound to play on click again.
TURRET_FLAG_SHOOT_DANGEROUS_ONLYONLY shoots at mobs who match the rest of the flags and have weaponry/are otherwise dangerous
TURRET_FLAG_SHOOT_RETALIATEWill shoot at things that shoot at it
TURRET_FLAG_SHOOT_FAUNAWill shoot at things that aren't human
TURRET_FLAG_SHOOT_HUMANSWill shoot at humans
TURRET_FLAG_SHOOT_SILICONSWill shoot at silicons
TURRET_FLAG_SHOOT_ALLMOBSWill shoot at any kind of mob
TURRET_FLAG_SHOOT_NONFACTIONWill only shoot at things that AREN'T in the turret's set faction
TURRET_FLAG_SHOOT_SPECIFIC_FACTIONWill only shoot at things that ARE in the turret's set faction
TURRET_FLAG_DEFAULTWill totally ignore targets' factions - the same as not setting the above two flags

Define Details

AREA_USAGE_DYNAMIC_END

Index of the last dynamic usage channel

AREA_USAGE_DYNAMIC_START

Index of the first dynamic usage channel

AREA_USAGE_STATIC_END

Index of the last static usage channel

AREA_USAGE_STATIC_START

Index of the first static usage channel

CLICKSOUND_INTERVAL

clicky noises, how much time needed in between clicks on the machine for the sound to play on click again.

PLANT_GENE_MUTATABLE

Plant genes that can be mutated randomly in strange seeds / due to high instability.

PLANT_GENE_REMOVABLE

-- Flags for genes -- Plant genes that can be removed via gene shears.

START_PROCESSING_MANUALLY

Machines with this flag will not start processing when it's spawned. Use this if you want to manually control when a machine starts processing.

START_PROCESSING_ON_INIT

Bitflags for a machine's preferences on when it should start processing. For use with machinery's processing_flags var. Indicates the machine will automatically start processing right after it's Initialize() is ran.

TRAIT_HALVES_YIELD

-- Flags for traits. -- Caps the plant's yield at 5 instead of 10.

TURRET_FLAG_DEFAULT

Will totally ignore targets' factions - the same as not setting the above two flags

TURRET_FLAG_SHOOT_ALLMOBS

Will shoot at any kind of mob

TURRET_FLAG_SHOOT_DANGEROUS_ONLY

ONLY shoots at mobs who match the rest of the flags and have weaponry/are otherwise dangerous

TURRET_FLAG_SHOOT_FAUNA

Will shoot at things that aren't human

TURRET_FLAG_SHOOT_HUMANS

Will shoot at humans

TURRET_FLAG_SHOOT_NONFACTION

Will only shoot at things that AREN'T in the turret's set faction

TURRET_FLAG_SHOOT_RETALIATE

Will shoot at things that shoot at it

TURRET_FLAG_SHOOT_SILICONS

Will shoot at silicons

TURRET_FLAG_SHOOT_SPECIFIC_FACTION

Will only shoot at things that ARE in the turret's set faction