byond - Modules - TypesVar Details

/obj/item/weapon/gun/launcher/grenade

Vars

disallowed_grenade_typesVerboten munitions. This is a blacklist. Anything in this list isn't loadable.
is_lobbingDoes it launch its grenades in a low arc or a high? Do they strike people in their path, or fly beyond?
open_chamberCan you access the storage by clicking it, put things into it, or take things out? Meant for break-actions mostly but useful for any state where you want access to be toggleable. Make sure to call cylinder.close(user) so they don't still have the screen open!
valid_munitionsWhat is this weapon permitted to fire? This is a whitelist. Anything in this list can be fired. Anything.

Var Details

disallowed_grenade_types

Verboten munitions. This is a blacklist. Anything in this list isn't loadable.

is_lobbing

Does it launch its grenades in a low arc or a high? Do they strike people in their path, or fly beyond?

open_chamber

Can you access the storage by clicking it, put things into it, or take things out? Meant for break-actions mostly but useful for any state where you want access to be toggleable. Make sure to call cylinder.close(user) so they don't still have the screen open!

valid_munitions

What is this weapon permitted to fire? This is a whitelist. Anything in this list can be fired. Anything.