Space Station 13 - Modules - TypesVar Details - Proc Details

two_handed

Two Handed Component

When applied to an item it will make it two handed

Vars

attacksoundPlay sound on attack when wielded
force_multiplierThe multiplier applied to force when wielded, does not work with force_wielded, and force_unwielded
force_unwieldedThe force of the item when unweilded
force_wieldedThe force of the item when weilded
icon_wieldedThe icon that will be used when wielded
offhand_itemReference to the offhand created for the item
only_sharp_when_wieldedWhether or not the object is only sharp when wielded. If it's never sharp, ignore this.
require_twohandsDoes it have to be held in both hands
sharpened_increaseThe amount of increase recived from sharpening the item
unwield_callbackA callback on the parent to be called when the item is unwielded
unwieldsoundPlay sound when unwielded
wield_callbackA callback on the parent to be called when the item is wielded
wieldedAre we holding the two handed item properly
wieldsoundPlay sound when wielded

Procs

InitializeTwo Handed component
on_attackon_attack triggers on attack with the parent item
on_attack_selfTriggered on attack self of the item containing the component
on_destroyTriggered on destroy of the component's offhand
on_dropTriggered on drop of item containing the component
on_equipTriggered on equip of the item containing the component
on_movedon_moved Triggers on item moved
on_sharpenon_sharpen Triggers on usage of a sharpening stone on the item
on_swapping_handson_swap_hands Triggers on swapping hands, blocks swap if the other hand is busy
on_update_iconon_update_icon triggers on call to update parent items icon
unwieldUnwield the two handed item
wieldWield the two handed item in both hands

Var Details

attacksound

Play sound on attack when wielded

force_multiplier

The multiplier applied to force when wielded, does not work with force_wielded, and force_unwielded

force_unwielded

The force of the item when unweilded

force_wielded

The force of the item when weilded

icon_wielded

The icon that will be used when wielded

offhand_item

Reference to the offhand created for the item

only_sharp_when_wielded

Whether or not the object is only sharp when wielded. If it's never sharp, ignore this.

require_twohands

Does it have to be held in both hands

sharpened_increase

The amount of increase recived from sharpening the item

unwield_callback

A callback on the parent to be called when the item is unwielded

unwieldsound

Play sound when unwielded

wield_callback

A callback on the parent to be called when the item is wielded

wielded

Are we holding the two handed item properly

wieldsound

Play sound when wielded

Proc Details

Initialize

Two Handed component

vars:

on_attack

on_attack triggers on attack with the parent item

on_attack_self

Triggered on attack self of the item containing the component

on_destroy

Triggered on destroy of the component's offhand

on_drop

Triggered on drop of item containing the component

on_equip

Triggered on equip of the item containing the component

on_moved

on_moved Triggers on item moved

on_sharpen

on_sharpen Triggers on usage of a sharpening stone on the item

on_swapping_hands

on_swap_hands Triggers on swapping hands, blocks swap if the other hand is busy

on_update_icon

on_update_icon triggers on call to update parent items icon

Updates the icon using icon_wielded if set

unwield

Unwield the two handed item

vars:

wield

Wield the two handed item in both hands

vars: