byond - Modules - TypesDefine Details

code/__DEFINES/xeno.dm

XENO_STRUCT_WARNING_RADIUSStructure will warn when hostiles are nearby
XENO_STRUCT_DAMAGE_ALERTStructure will warn when damaged
UPGRADE_FLAG_MESSAGE_HIVEMessage the hive when we buy this upgrade
HEAL_XENO_DAMAGEHeals a xeno, respecting different types of damage
adjustOverhealAdjusts overheal and returns the amount by which it was adjusted
NO_ERRORUsed by the is_valid_for_resin_structure proc. 0 is considered valid , anything thats not 0 is false Simply not allowed by the area to build
ERROR_NO_WEEDNo weeds here, but it is weedable
ERROR_CANT_WEEDArea is not weedable
ERROR_FOGGamemode-fog prevents spawn-building
ERROR_BLOCKERBlocked by a xeno
ERROR_NO_SUPPORTNo adjaecent wall or door tile
ERROR_CONSTRUCTFailed to other blockers such as egg, power plant , coocon , traps
XENO_HUD_ICON_BUCKETSNumber of icon states to show health and plasma on the side UI buttons
XENO_PER_SECOND_LIFE_MODLife runs every 2 seconds, but we don't want to multiply all healing by 2 due to seconds_per_tick
XENO_STRUCTURE_HEALTH_ALERT_COOLDOWNHow frequently the damage alert can go off
XENO_STRUCTURE_DETECTION_COOLDOWNHow frequently the proximity alert can go off
XENO_STRUCTURE_DETECTION_RANGEProxy detection radius

Define Details

ERROR_BLOCKER

Blocked by a xeno

ERROR_CANT_WEED

Area is not weedable

ERROR_CONSTRUCT

Failed to other blockers such as egg, power plant , coocon , traps

ERROR_FOG

Gamemode-fog prevents spawn-building

ERROR_NO_SUPPORT

No adjaecent wall or door tile

ERROR_NO_WEED

No weeds here, but it is weedable

HEAL_XENO_DAMAGE

Heals a xeno, respecting different types of damage

NO_ERROR

Used by the is_valid_for_resin_structure proc. 0 is considered valid , anything thats not 0 is false Simply not allowed by the area to build

UPGRADE_FLAG_MESSAGE_HIVE

Message the hive when we buy this upgrade

XENO_HUD_ICON_BUCKETS

Number of icon states to show health and plasma on the side UI buttons

XENO_PER_SECOND_LIFE_MOD

Life runs every 2 seconds, but we don't want to multiply all healing by 2 due to seconds_per_tick

XENO_STRUCTURE_DETECTION_COOLDOWN

How frequently the proximity alert can go off

XENO_STRUCTURE_DETECTION_RANGE

Proxy detection radius

XENO_STRUCTURE_HEALTH_ALERT_COOLDOWN

How frequently the damage alert can go off

XENO_STRUCT_DAMAGE_ALERT

Structure will warn when damaged

XENO_STRUCT_WARNING_RADIUS

Structure will warn when hostiles are nearby

adjustOverheal

Adjusts overheal and returns the amount by which it was adjusted