byond - Modules - TypesVar Details

lasrifle

Vars

ammo_datum_typethe ammo datum this mode is.
burst_amountGives guns a burst amount, editable.
descriptioncodex description
fire_delayhow long it takes between each shot of that mode, same as gun fire delay.
fire_modeUsed to change the gun firemode, like automatic, semi-automatic and burst.
fire_soundThe gun firing sound of this mode
heat_per_fireheat amount per shot
icon_statewhat to change the gun icon_state to when switching to this mode.
message_to_userWhat message it sends to the user when you switch to this mode.
radial_iconWhich icon file the radial menu will use.
radial_icon_stateThe icon state the radial menu will use.
rounds_per_shothow much power the gun uses on this mode when shot.
windup_delaywindup before firing

Var Details

ammo_datum_type

the ammo datum this mode is.

burst_amount

Gives guns a burst amount, editable.

description

codex description

fire_delay

how long it takes between each shot of that mode, same as gun fire delay.

fire_mode

Used to change the gun firemode, like automatic, semi-automatic and burst.

fire_sound

The gun firing sound of this mode

heat_per_fire

heat amount per shot

icon_state

what to change the gun icon_state to when switching to this mode.

message_to_user

What message it sends to the user when you switch to this mode.

radial_icon

Which icon file the radial menu will use.

radial_icon_state

The icon state the radial menu will use.

rounds_per_shot

how much power the gun uses on this mode when shot.

windup_delay

windup before firing