Space Station 13 - Modules - TypesProc Details

ammo_magazine

Procs

can_load_casingChecks if the casing can be loaded into this magazine. Provides user feedback messages on failure.
dump_all_casingsAttempts to dump all casings into target. Provides user feedback on failure.
load_casing
remove_casingRemoves the last casing from the magazine. Provides user feedback on failure.

Proc Details

can_load_casing

Checks if the casing can be loaded into this magazine. Provides user feedback messages on failure.

Does not include unequip checks by default, as this is intended to be usable in cases those checks would be invalid.

Parameters:

Returns boolean.

dump_all_casings

Attempts to dump all casings into target. Provides user feedback on failure.

Parameters:

Returns a list of the removed casings, or FALSE.

load_casing

remove_casing

Removes the last casing from the magazine. Provides user feedback on failure.

Either user or target can be provided, the proc will function either way.

Parameters:

Returns the removed casing.