/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/is_helpers.dm

IN_GIVEN_RANGEWithin given range and on the same z level (get dist is WEIRD bro)
is_anchorable_floorCan this turf have machines anchored to it
isabductorHuman sub-species checks. NOTE: our long term objective is to move away from hardcoded species checks in favor of traits, components, organs and bodyparts! It's more reusable and modulable code overall. If you think you're better off using traits etc. in place of an is_species check, then do just that.
HAS_SILICON_ACCESSThis is used to see if you have Silicon access. This includes things like Admins, Drones, Bots, and Human wands.
HAS_AI_ACCESSThis is used to see if you have the access of an AI. This doesn't mean you are an AI, just have the same access as one.
isanimal_or_basicmobreturns whether or not the atom is either a basic mob OR simple animal
isminingasteroid mobs, which are both simple and basic atm

Define Details

HAS_AI_ACCESS

This is used to see if you have the access of an AI. This doesn't mean you are an AI, just have the same access as one.

HAS_SILICON_ACCESS

This is used to see if you have Silicon access. This includes things like Admins, Drones, Bots, and Human wands.

IN_GIVEN_RANGE

Within given range and on the same z level (get dist is WEIRD bro)

is_anchorable_floor

Can this turf have machines anchored to it

isabductor

Human sub-species checks. NOTE: our long term objective is to move away from hardcoded species checks in favor of traits, components, organs and bodyparts! It's more reusable and modulable code overall. If you think you're better off using traits etc. in place of an is_species check, then do just that.

isanimal_or_basicmob

returns whether or not the atom is either a basic mob OR simple animal

ismining

asteroid mobs, which are both simple and basic atm