Shiptest 13 - Modules - TypesVar Details

attachment

Vars

actionsUnused...Also a little broken..
attach_features_flagsvarious yes no flags associated with attachments. See defines for these: [_DEFINES/guns.dm]
attachment_toggle_actionGenerated if the attachment can toggle, sends COMSIG_ATTACHMENT_TOGGLE
on_preattackCalled on the parents preattack
slotSlot the attachment goes on, also used in descriptions so should be player readable
valid_parent_typesUnused so far, should probally handle it in the parent unless you have a specific reason

Var Details

actions

Unused...Also a little broken..

attach_features_flags

various yes no flags associated with attachments. See defines for these: [_DEFINES/guns.dm]

attachment_toggle_action

Generated if the attachment can toggle, sends COMSIG_ATTACHMENT_TOGGLE

on_preattack

Called on the parents preattack

slot

Slot the attachment goes on, also used in descriptions so should be player readable

valid_parent_types

Unused so far, should probally handle it in the parent unless you have a specific reason