loadout

Vars | |
item_list | Assoc list of all visible items composing this loadout the key of each item is a slot key each item of the list is a datum/item_representation |
---|---|
job | The job associated with the loadout |
loadout_vendor | The host of the loadout_manager, aka from which loadout vendor are you managing loadouts |
name | Name of the loadout |
version | The version of this loadout |
Procs | |
can_equip_to_slot | Check if the item can go to the specified slot |
empty_slot | Empty a slot of the loadout |
equip_mob | This will equip the mob with all items of the loadout. user : the mob to dress |
prepare_items_data | Create all the necessary data (icons, name of items) from the loadout, and put them in an assoc list to be used by tgui |
save_mob_loadout | This will read all items on the mob, and if the item is supported by the loadout maker, will save it in the corresponding slot An item is supported if it's path |
Var Details
item_list

Assoc list of all visible items composing this loadout the key of each item is a slot key each item of the list is a datum/item_representation
job

The job associated with the loadout
loadout_vendor

The host of the loadout_manager, aka from which loadout vendor are you managing loadouts
name

Name of the loadout
version

The version of this loadout
Proc Details
can_equip_to_slot
Check if the item can go to the specified slot
empty_slot
Empty a slot of the loadout
equip_mob
This will equip the mob with all items of the loadout. user : the mob to dress
prepare_items_data
Create all the necessary data (icons, name of items) from the loadout, and put them in an assoc list to be used by tgui
save_mob_loadout
This will read all items on the mob, and if the item is supported by the loadout maker, will save it in the corresponding slot An item is supported if it's path