SS1984 - Modules - TypesDefine Details

code/__DEFINES/_atoms.dm

LOOT_ICON_ICON_TO_HTMLCheap render via icon2html(). Default for plain atoms with a simple, file-backed icon.
LOOT_ICON_FLAT_ICONExpensive flat render via flat_icon2html(), unique per instance. For appearances that vary per instance (mobs, silicons, ghosts) so each preview reflects that specific object.
LOOT_ICON_FLAT_ICON_TYPE_CACHABLEFlat render shared across all instances of a type, cached by typepath in /datum/search_object/var/icon_cache. For complex but type-uniform icons (e.g. many overlays).

Define Details

LOOT_ICON_FLAT_ICON

Expensive flat render via flat_icon2html(), unique per instance. For appearances that vary per instance (mobs, silicons, ghosts) so each preview reflects that specific object.

LOOT_ICON_FLAT_ICON_TYPE_CACHABLE

Flat render shared across all instances of a type, cached by typepath in /datum/search_object/var/icon_cache. For complex but type-uniform icons (e.g. many overlays).

LOOT_ICON_ICON_TO_HTML

Cheap render via icon2html(). Default for plain atoms with a simple, file-backed icon.