Space Station 13 - Modules - TypesVar Details - Proc Details

item

Vars

armour_penetration_flatFlat armour reduction, occurs after percentage armour penetration.
armour_penetration_percentagePercentage armour reduction, happens before flat armour reduction.
attack_effect_overrideAllows you to override the attack animation with an attack effect
drop_soundSound uses when dropping the item, or when its thrown.
equip_soundSound used when equipping the item into a valid slot
hit_reaction_chanceUsed to give a reaction chance on hit that is not a block. If less than 0, will remove the block message, allowing overides.
hitsoundSound played when you hit something with the item
in_storageIs this item inside a storage object?
item_stateThe icon state used to display the item in your inventory. If null then the icon_state value itself will be used
mob_throw_hit_soundUsed when yate into a mob
outline_filterHolder var for the item outline filter, null when no outline filter on the item.
pickup_soundSound uses when picking the item up (into your hands)
reachIn tiles, how far this weapon can reach; 1 for adjacent, which is default
stealthy_audioWhether or not we use stealthy audio levels for this item's attack sounds
thrownbyUID of a /mob
usesoundPlayed when the item is used, for example tools

Procs

can_enter_storageCalled to check if this item can be put into a storage item.
cyborg_rechargeCalled on cyborg items that need special charging behavior. Override as needed for specific items.
droppedCalled when a mob drops an item.
is_robot_moduleChecks whether this item is a module of the robot it is located in.

Var Details

armour_penetration_flat

Flat armour reduction, occurs after percentage armour penetration.

armour_penetration_percentage

Percentage armour reduction, happens before flat armour reduction.

attack_effect_override

Allows you to override the attack animation with an attack effect

drop_sound

Sound uses when dropping the item, or when its thrown.

equip_sound

Sound used when equipping the item into a valid slot

hit_reaction_chance

Used to give a reaction chance on hit that is not a block. If less than 0, will remove the block message, allowing overides.

hitsound

Sound played when you hit something with the item

in_storage

Is this item inside a storage object?

item_state

The icon state used to display the item in your inventory. If null then the icon_state value itself will be used

mob_throw_hit_sound

Used when yate into a mob

outline_filter

Holder var for the item outline filter, null when no outline filter on the item.

pickup_sound

Sound uses when picking the item up (into your hands)

reach

In tiles, how far this weapon can reach; 1 for adjacent, which is default

stealthy_audio

Whether or not we use stealthy audio levels for this item's attack sounds

thrownby

UID of a /mob

usesound

Played when the item is used, for example tools

Proc Details

can_enter_storage

Called to check if this item can be put into a storage item.

Return FALSE if src can't be inserted, and TRUE if it can. Arguments:

cyborg_recharge

Called on cyborg items that need special charging behavior. Override as needed for specific items.

dropped

Called when a mob drops an item.

is_robot_module

Checks whether this item is a module of the robot it is located in.