/tg/ Station 13 - Modules - Types

code/modules/mapping/mapping_helpers.dm

/obj/effect/mapping_errorUsed for marking mapping errors. These should only be created by cases explicitly caught by unit tests, and should NEVER actually appear in production.
/obj/effect/mapping_helpers/atom_injectorHelpers used for injecting stuff into atoms on the map.
/obj/effect/mapping_helpers/atom_injector/component_injectorThis helper applies components to things on the map directly.
/obj/effect/mapping_helpers/atom_injector/element_injectorThis helper applies elements to things on the map directly.
/obj/effect/mapping_helpers/atom_injector/trait_injectorThis helper applies traits to things on the map directly.
/obj/effect/mapping_helpers/atom_injector/human_icon_injectorThis helper applies dynamic human icons to things on the map
/obj/effect/mapping_helpers/atom_injector/custom_iconFetches an external dmi and applies to the target object
/obj/effect/mapping_helpers/atom_injector/custom_soundFetches an external sound and applies to the target object
/obj/effect/mapping_helpers/trapdoor_placer
/obj/effect/mapping_helpers/broken_machineApplies BROKEN flag to the first found machine on a tile
/obj/effect/mapping_helpers/damaged_windowDeals random damage to the first window found on a tile to appear cracked
/obj/effect/mapping_helpers/bombable_wallApply to a wall (or floor, technically) to ensure it is instantly destroyed by any explosion, even if usually invulnerable
/obj/effect/mapping_helpers/mob_bucklerthis helper buckles all mobs on the tile to the first buckleable object
/obj/effect/mapping_helpers/basic_mob_flagsBasic mob flag helpers for things like deleting on death.
/obj/effect/mapping_helpers/no_tele_turfUsed to prevent things from teleporting on (but not off) the turf through most means that do not call do_teleport() with the forced arg set to TRUE. The trait is removed if the turf is changed, so you should only keep it on small sections with indestructible turfs, ideally corners surrounded by other inaccessible walls. For larger sections, consider using areas with NO_TELEPORT or LOCAL_TELEPORT flags instead.