SS1984 - Modules - TypesDefine Details

code/__HELPERS/global_lists.dm

/proc/init_subtypesCreates every subtype of a given prototype (excluding the prototype itself) and adds them to a list
/proc/init_datum_subtypesCreates every subtype of a given prototype (excluding the prototype itself and specified exceptions) and adds them to an associative list using a specified variable as the key
/proc/init_emote_listInitializes and returns an associative list of emote keys to their corresponding emote datums
/proc/init_uplink_items_listInitializes and returns a list of all uplink items by creating instances of each uplink item subtype that has a defined initial item.
EQUIPMENTUse this define to register something as a purchasable!
/proc/update_config_movespeed_type_lookupUpdates the global mob type to movespeed multiplier lookup table from configuration and optionally updates all existing mobs with the new movespeeds
/proc/update_mob_config_movespeedsUpdates the movement speed for all mobs in the game based on current configuration settings. This iterates through all mobs in the mob list and updates their movement speed.
/proc/init_slotmachine_prizesInitializes the list of slot machine prizes by filtering uplink items and creating prize datums
/proc/init_item_skinsInitializes and returns a list of all item skins by creating instances of each item skin subtype that has a defined name.
/proc/add_item_skinAdds an item skin to the skins list, organizing by item path

Define Details

EQUIPMENT

Use this define to register something as a purchasable!

Arguments: