Files
Paradise/code/__DEFINES/mod.dm
kyunkyunkyun 5b7b94a5c1 MODSuit clothing icon files can be overridden by its skin (#29598)
* support downstream's modsuits

* why would i do that

* fix runtime

* use existing helper

* fix that one existing helper that is unused cos it's broken

* update
2025-11-05 16:44:08 +00:00

54 lines
1.9 KiB
Plaintext

/// Default value for the max_complexity var on MODsuits
#define DEFAULT_MAX_COMPLEXITY 15
/// Default cell drain per process on MODsuits
#define DEFAULT_CHARGE_DRAIN 5
/// Default time for a part to seal
#define MOD_ACTIVATION_STEP_TIME (2 SECONDS)
/// Passive module, just acts when put in naturally.
#define MODULE_PASSIVE 0
/// Usable module, does something when you press a button.
#define MODULE_USABLE 1
/// Toggle module, you turn it on/off and it does stuff.
#define MODULE_TOGGLE 2
/// Actively usable module, you may only have one selected at a time.
#define MODULE_ACTIVE 3
/// This module can be used while incapacitated
#define MODULE_ALLOW_INCAPACITATED (1<<1)
/// This module can be used while the suit is off
#define MODULE_ALLOW_INACTIVE (1<<2)
//Defines used by the theme for clothing flags and similar
#define CONTROL_LAYER "control_layer"
#define HELMET_FLAGS "helmet_flags"
#define CHESTPLATE_FLAGS "chestplate_flags"
#define GAUNTLETS_FLAGS "gauntlets_flags"
#define BOOTS_FLAGS "boots_flags"
#define UNSEALED_LAYER "unsealed_layer"
#define UNSEALED_CLOTHING "unsealed_clothing"
#define SEALED_CLOTHING "sealed_clothing"
#define UNSEALED_INVISIBILITY "unsealed_invisibility"
#define SEALED_INVISIBILITY "sealed_invisibility"
#define UNSEALED_COVER "unsealed_cover"
#define SEALED_COVER "sealed_cover"
#define CAN_OVERSLOT "can_overslot"
// Flags for skin modifiers
#define MAKE_SPACEPROOF (1<<0)
// Defines used to override MOD clothing's icon, worn icon and sprite sheets files in the skin.
#define MOD_ICON_OVERRIDE "mod_icon_override"
#define MOD_WORN_ICON_OVERRIDE "mod_worn_icon_override"
#define MOD_SPRITE_SHEETS_OVERRIDE "mod_sprite_sheets_override"
#define HELMET_SPRITE_SHEETS "helmet_sprite_sheets"
#define CHESTPLATE_SPRITE_SHEETS "chestplate_sprite_sheets"
#define GAUNTLETS_SPRITE_SHEETS "gauntlets_sprite_sheets"
#define BOOTS_SPRITE_SHEETS "boots_sprite_sheets"